Skip to content

Commit 07034aa

Browse files
committed
Administration: Replace missed references of "Add New" in WP_Post_Type class.
Follow-up to [59784], [59786]. Fixes #61219. git-svn-id: https://develop.svn.wordpress.org/trunk@59791 602fd350-edb4-49c9-b593-d223f7449a82
1 parent bd3fdcc commit 07034aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/class-wp-post-type.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -989,8 +989,8 @@ public static function get_default_labels() {
989989
self::$default_labels = array(
990990
'name' => array( _x( 'Posts', 'post type general name' ), _x( 'Pages', 'post type general name' ) ),
991991
'singular_name' => array( _x( 'Post', 'post type singular name' ), _x( 'Page', 'post type singular name' ) ),
992-
'add_new' => array( __( 'Add' ), __( 'Add New' ) ),
993-
'add_new_item' => array( __( 'Add Post' ), __( 'Add New Page' ) ),
992+
'add_new' => array( __( 'Add' ), __( 'Add' ) ),
993+
'add_new_item' => array( __( 'Add Post' ), __( 'Add Page' ) ),
994994
'edit_item' => array( __( 'Edit Post' ), __( 'Edit Page' ) ),
995995
'new_item' => array( __( 'New Post' ), __( 'New Page' ) ),
996996
'view_item' => array( __( 'View Post' ), __( 'View Page' ) ),

0 commit comments

Comments
 (0)