joho68
Forum Replies Created
-
Forum: Plugins
In reply to: [Fail2WP] Question for the FAQHi there,
It won’t do IP-blocking (yet) without fail2ban available on the server. But it does provide quite a few settings that changes the security aspects of WordPress, including unnecessary information disclosure.
I’m looking to add IP-blocking without fail2ban for version 1.3.0 or 1.4.0.
I have just released 1.2.5, which is now compatible with versions 7.4, 8.1, 8.2, 8.3, and 8.4.
Forum: Plugins
In reply to: [WP Cron Pixie] Minimum PHP version (breaks 7.4)?Great! Yes, that seems to fix the issue.
Forum: Plugins
In reply to: [WP Cron Pixie] Minimum PHP version (breaks 7.4)?This error occurs due to the
bool|WP_Errorreturn construct for several functions in that file. AFAIK, this style of function declaration isn’t compatible with PHP 7.4.Forum: Plugins
In reply to: [Cloudbridge Mattermost] Embedding Mattermost plugin in my page?You’re welcome. I’ll be here if you have further questions.
Forum: Plugins
In reply to: [Cloudbridge Mattermost] Embedding Mattermost plugin in my page?Hello Rebecca, and thank you for reaching out.
I don’t believe the question is stupid. But to be clear, the Cloudbridge Mattermost plugin does not enable embedded Mattermost functionality on your WordPress site.
The plugin interacts and interfaces with Mattermost in two ways:
- To get notifications in Mattermost when something happens on WordPress sites
- To allow logins to WordPress to be authenticated by Mattermost
I hope this clarifies things.
Forum: Plugins
In reply to: [EasyMap] Initial 1.0.0 issuesThe errors have indeed been corrected in 1.0.1, and now 1.1.0 is out.
Forum: Fixing WordPress
In reply to: Options page XXX not found in the allowed options listThe error is triggered here:
if ( ! isset( $allowed_options[ $option_page ] ) ) { wp_die( sprintf( /* translators: %s: The options page name. */ __( '<strong>Error</strong>: Options page %s not found in the allowed options list.' ), '<code>' . esc_html( $option_page ) . '</code>' ) ); }in wp-admin/options.php
Forum: Developing with WordPress
In reply to: add_action(‘wp_ajax_nopriv_abc_def’) failsYes, I know. And that’s what I’ve done. I just think that this is such a fundamental part of WordPress back-end (so to speak) that it’d make sense to have AJAX_DEBUG as a known define that can be enabled/disabled from wp-config.
Anyway, thanks for all the replies 🙂
Forum: Developing with WordPress
In reply to: add_action(‘wp_ajax_nopriv_abc_def’) failsThanks for the reply.
I’m not entirely sure I agree. One of the first things
admin-ajax.phpdoes is to call theadmin_initaction. After that, it doesis_user_logged_in()and, if true, doeswp_ajax_${action}, if false, it callswp_ajax_nopriv_${action}.My error was a stupid mistake, but nevertheless, it’d be nice if there was special debugging in
admin-ajax.phpthat we could enable, with logging to the PHP standard logfile (as defined elsewhere).Forum: Developing with WordPress
In reply to: Catching weblog_ping() errorsThanks for the response. Well, I needed to have a way to handle possible errors during the ping process (when run by WordPress), but I’ll figure out another way to do what I wanted to do.
I was just surprised not to find a hook/filter for this 🙂
Forum: Developing with WordPress
In reply to: When is WP_REST_Server available?Fair enough. I’ll carry on using this method until I find a better way 🙂 Thanks.
Forum: Developing with WordPress
In reply to: When is WP_REST_Server available?Thanks for responding. But since WP knows when it’s a REST request and when it’s not, it would seem reasonable to expect that some of this is accessible rather early, no? I mean, it has to know about at least namespaces when checking a request, right?
What I’m doing now, in my class, is something like:
if ( $this->my_rest_server == null ) { $this->my_rest_server = rest_get_server(); }and it seems to work like I want/need it to, but I’m not sure it’s the “correct” way of doing it the “WordPress way” 🙂
Hmm … it seems like if I don’t sent total items, or any of the data used by the pagination, it’s not output (the clear break). I can check in a few hours to see if that is what’s happening.
I found one situation where it wouldn’t be set, so that may very well have been the issue.
Forum: Developing with WordPress
In reply to: Up to date admin CSS reference since 5.6Thanks for getting back to me.
For what it’s worth, I think it’d be nice with some sort of reference for available CSS and/or JS functionality already present in Admin. I think it would make for a much better UX and I think it would save a lot of people a lot of time.
They may even (possibly) be able to focus more on fixing bad behavior if they didn’t have to spend time finding out which CSS/JS (library or self-made) they should use for their specific plugin 🙂
Forum: Fixing WordPress
In reply to: Headers already sent in REST API endpoint since 5.6xThanks for responding. I’m aware of these potential issues, but AFAIK, nothing has changed in the plugins involved, and certainly nothing in my own plugin. But I “solved” this by issuing an exit-call in my REST handler (which does the output) as opposed to returning a value. So that’ll have to do for now.
(Another option would, of course, have been to simply have a .php file outside of WordPress’ REST framework.)