Conflict with Genesis themes
-
Just noticed Genesis was not saving SEO meta items from the edit page/post view.
Trial and error pinpointed conflict with WP Cron Control.
Disable WP Cron Control then Genesis SEO meta will save again.
I read the other forum post about a similar problem with WP RSS Aggregator plugin.
That forum post suggested an issue with DOING_CRON
line 319 of wp-cron-control.php
define( 'DOING_CRON', true );
may be the problem.
It seems to be defining DOING_CRON to TRUE for ALL requests.
It seems logical that you would only want to define DOING_CRON to TRUE for requests with the secret key, not every request.In the Genesis code at line 259 of genesis\lib\functions\options.php
in the genesis_save_custom_fields() function
is a check for DOING_CRON being TRUEif ( defined( 'DOING_CRON' ) && DOING_CRON ) { return; }
So nothing is saved if DOING_CRON is TRUE.
Same situation occurs in WP RSS Aggregator plugin.
On line 328 of wp-rss-aggregator\includes\admin-metaboxes.php
in the wprss_save_custom_fields() functionif ( defined( 'DOING_CRON' ) && DOING_CRON ) return;
The code is so similar that it must be a boilerplate for saving custom fields.
So is thedefine( 'DOING_CRON', true );
in WP Cron Control really necesary for all requests?At this stage I don’t think it is.
- The topic ‘Conflict with Genesis themes’ is closed to new replies.