Administration: Replace missed references of "Add New" in WP_Post_Type class.

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

Fixes #61219.



Built from https://develop.svn.wordpress.org/trunk@59791


git-svn-id: http://core.svn.wordpress.org/trunk@59133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2025-02-09 11:09:21 +00:00
parent 6309ca8f17
commit fdb545356c
2 changed files with 3 additions and 3 deletions

View File

@ -989,8 +989,8 @@ final class WP_Post_Type {
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' ) ),

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-alpha-59790';
$wp_version = '6.8-alpha-59791';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.