Skip to content

Commit

Permalink
Administration: Replace missed references of "Add New" in `WP_Post_Ty…
Browse files Browse the repository at this point in the history
…pe` class.

Follow-up to [59784], [59786].

Fixes #61219.




git-svn-id: https://develop.svn.wordpress.org/trunk@59791 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
audrasjb committed Feb 9, 2025
1 parent bd3fdcc commit 07034aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wp-includes/class-wp-post-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -989,8 +989,8 @@ public static function get_default_labels() {
self::$default_labels = array(
'name' => array( _x( 'Posts', 'post type general name' ), _x( 'Pages', 'post type general name' ) ),
'singular_name' => array( _x( 'Post', 'post type singular name' ), _x( 'Page', 'post type singular name' ) ),
'add_new' => array( __( 'Add' ), __( 'Add New' ) ),
'add_new_item' => array( __( 'Add Post' ), __( 'Add New Page' ) ),
'add_new' => array( __( 'Add' ), __( 'Add' ) ),
'add_new_item' => array( __( 'Add Post' ), __( 'Add Page' ) ),
'edit_item' => array( __( 'Edit Post' ), __( 'Edit Page' ) ),
'new_item' => array( __( 'New Post' ), __( 'New Page' ) ),
'view_item' => array( __( 'View Post' ), __( 'View Page' ) ),
Expand Down

0 comments on commit 07034aa

Please sign in to comment.