Fix Screen Options toggles accidentally broken in [9662]

git-svn-id: https://develop.svn.wordpress.org/trunk@9277 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2008-10-22 06:52:06 +00:00
parent bf0fa494cd
commit d6b8d7128b
2 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -2659,7 +2659,7 @@ function meta_box_prefs($page) {
continue;
$box_id = $box['id'];
echo '<label for="' . $box_id . '-hide">';
echo '<input name="' . $box_id . '-hide" type="checkbox" id="' . $box_id . '-hide" value="' . $box_id . '"' . (! in_array($box_id, $hidden) ? ' checked="checked"' : '') . ' />';
echo '<input class="hide-postbox-tog" name="' . $box_id . '-hide" type="checkbox" id="' . $box_id . '-hide" value="' . $box_id . '"' . (! in_array($box_id, $hidden) ? ' checked="checked"' : '') . ' />';
echo "{$box['title']}</label>\n";
}
}