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/post-functions.php

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