Don't allow hiding of save box
git-svn-id: https://develop.svn.wordpress.org/trunk@9704 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e8c6ee06c3
commit
ac4b2040a7
@ -2743,7 +2743,7 @@ function meta_box_prefs($page) {
|
||||
if ( false == $box || ! $box['title'] )
|
||||
continue;
|
||||
// Submit box cannot be hidden
|
||||
if ( 'submitdiv' == $box['id'] )
|
||||
if ( 'submitdiv' == $box['id'] || 'linksubmitdiv' == $box['id'] )
|
||||
continue;
|
||||
$box_id = $box['id'];
|
||||
echo '<label for="' . $box_id . '-hide">';
|
||||
|
Loading…
Reference in New Issue
Block a user