Make WordPress Core


Ignore:
Timestamp:
10/23/2015 04:47:57 PM (10 years ago)
Author:
SergeyBiryukov
Message:

After [34891], rename new post type and taxonomy label keys to match the default strings.

See #32147.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy-functions.php

    r35333 r35376  
    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).
     
    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'];
Note: See TracChangeset for help on using the changeset viewer.