Make WordPress Core

Changeset 34487


Ignore:
Timestamp:
09/24/2015 09:15:15 AM (9 years ago)
Author:
ocean90
Message:

Customizer: Use the plural label for available menu item types.

Fixes #33634.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-nav-menus.php

    r34278 r34487  
    616616            foreach ( $post_types as $slug => $post_type ) {
    617617                $item_types[] = array(
    618                     'title'  => $post_type->labels->singular_name,
     618                    'title'  => $post_type->labels->name,
    619619                    'type'   => 'post_type',
    620620                    'object' => $post_type->name,
     
    630630                }
    631631                $item_types[] = array(
    632                     'title'  => $taxonomy->labels->singular_name,
     632                    'title'  => $taxonomy->labels->name,
    633633                    'type'   => 'taxonomy',
    634634                    'object' => $taxonomy->name,
Note: See TracChangeset for help on using the changeset viewer.