' . __( 'The search for installed plugins will search for terms in their name, description, or author.' ) . ' ' . __( 'The search results will be updated as you type.' ) . '
' .
'
' . sprintf(
/* translators: %s: WordPress Plugin Directory URL. */
- __( 'If you would like to see more plugins to choose from, click on the “Add New” button and you will be able to browse or search for additional plugins from the WordPress Plugin Directory. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!' ),
+ __( 'If you would like to see more plugins to choose from, click on the “Add New Plugin” button and you will be able to browse or search for additional plugins from the WordPress Plugin Directory. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!' ),
__( 'https://wordpress.org/plugins/' )
) . '
',
)
@@ -726,7 +726,7 @@ echo esc_html( $title );
-
+
' . sprintf(
/* translators: %s: https://wordpress.org/themes/ */
- __( 'If you would like to see more themes to choose from, click on the “Add New” button and you will be able to browse or search for additional themes from the WordPress Theme Directory. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!' ),
+ __( 'If you would like to see more themes to choose from, click on the “Add New Theme” button and you will be able to browse or search for additional themes from the WordPress Theme Directory. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!' ),
__( 'https://wordpress.org/themes/' )
) . '';
}
@@ -252,7 +252,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
-
+
diff --git a/wp-admin/upload.php b/wp-admin/upload.php
index 29a8c4de8d..13b54c5840 100644
--- a/wp-admin/upload.php
+++ b/wp-admin/upload.php
@@ -211,7 +211,7 @@ if ( 'grid' === $mode ) {
-
+
@@ -409,7 +409,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
-
+
-
+
-
+
diff --git a/wp-admin/users.php b/wp-admin/users.php
index 2c635c543a..ec8886b61b 100644
--- a/wp-admin/users.php
+++ b/wp-admin/users.php
@@ -694,13 +694,13 @@ switch ( $wp_list_table->current_action() ) {
printf(
'%2$s',
esc_url( admin_url( 'user-new.php' ) ),
- esc_html_x( 'Add New', 'user' )
+ esc_html__( 'Add New User' )
);
} elseif ( is_multisite() && current_user_can( 'promote_users' ) ) {
printf(
'%2$s',
esc_url( admin_url( 'user-new.php' ) ),
- esc_html_x( 'Add Existing', 'user' )
+ esc_html__( 'Add Existing User' )
);
}
diff --git a/wp-includes/class-wp-post-type.php b/wp-includes/class-wp-post-type.php
index 42b413254c..ce6d9d348b 100644
--- a/wp-includes/class-wp-post-type.php
+++ b/wp-includes/class-wp-post-type.php
@@ -831,7 +831,7 @@ 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( _x( 'Add New', 'post' ), _x( 'Add New', 'page' ) ),
+ 'add_new' => array( __( 'Add New Post' ), __( 'Add New Page' ) ),
'add_new_item' => array( __( 'Add New Post' ), __( 'Add New Page' ) ),
'edit_item' => array( __( 'Edit Post' ), __( 'Edit Page' ) ),
'new_item' => array( __( 'New Post' ), __( 'New Page' ) ),
diff --git a/wp-includes/customize/class-wp-customize-header-image-control.php b/wp-includes/customize/class-wp-customize-header-image-control.php
index 0ea73d5a0b..0c8cc0e21e 100644
--- a/wp-includes/customize/class-wp-customize-header-image-control.php
+++ b/wp-includes/customize/class-wp-customize-header-image-control.php
@@ -213,23 +213,23 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
%s × %s', $width, $height )
);
} elseif ( $width ) {
printf(
/* translators: %s: Header width in pixels. */
- __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header width of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ),
+ __( 'Click “Add New Image” to upload an image file from your computer. Your theme works best with an image with a header width of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ),
sprintf( '%s', $width )
);
} else {
printf(
/* translators: %s: Header height in pixels. */
- __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header height of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ),
+ __( 'Click “Add New Image” to upload an image file from your computer. Your theme works best with an image with a header height of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ),
sprintf( '%s', $height )
);
}
@@ -247,7 +247,7 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
-
+
diff --git a/wp-includes/post.php b/wp-includes/post.php
index f71a0a061d..34caabea0a 100644
--- a/wp-includes/post.php
+++ b/wp-includes/post.php
@@ -75,7 +75,7 @@ function create_initial_post_types() {
'labels' => array(
'name' => _x( 'Media', 'post type general name' ),
'name_admin_bar' => _x( 'Media', 'add new from admin bar' ),
- 'add_new' => _x( 'Add New', 'file' ),
+ 'add_new' => __( 'Add New Media File' ),
'edit_item' => __( 'Edit Media' ),
'view_item' => __( 'View Attachment Page' ),
'attributes' => __( 'Attachment Attributes' ),
@@ -202,7 +202,7 @@ function create_initial_post_types() {
'labels' => array(
'name' => _x( 'Changesets', 'post type general name' ),
'singular_name' => _x( 'Changeset', 'post type singular name' ),
- 'add_new' => _x( 'Add New', 'Customize Changeset' ),
+ 'add_new' => __( 'Add New Changeset' ),
'add_new_item' => __( 'Add New Changeset' ),
'new_item' => __( 'New Changeset' ),
'edit_item' => __( 'Edit Changeset' ),
@@ -284,8 +284,8 @@ function create_initial_post_types() {
'labels' => array(
'name' => _x( 'Patterns', 'post type general name' ),
'singular_name' => _x( 'Pattern', 'post type singular name' ),
- 'add_new' => _x( 'Add New', 'Pattern' ),
- 'add_new_item' => __( 'Add new Pattern' ),
+ 'add_new' => __( 'Add New Pattern' ),
+ 'add_new_item' => __( 'Add New Pattern' ),
'new_item' => __( 'New Pattern' ),
'edit_item' => __( 'Edit Block Pattern' ),
'view_item' => __( 'View Pattern' ),
@@ -347,7 +347,7 @@ function create_initial_post_types() {
'labels' => array(
'name' => _x( 'Templates', 'post type general name' ),
'singular_name' => _x( 'Template', 'post type singular name' ),
- 'add_new' => _x( 'Add New', 'Template' ),
+ 'add_new' => __( 'Add New Template' ),
'add_new_item' => __( 'Add New Template' ),
'new_item' => __( 'New Template' ),
'edit_item' => __( 'Edit Template' ),
@@ -408,7 +408,7 @@ function create_initial_post_types() {
'labels' => array(
'name' => _x( 'Template Parts', 'post type general name' ),
'singular_name' => _x( 'Template Part', 'post type singular name' ),
- 'add_new' => _x( 'Add New', 'Template Part' ),
+ 'add_new' => __( 'Add New Template Part' ),
'add_new_item' => __( 'Add New Template Part' ),
'new_item' => __( 'New Template Part' ),
'edit_item' => __( 'Edit Template Part' ),
@@ -505,7 +505,7 @@ function create_initial_post_types() {
'labels' => array(
'name' => _x( 'Navigation Menus', 'post type general name' ),
'singular_name' => _x( 'Navigation Menu', 'post type singular name' ),
- 'add_new' => _x( 'Add New', 'Navigation Menu' ),
+ 'add_new' => __( 'Add New Navigation Menu' ),
'add_new_item' => __( 'Add New Navigation Menu' ),
'new_item' => __( 'New Navigation Menu' ),
'edit_item' => __( 'Edit Navigation Menu' ),
@@ -1931,9 +1931,9 @@ function _post_type_meta_capabilities( $capabilities = null ) {
* - `name` - General name for the post type, usually plural. The same and overridden
* by `$post_type_object->label`. Default is 'Posts' / 'Pages'.
* - `singular_name` - Name for one object of this post type. Default is 'Post' / 'Page'.
- * - `add_new` - Default is 'Add New' for both hierarchical and non-hierarchical types.
+ * - `add_new` - Default is 'Add New Type' for both hierarchical and non-hierarchical types.
* When internationalizing this string, please use a {@link https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#disambiguation-by-context gettext context}
- * matching your post type. Example: `_x( 'Add New', 'product', 'textdomain' );`.
+ * matching your post type. Example: `__( 'Add New Product', 'textdomain' );`.
* - `add_new_item` - Label for adding a new singular item. Default is 'Add New Post' / 'Add New Page'.
* - `edit_item` - Label for editing a singular item. Default is 'Edit Post' / 'Edit Page'.
* - `new_item` - Label for the new item page title. Default is 'New Post' / 'New Page'.
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 88bd04a910..1295ba58fc 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.4-alpha-56514';
+$wp_version = '6.4-alpha-56515';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.