Changeset 12632 for trunk/wp-admin/ms-options.php
- Timestamp:
- 01/07/2010 04:27:46 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-options.php
r12627 r12632 281 281 <?php 282 282 $menu_perms = get_site_option( "menu_items" ); 283 $menu_items = apply_filters( 'mu_menu_items', array('plugins' => __('Plugins')) ); 283 $menu_items = apply_filters( 'mu_menu_items', array('plugins' => __('Plugins')) ); 284 284 foreach ( (array) $menu_items as $key => $val ) { 285 285 echo "<tr><th scope='row'>" . wp_specialchars($val) . "</th><td><input type='checkbox' name='menu_items[" . $key . "]' value='1'" . (( $menu_perms[$key] == '1' ) ? ' checked="checked"' : '') . " /></td></tr>";
Note: See TracChangeset
for help on using the changeset viewer.