fix: seo configuration not being saved (#284)

pull/292/head
Seaton Jiang 2020-09-21 12:01:20 +08:00
parent 19d1f66523
commit 5323ba1f1f
No known key found for this signature in database
GPG Key ID: C1086BAE716FF138
1 changed files with 1 additions and 1 deletions

View File

@ -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 ))