From 5323ba1f1f53a31c0311c7dfb9f2e39c11c22eea Mon Sep 17 00:00:00 2001 From: Seaton Jiang Date: Mon, 21 Sep 2020 12:01:20 +0800 Subject: [PATCH] fix: seo configuration not being saved (#284) --- inc/theme-article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/theme-article.php b/inc/theme-article.php index 0e50108..56b0000 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( isset($_POST['metaboxes_nonce']), plugin_basename(__FILE__) )) + if ( !wp_verify_nonce( $_POST['metaboxes_nonce'], plugin_basename(__FILE__) )) return; if ( !current_user_can( 'edit_posts', $post_id ))