diff --git a/inc/theme-article.php b/inc/theme-article.php index 56b0000..c67e7b0 100644 --- a/inc/theme-article.php +++ b/inc/theme-article.php @@ -423,7 +423,7 @@ function post_seo_callback( $post ) { function wpdocs_save_meta_box( $post_id ) { global $new_meta_boxes; - if ( !wp_verify_nonce( $_POST['metaboxes_nonce'], plugin_basename(__FILE__) )) + if ( empty( $_POST['metaboxes_nonce'] )||!wp_verify_nonce( $_POST['metaboxes_nonce'], plugin_basename(__FILE__) )) return; if ( !current_user_can( 'edit_posts', $post_id ))