Change meta-box-hidden to metaboxhidden to adjust for new key sanitization rules and maintain the same key name as 2.9. fixes #13032

git-svn-id: http://svn.automattic.com/wordpress/trunk@14113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2010-04-16 17:44:38 +00:00
parent 06d1f0b78f
commit e9dae8c287
3 changed files with 4 additions and 4 deletions

View File

@@ -1007,7 +1007,7 @@ case 'closed-postboxes' :
if ( is_array($hidden) ) {
$hidden = array_diff( $hidden, array('submitdiv', 'linksubmitdiv', 'manage-menu', 'create-menu') ); // postboxes that are always shown
update_user_option($user->ID, "meta-box-hidden_$page", $hidden, true);
update_user_option($user->ID, "metaboxhidden_$page", $hidden, true);
}
die('1');