Ticket #15576: 15576.2.patch
| File 15576.2.patch, 2.3 KB (added by , 15 years ago) |
|---|
-
wp-admin/edit-tags.php
28 28 $submenu_file = "edit-tags.php?taxonomy=$taxonomy"; 29 29 } 30 30 31 add_screen_option( 'per_page', array('label' => $t itle, 'default' => 20, 'option' => 'edit_' . $tax->name . '_per_page') );31 add_screen_option( 'per_page', array('label' => $tax->labels->per_page, 'default' => 20, 'option' => 'edit_' . $tax->name . '_per_page') ); 32 32 33 33 switch ( $wp_list_table->current_action() ) { 34 34 -
wp-admin/edit.php
180 180 ); 181 181 } 182 182 183 add_screen_option( 'per_page', array('label' => $ title, 'default' => 20) );183 add_screen_option( 'per_page', array('label' => $post_type_object->labels->per_page, 'default' => 20) ); 184 184 185 185 require_once('./admin-header.php'); 186 186 ?> -
wp-includes/post.php
1185 1185 'not_found' => array( __('No posts found.'), __('No pages found.') ), 1186 1186 'not_found_in_trash' => array( __('No posts found in Trash.'), __('No pages found in Trash.') ), 1187 1187 'parent_item_colon' => array( null, __('Parent Page:') ), 1188 'per_page' => array( _x('Posts', 'posts per page (screen options)'), _x('Pages', 'pages per page (screen options)') ), 1188 1189 'all_items' => array( __( 'All Posts' ), __( 'All Pages' ) ) 1189 1190 ); 1190 1191 $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name']; -
wp-includes/taxonomy.php
411 411 'separate_items_with_commas' => array( __( 'Separate tags with commas' ), null ), 412 412 'add_or_remove_items' => array( __( 'Add or remove tags' ), null ), 413 413 'choose_from_most_used' => array( __( 'Choose from the most used tags' ), null ), 414 'per_page' => array( _x('Post Tags', 'tags per page (screen options)'), _x('Categories', 'categories per page (screen options)') ), 414 415 ); 415 416 $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name']; 416 417