Skip to content

Commit 4d53bee

Browse files
committed
Media: Fix incorrect label for "Add Media" button on the Edit Media screen.
This changeset fixes an issue where the button label for adding a new media was "Add Post". Props ffffelix. Fixes #63189. git-svn-id: https://develop.svn.wordpress.org/trunk@60102 602fd350-edb4-49c9-b593-d223f7449a82
1 parent baab2b8 commit 4d53bee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wp-includes/post.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ function create_initial_post_types() {
7676
'name' => _x( 'Media', 'post type general name' ),
7777
'name_admin_bar' => _x( 'Media', 'add new from admin bar' ),
7878
'add_new' => __( 'Add Media File' ),
79+
'add_new_item' => __( 'Add Media File' ),
7980
'edit_item' => __( 'Edit Media' ),
8081
'view_item' => ( '1' === get_option( 'wp_attachment_pages_enabled' ) ) ? __( 'View Attachment Page' ) : __( 'View Media File' ),
8182
'attributes' => __( 'Attachment Attributes' ),

0 commit comments

Comments
 (0)