// Fix: clear post cache after auto-draft creation add_action('wp_insert_post', function($post_id, $post, $update) { if (!$update && $post instanceof WP_Post && $post->post_status === 'auto-draft') { clean_post_cache($post_id); wp_cache_delete($post_id, 'posts'); wp_cache_delete($post_id, 'post_meta'); } }, 10, 3);
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.