Make WordPress Core

Ticket #32147: 32147.8.patch

File 32147.8.patch, 4.8 KB (added by SergeyBiryukov, 9 years ago)
  • src/wp-admin/edit-tags.php

     
    5555add_screen_option( 'per_page', array( 'default' => 20, 'option' => 'edit_' . $tax->name . '_per_page' ) );
    5656
    5757get_current_screen()->set_screen_reader_content( array(
    58         'heading_pagination' => $tax->labels->pagination,
    59         'heading_list'       => $tax->labels->list,
     58        'heading_pagination' => $tax->labels->items_list_navigation,
     59        'heading_list'       => $tax->labels->items_list,
    6060) );
    6161
    6262$location = false;
  • src/wp-admin/edit.php

     
    249249}
    250250
    251251get_current_screen()->set_screen_reader_content( array(
    252         'heading_views'      => $post_type_object->labels->views,
    253         'heading_pagination' => $post_type_object->labels->pagination,
    254         'heading_list'       => $post_type_object->labels->list,
     252        'heading_views'      => $post_type_object->labels->filter_items_list,
     253        'heading_pagination' => $post_type_object->labels->items_list_navigation,
     254        'heading_list'       => $post_type_object->labels->items_list,
    255255) );
    256256
    257257add_screen_option( 'per_page', array( 'default' => 20, 'option' => 'edit_' . $post_type . '_per_page' ) );
  • src/wp-includes/post-functions.php

     
    13301330 * - remove_featured_image - Default is Remove featured image.
    13311331 * - use_featured_image - Default is Use as featured image.
    13321332 * - menu_name - Default is the same as `name`.
    1333  * - views - String for the table views hidden heading.
    1334  * - pagination - String for the table pagination hidden heading.
    1335  * - list - String for the table hidden heading.
     1333 * - filter_items_list - String for the table views hidden heading.
     1334 * - items_list_navigation - String for the table pagination hidden heading.
     1335 * - items_list - String for the table hidden heading.
    13361336 *
    13371337 * Above, the first default value is for non-hierarchical post types (like posts)
    13381338 * and the second one is for hierarchical post types (like pages).
     
    13671367                'set_featured_image' => array( __( 'Set featured image' ), __( 'Set featured image' ) ),
    13681368                'remove_featured_image' => array( __( 'Remove featured image' ), __( 'Remove featured image' ) ),
    13691369                'use_featured_image' => array( __( 'Use as featured image' ), __( 'Use as featured image' ) ),
    1370                 'views' => array( __( 'Filter posts list' ), __( 'Filter pages list' ) ),
    1371                 'pagination' => array( __( 'Posts list navigation' ), __( 'Pages list navigation' ) ),
    1372                 'list' => array( __( 'Posts list' ), __( 'Pages list' ) ),
     1370                'filter_items_list' => array( __( 'Filter posts list' ), __( 'Filter pages list' ) ),
     1371                'items_list_navigation' => array( __( 'Posts list navigation' ), __( 'Pages list navigation' ) ),
     1372                'items_list' => array( __( 'Posts list' ), __( 'Pages list' ) ),
    13731373        );
    13741374        $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name'];
    13751375
  • src/wp-includes/taxonomy-functions.php

     
    494494 * - choose_from_most_used - This string isn't used on hierarchical taxonomies. Default is "Choose from the most used tags", used in the meta box.
    495495 * - not_found - Default is "No tags found"/"No categories found", used in the meta box and taxonomy list table.
    496496 * - no_terms - Default is "No tags"/"No categories", used in the posts and media list tables.
    497  * - pagination - String for the table pagination hidden heading.
    498  * - list - String for the table hidden heading.
     497 * - items_list_navigation - String for the table pagination hidden heading.
     498 * - items_list - String for the table hidden heading.
    499499 *
    500500 * Above, the first default value is for non-hierarchical taxonomies (like tags) and the second one is for hierarchical taxonomies (like categories).
    501501 *
     
    534534                'choose_from_most_used' => array( __( 'Choose from the most used tags' ), null ),
    535535                'not_found' => array( __( 'No tags found.' ), __( 'No categories found.' ) ),
    536536                'no_terms' => array( __( 'No tags' ), __( 'No categories' ) ),
    537                 'pagination' => array( __( 'Tags list navigation' ), __( 'Categories list navigation' ) ),
    538                 'list' => array( __( 'Tags list' ), __( 'Categories list' ) ),
     537                'items_list_navigation' => array( __( 'Tags list navigation' ), __( 'Categories list navigation' ) ),
     538                'items_list' => array( __( 'Tags list' ), __( 'Categories list' ) ),
    539539        );
    540540        $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name'];
    541541