Changeset 10987 for trunk/wp-admin/includes/template.php
- Timestamp:
- 04/17/2009 12:46:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r10970 r10987 3395 3395 ?> 3396 3396 <div id="screen-options-wrap" class="hidden"> 3397 <form id="adv-settings" action="" method=" get">3397 <form id="adv-settings" action="" method="post"> 3398 3398 <h5><?php _e('Show on screen') ?></h5> 3399 3399 <div class="metabox-prefs"> … … 3560 3560 $return .= "<div class='screen-options'>\n"; 3561 3561 if ( !empty($per_page_label) ) 3562 $return .= "<label for='$option'>$per_page_label</label> <input type='text' class='screen-per-page' name='$option' id='$option' maxlength='3' value='$per_page' />\n"; 3562 $return .= "<label for='$option'>$per_page_label</label> <input type='text' class='screen-per-page' name='wp_screen_options[value]' id='$option' maxlength='3' value='$per_page' />\n"; 3563 $return .= "<input type='submit' class='button' value='" . __('Apply') . "' />"; 3564 $return .= "<input type='hidden' name='wp_screen_options[option]' value='$option' />"; 3563 3565 $return .= "</div>\n"; 3564 3566 return $return;
Note: See TracChangeset
for help on using the changeset viewer.