Changeset 8726 for trunk/wp-admin/includes/template.php
- Timestamp:
- 08/25/2008 10:17:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r8720 r8726 1368 1368 $hidden = (array) get_user_option( "meta-box-hidden_$page" ); 1369 1369 1370 echo '<ul class="metabox-prefs">';1371 1370 foreach ( array_keys($wp_meta_boxes[$page]) as $context ) { 1372 1371 foreach ( array_keys($wp_meta_boxes[$page][$context]) as $priority ) { … … 1377 1376 echo '<label for="' . $box_id . '-hide">'; 1378 1377 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"' : '') . ' />'; 1379 echo "{$box['title']}</label> ";1378 echo "{$box['title']}</label>\n"; 1380 1379 } 1381 1380 } 1382 1381 } 1383 echo '</ul>';1384 1382 } 1385 1383 ?>
Note: See TracChangeset
for help on using the changeset viewer.