Ticket #31349: 31349.3.patch
File 31349.3.patch, 8.1 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/common.css
1504 1504 display: none; 1505 1505 } 1506 1506 1507 .metabox-prefs .screen-options { 1508 padding-top: 10px; 1509 } 1510 1511 .metabox-prefs .screen-options input, 1512 .metabox-prefs .screen-options label { 1513 margin-top: 0; 1514 margin-bottom: 0; 1515 vertical-align: middle; 1516 } 1517 1518 .metabox-prefs .screen-options .screen-per-page { 1519 margin-right: 15px; 1520 } 1521 1522 .metabox-prefs .screen-options label { 1523 line-height: 28px; 1524 padding-right: 0; 1525 } 1526 1507 1527 /*------------------------------------------------------------------------------ 1508 1528 6.2 - Help Menu 1509 1529 ------------------------------------------------------------------------------*/ -
src/wp-admin/edit-comments.php
109 109 else 110 110 $title = __('Comments'); 111 111 112 add_screen_option( 'per_page', array( 'label' => _x( 'Comments', 'comments per page (screen options)' )) );112 add_screen_option( 'per_page', array( 'label' => __( 'Number of items per page:' ) ) ); 113 113 114 114 get_current_screen()->add_help_tab( array( 115 115 'id' => 'overview', -
src/wp-admin/edit-tags.php
39 39 $submenu_file = "edit-tags.php?taxonomy=$taxonomy"; 40 40 } 41 41 42 add_screen_option( 'per_page', array( 'label' => $title, 'default' => 20, 'option' => 'edit_' . $tax->name . '_per_page' ) );42 add_screen_option( 'per_page', array( 'label' => __( 'Number of items per page:' ), 'default' => 20, 'option' => 'edit_' . $tax->name . '_per_page' ) ); 43 43 44 44 $location = false; 45 45 -
src/wp-admin/edit.php
165 165 wp_enqueue_script('inline-edit-post'); 166 166 wp_enqueue_script('heartbeat'); 167 167 168 $title = $post_type_object->labels->name;169 170 168 if ( 'post' == $post_type ) { 171 169 get_current_screen()->add_help_tab( array( 172 170 'id' => 'overview', … … 234 232 ); 235 233 } 236 234 237 add_screen_option( 'per_page', array( 'label' => $title, 'default' => 20, 'option' => 'edit_' . $post_type . '_per_page' ) );235 add_screen_option( 'per_page', array( 'label' => __( 'Number of items per page:' ), 'default' => 20, 'option' => 'edit_' . $post_type . '_per_page' ) ); 238 236 239 237 $bulk_counts = array( 240 238 'updated' => isset( $_REQUEST['updated'] ) ? absint( $_REQUEST['updated'] ) : 0, -
src/wp-admin/includes/screen.php
1165 1165 ?> 1166 1166 <div class="screen-options"> 1167 1167 <?php if ( $per_page_label ) : ?> 1168 <label for="<?php echo esc_attr( $option ); ?>"><?php echo $per_page_label; ?></label> 1168 1169 <input type="number" step="1" min="1" max="999" class="screen-per-page" name="wp_screen_options[value]" 1169 1170 id="<?php echo esc_attr( $option ); ?>" maxlength="3" 1170 1171 value="<?php echo esc_attr( $per_page ); ?>" /> 1171 <label for="<?php echo esc_attr( $option ); ?>">1172 <?php echo esc_html( $per_page_label ); ?>1173 </label>1174 1172 <?php endif; 1175 1173 1176 1174 echo get_submit_button( __( 'Apply' ), 'button', 'screen-options-apply', false ); ?> -
src/wp-admin/network/site-themes.php
127 127 } 128 128 129 129 add_thickbox(); 130 add_screen_option( 'per_page', array( 'label' => _ x( 'Themes', 'themes per page (screen options)' ) ) );130 add_screen_option( 'per_page', array( 'label' => __( 'Number of items per page:' ) ) ); 131 131 132 132 $site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) ); 133 133 $title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http ); -
src/wp-admin/network/site-users.php
155 155 exit(); 156 156 } 157 157 158 add_screen_option( 'per_page', array( 'label' => _ x( 'Users', 'users per page (screen options)' ) ) );158 add_screen_option( 'per_page', array( 'label' => __( 'Number of items per page:' ) ) ); 159 159 160 160 $site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) ); 161 161 $title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http ); -
src/wp-admin/network/sites.php
22 22 $title = __( 'Sites' ); 23 23 $parent_file = 'sites.php'; 24 24 25 add_screen_option( 'per_page', array( 'label' => _ x( 'Sites', 'sites per page (screen options)' ) ) );25 add_screen_option( 'per_page', array( 'label' => __( 'Number of items per page:' ) ) ); 26 26 27 27 get_current_screen()->add_help_tab( array( 28 28 'id' => 'overview', -
src/wp-admin/network/themes.php
217 217 218 218 add_thickbox(); 219 219 220 add_screen_option( 'per_page', array( 'label' => _x( 'Themes', 'themes per page (screen options)' )) );220 add_screen_option( 'per_page', array( 'label' => __( 'Number of items per page:' ) ) ); 221 221 222 222 get_current_screen()->add_help_tab( array( 223 223 'id' => 'overview', -
src/wp-admin/network/users.php
224 224 $title = __( 'Users' ); 225 225 $parent_file = 'users.php'; 226 226 227 add_screen_option( 'per_page', array( 'label' => _x( 'Users', 'users per page (screen options)' )) );227 add_screen_option( 'per_page', array( 'label' => __( 'Number of items per page:' ) ) ); 228 228 229 229 get_current_screen()->add_help_tab( array( 230 230 'id' => 'overview', -
src/wp-admin/plugins.php
358 358 wp_enqueue_script('plugin-install'); 359 359 add_thickbox(); 360 360 361 add_screen_option( 'per_page', array( 'label' => _x( 'Plugins', 'plugins per page (screen options)' ), 'default' => 999 ) );361 add_screen_option( 'per_page', array( 'label' => __( 'Number of items per page:' ), 'default' => 999 ) ); 362 362 363 363 get_current_screen()->add_help_tab( array( 364 364 'id' => 'overview', -
src/wp-admin/upload.php
204 204 205 205 wp_enqueue_script( 'media' ); 206 206 207 add_screen_option( 'per_page', array( 'label' => _x( 'Media items', 'items per page (screen options)' )) );207 add_screen_option( 'per_page', array( 'label' => __( 'Number of items per page:' ) ) ); 208 208 209 209 get_current_screen()->add_help_tab( array( 210 210 'id' => 'overview', -
src/wp-admin/users.php
17 17 $title = __('Users'); 18 18 $parent_file = 'users.php'; 19 19 20 add_screen_option( 'per_page', array( 'label' => _x( 'Users', 'users per page (screen options)' )) );20 add_screen_option( 'per_page', array( 'label' => __( 'Number of items per page:' ) ) ); 21 21 22 22 // contextual help - choose Help on the top right of admin panel to preview this. 23 23 get_current_screen()->add_help_tab( array(