Tag Info

New answers tagged

0

You might be suffering from a bug introduced with WordPress 4.3, involving term splitting. There's a hotfix plugin available here: https://wordpress.org/plugins/wp33423-hotfix/


0

Removing / un-scheduling obsolete cron jobs can be achieved using this code snippet. add_action("init", "remove_cron_job"); function remove_cron_job() { wp_clear_scheduled_hook("my_schedule_hook"); } Change the my_schedule_hook to cron’s hook name and add the code in your theme’s function.php file.


0

Yes or using curl */10 * * * * curl http://example.com/wp-cron.php > /dev/null 2>&1 and you can add this to your wp-config define('DISABLE_WP_CRON', true);


0

I found a way around this one. Couldn't make sense of the core trac and it still hasn't been patched even though it's a 4 year old ticket. Here is the code I went with for inserting a custom post. The include_once directive is important here. I should also note that the wp_set_auth_cookie(1) sets access rights for this script to the administrator. If you ...



Top 50 recent answers are included