WordPress.org

Make WordPress Core

Ticket #21094: 21094.diff

File 21094.diff, 496 bytes (added by evansolomon, 6 years ago)
  • wp-includes/post.php

     
    12441244                'parent_item_colon' => array( null, __('Parent Page:') ),
    12451245                'all_items' => array( __( 'All Posts' ), __( 'All Pages' ) )
    12461246        );
    1247         $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name'];
     1247
    12481248        return _get_custom_object_labels( $post_type_object, $nohier_vs_hier_defaults );
    12491249}
    12501250