Make WordPress Core

Ticket #47125: 47125-patch.diff

File 47125-patch.diff, 25.3 KB (added by gonzomir, 4 years ago)
  • src/js/media/views/attachments/browser.js

    diff --git a/src/js/media/views/attachments/browser.js b/src/js/media/views/attachments/browser.js
    index a757a47f50..1b78f234f4 100644
    a b AttachmentsBrowser = View.extend(/** @lends wp.media.view.AttachmentsBrowser.pro 
    5050
    5151                /*
    5252                 * For accessibility reasons, place the Inline Uploader before other sections.
    53                  * This way, in the Media Library, it's right after the Add New button, see ticket #37188.
     53                 * This way, in the Media Library, it's right after the Add New Media button, see ticket #37188.
    5454                 */
    5555                this.createUploader();
    5656
  • src/js/media/views/frame/manage.js

    diff --git a/src/js/media/views/frame/manage.js b/src/js/media/views/frame/manage.js
    index 4c244120a2..19aaa0109b 100644
    a b Manage = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.Manage.prototype 
    4040                this.$body = $( document.body );
    4141                this.$window = $( window );
    4242                this.$adminBar = $( '#wpadminbar' );
    43                 // Store the Add New button for later reuse in wp.media.view.UploaderInline.
     43                // Store the Add New Media button for later reuse in wp.media.view.UploaderInline.
    4444                this.$uploaderToggler = $( '.page-title-action' )
    4545                        .attr( 'aria-expanded', 'false' )
    4646                        .on( 'click', _.bind( this.addNewClickHandler, this ) );
    Manage = MediaFrame.extend(/** @lends wp.media.view.MediaFrame.Manage.prototype 
    194194        },
    195195
    196196        /**
    197          * Click handler for the `Add New` button.
     197         * Click handler for the `Add New Media` button.
    198198         */
    199199        addNewClickHandler: function( event ) {
    200200                event.preventDefault();
  • src/wp-admin/link-manager.php

    diff --git a/src/wp-admin/link-manager.php b/src/wp-admin/link-manager.php
    index e8418ea0ec..3b95bfc97d 100644
    a b echo esc_html( $title ); 
    9898?>
    9999</h1>
    100100
    101 <a href="link-add.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'link' ); ?></a>
     101<a href="link-add.php" class="page-title-action"><?php esc_html_e( 'Add New Link' ); ?></a>
    102102
    103103<?php
    104104if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
  • src/wp-admin/media.php

    diff --git a/src/wp-admin/media.php b/src/wp-admin/media.php
    index 1e09eda2f8..48fa79dc90 100644
    a b switch ( $action ) { 
    126126                <?php
    127127                if ( current_user_can( 'upload_files' ) ) {
    128128                        ?>
    129         <a href="media-new.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'file' ); ?></a>
     129        <a href="media-new.php" class="page-title-action"><?php esc_html_e( 'Add New Media' ); ?></a>
    130130<?php } ?>
    131131
    132132        <hr class="wp-header-end">
  • src/wp-admin/menu.php

    diff --git a/src/wp-admin/menu.php b/src/wp-admin/menu.php
    index 7aec19663d..864f2ae8d5 100644
    a b $menu[4] = array( '', 'read', 'separator1', '', 'wp-menu-separator' ); 
    6565$menu[10]                     = array( __( 'Media' ), 'upload_files', 'upload.php', '', 'menu-top menu-icon-media', 'menu-media', 'dashicons-admin-media' );
    6666        $submenu['upload.php'][5] = array( __( 'Library' ), 'upload_files', 'upload.php' );
    6767        /* translators: Add new file. */
    68         $submenu['upload.php'][10] = array( _x( 'Add New', 'file' ), 'upload_files', 'media-new.php' );
     68        $submenu['upload.php'][10] = array( __( 'Add New Media' ), 'upload_files', 'media-new.php' );
    6969        $i                         = 15;
    7070foreach ( get_taxonomies_for_attachments( 'objects' ) as $tax ) {
    7171        if ( ! $tax->show_ui || ! $tax->show_in_menu ) {
    foreach ( get_taxonomies_for_attachments( 'objects' ) as $tax ) { 
    7979$menu[15]                           = array( __( 'Links' ), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'dashicons-admin-links' );
    8080        $submenu['link-manager.php'][5] = array( _x( 'All Links', 'admin menu' ), 'manage_links', 'link-manager.php' );
    8181        /* translators: Add new links. */
    82         $submenu['link-manager.php'][10] = array( _x( 'Add New', 'link' ), 'manage_links', 'link-add.php' );
     82        $submenu['link-manager.php'][10] = array( __( 'Add New Link' ), 'manage_links', 'link-add.php' );
    8383        $submenu['link-manager.php'][15] = array( __( 'Link Categories' ), 'manage_categories', 'edit-tags.php?taxonomy=link_category' );
    8484
    8585// $menu[20] = Pages
    $submenu['plugins.php'][5] = array( __( 'Installed Plugins' ), 'activate_plugins 
    242242
    243243if ( ! is_multisite() ) {
    244244        /* translators: Add new plugin. */
    245         $submenu['plugins.php'][10] = array( _x( 'Add New', 'plugin' ), 'install_plugins', 'plugin-install.php' );
     245        $submenu['plugins.php'][10] = array( __( 'Add New Plugin' ), 'install_plugins', 'plugin-install.php' );
    246246        $submenu['plugins.php'][15] = array( __( 'Plugin Editor' ), 'edit_plugins', 'plugin-editor.php' );
    247247}
    248248
    if ( current_user_can( 'list_users' ) ) { 
    258258        $_wp_real_parent_file['profile.php'] = 'users.php'; // Back-compat for plugins adding submenus to profile.php.
    259259        $submenu['users.php'][5]             = array( __( 'All Users' ), 'list_users', 'users.php' );
    260260        if ( current_user_can( 'create_users' ) ) {
    261                 $submenu['users.php'][10] = array( _x( 'Add New', 'user' ), 'create_users', 'user-new.php' );
     261                $submenu['users.php'][10] = array( __( 'Add New User' ), 'create_users', 'user-new.php' );
    262262        } elseif ( is_multisite() ) {
    263                 $submenu['users.php'][10] = array( _x( 'Add New', 'user' ), 'promote_users', 'user-new.php' );
     263                $submenu['users.php'][10] = array( __( 'Add New User' ), 'promote_users', 'user-new.php' );
    264264        }
    265265
    266266        $submenu['users.php'][15] = array( __( 'Your Profile' ), 'read', 'profile.php' );
  • src/wp-admin/my-sites.php

    diff --git a/src/wp-admin/my-sites.php b/src/wp-admin/my-sites.php
    index 0d925b4184..1f2e9a8199 100644
    a b echo esc_html( $title ); 
    6969if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ) ) ) {
    7070        /** This filter is documented in wp-login.php */
    7171        $sign_up_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) );
    72         printf( ' <a href="%s" class="page-title-action">%s</a>', esc_url( $sign_up_url ), esc_html_x( 'Add New', 'site' ) );
     72        printf( ' <a href="%s" class="page-title-action">%s</a>', esc_url( $sign_up_url ), esc_html__( 'Add New Site' ) );
    7373}
    7474
    7575if ( empty( $blogs ) ) :
  • src/wp-admin/network/menu.php

    diff --git a/src/wp-admin/network/menu.php b/src/wp-admin/network/menu.php
    index 03a2edf954..cd1bc91e51 100644
    a b $menu[4] = array( '', 'read', 'separator1', '', 'wp-menu-separator' ); 
    5050/* translators: Sites menu item. */
    5151$menu[5]                  = array( __( 'Sites' ), 'manage_sites', 'sites.php', '', 'menu-top menu-icon-site', 'menu-site', 'dashicons-admin-multisite' );
    5252$submenu['sites.php'][5]  = array( __( 'All Sites' ), 'manage_sites', 'sites.php' );
    53 $submenu['sites.php'][10] = array( _x( 'Add New', 'site' ), 'create_sites', 'site-new.php' );
     53$submenu['sites.php'][10] = array( __( 'Add New Site' ), 'create_sites', 'site-new.php' );
    5454
    5555$menu[10]                 = array( __( 'Users' ), 'manage_network_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'dashicons-admin-users' );
    5656$submenu['users.php'][5]  = array( __( 'All Users' ), 'manage_network_users', 'users.php' );
    57 $submenu['users.php'][10] = array( _x( 'Add New', 'user' ), 'create_users', 'user-new.php' );
     57$submenu['users.php'][10] = array( __( 'Add New User' ), 'create_users', 'user-new.php' );
    5858
    5959if ( current_user_can( 'update_themes' ) && $update_data['counts']['themes'] ) {
    6060        $menu[15] = array(
    if ( current_user_can( 'update_themes' ) && $update_data['counts']['themes'] ) { 
    7878        $menu[15] = array( __( 'Themes' ), 'manage_network_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'dashicons-admin-appearance' );
    7979}
    8080$submenu['themes.php'][5]  = array( __( 'Installed Themes' ), 'manage_network_themes', 'themes.php' );
    81 $submenu['themes.php'][10] = array( _x( 'Add New', 'theme' ), 'install_themes', 'theme-install.php' );
     81$submenu['themes.php'][10] = array( __( 'Add New Theme' ), 'install_themes', 'theme-install.php' );
    8282$submenu['themes.php'][15] = array( __( 'Theme Editor' ), 'edit_themes', 'theme-editor.php' );
    8383
    8484if ( current_user_can( 'update_plugins' ) && $update_data['counts']['plugins'] ) {
    if ( current_user_can( 'update_plugins' ) && $update_data['counts']['plugins'] ) 
    103103        $menu[20] = array( __( 'Plugins' ), 'manage_network_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'dashicons-admin-plugins' );
    104104}
    105105$submenu['plugins.php'][5]  = array( __( 'Installed Plugins' ), 'manage_network_plugins', 'plugins.php' );
    106 $submenu['plugins.php'][10] = array( _x( 'Add New', 'plugin' ), 'install_plugins', 'plugin-install.php' );
     106$submenu['plugins.php'][10] = array( __( 'Add New Plugin' ), 'install_plugins', 'plugin-install.php' );
    107107$submenu['plugins.php'][15] = array( __( 'Plugin Editor' ), 'edit_plugins', 'plugin-editor.php' );
    108108
    109109$menu[25] = array( __( 'Settings' ), 'manage_network_options', 'settings.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings' );
  • src/wp-admin/network/settings.php

    diff --git a/src/wp-admin/network/settings.php b/src/wp-admin/network/settings.php
    index c100a665f3..a2adf051f9 100644
    a b if ( isset( $_GET['updated'] ) ) { 
    235235                        <tr id="addnewusers">
    236236                                <th scope="row"><?php _e( 'Add New Users' ); ?></th>
    237237                                <td>
    238                                         <label><input name="add_new_users" type="checkbox" id="add_new_users" value="1"<?php checked( get_site_option( 'add_new_users' ) ); ?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users &rarr; Add New" page' ); ?></label>
     238                                        <label><input name="add_new_users" type="checkbox" id="add_new_users" value="1"<?php checked( get_site_option( 'add_new_users' ) ); ?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users &rarr; Add New User" page' ); ?></label>
    239239                                </td>
    240240                        </tr>
    241241
  • src/wp-admin/network/sites.php

    diff --git a/src/wp-admin/network/sites.php b/src/wp-admin/network/sites.php
    index 554e260509..8401b1f4bb 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    361361<h1 class="wp-heading-inline"><?php _e( 'Sites' ); ?></h1>
    362362
    363363<?php if ( current_user_can( 'create_sites' ) ) : ?>
    364         <a href="<?php echo network_admin_url( 'site-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'site' ); ?></a>
     364        <a href="<?php echo network_admin_url( 'site-new.php' ); ?>" class="page-title-action"><?php esc_html_e( 'Add New Site' ); ?></a>
    365365<?php endif; ?>
    366366
    367367<?php
  • src/wp-admin/network/themes.php

    diff --git a/src/wp-admin/network/themes.php b/src/wp-admin/network/themes.php
    index f7711f034d..c3f40fa3c6 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    269269<h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
    270270
    271271<?php if ( current_user_can( 'install_themes' ) ) : ?>
    272         <a href="theme-install.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'theme' ); ?></a>
     272        <a href="theme-install.php" class="page-title-action"><?php esc_html_e( 'Add New Theme', 'theme' ); ?></a>
    273273<?php endif; ?>
    274274
    275275<?php
  • src/wp-admin/network/users.php

    diff --git a/src/wp-admin/network/users.php b/src/wp-admin/network/users.php
    index 9c5bcc0ca4..e7795475eb 100644
    a b if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty( 
    271271        <?php
    272272        if ( current_user_can( 'create_users' ) ) :
    273273                ?>
    274                 <a href="<?php echo network_admin_url( 'user-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>
     274                <a href="<?php echo network_admin_url( 'user-new.php' ); ?>" class="page-title-action"><?php esc_html_e( 'Add New User' ); ?></a>
    275275                                                        <?php
    276276        endif;
    277277
  • src/wp-admin/plugins.php

    diff --git a/src/wp-admin/plugins.php b/src/wp-admin/plugins.php
    index eb80edcd4b..edf864671b 100644
    a b get_current_screen()->add_help_tab( 
    442442                                '<p>' . __( 'The search for installed plugins will search for terms in their name, description, or author.' ) . ' <span id="live-search-desc" class="hide-if-no-js">' . __( 'The search results will be updated as you type.' ) . '</span></p>' .
    443443                                '<p>' . sprintf(
    444444                                        /* translators: %s: WordPress Plugin Directory URL. */
    445                                         __( 'If you would like to see more plugins to choose from, click on the &#8220;Add New&#8221; button and you will be able to browse or search for additional plugins from the <a href="%s">WordPress Plugin Directory</a>. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they&#8217;re free!' ),
     445                                        __( 'If you would like to see more plugins to choose from, click on the &#8220;Add New Plugin&#8221; button and you will be able to browse or search for additional plugins from the <a href="%s">WordPress Plugin Directory</a>. Plugins in the WordPress Plugin Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they&#8217;re free!' ),
    446446                                        __( 'https://wordpress.org/plugins/' )
    447447                                ) . '</p>',
    448448        )
    echo esc_html( $title ); 
    590590<?php
    591591if ( ( ! is_multisite() || is_network_admin() ) && current_user_can( 'install_plugins' ) ) {
    592592        ?>
    593         <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'plugin' ); ?></a>
     593        <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="page-title-action"><?php esc_html_e( 'Add New Plugin', 'plugin' ); ?></a>
    594594        <?php
    595595}
    596596
  • src/wp-admin/themes.php

    diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php
    index 082819611b..6bdb9c0d92 100644
    a b require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    191191        </h1>
    192192
    193193        <?php if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?>
    194                 <a href="<?php echo admin_url( 'theme-install.php' ); ?>" class="hide-if-no-js page-title-action"><?php echo esc_html_x( 'Add New', 'Add new theme' ); ?></a>
     194                <a href="<?php echo admin_url( 'theme-install.php' ); ?>" class="hide-if-no-js page-title-action"><?php esc_html_e( 'Add New Theme' ); ?></a>
    195195        <?php endif; ?>
    196196
    197197        <form class="search-form"></form>
  • src/wp-admin/upload.php

    diff --git a/src/wp-admin/upload.php b/src/wp-admin/upload.php
    index f399eaf446..9aa1d185f8 100644
    a b if ( 'grid' === $mode ) { 
    8787                <?php
    8888                if ( current_user_can( 'upload_files' ) ) {
    8989                        ?>
    90                         <a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action aria-button-if-js"><?php echo esc_html_x( 'Add New', 'file' ); ?></a>
     90                        <a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action aria-button-if-js"><?php esc_html_e( 'Add New Media' ); ?></a>
    9191                                                                <?php
    9292                }
    9393                ?>
    require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    268268<?php
    269269if ( current_user_can( 'upload_files' ) ) {
    270270        ?>
    271         <a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'file' ); ?></a>
     271        <a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action"><?php esc_html_e( 'Add New Media' ); ?></a>
    272272                                                <?php
    273273}
    274274
  • src/wp-admin/user-edit.php

    diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php
    index 70f6ef1a3d..3d0f9d3dde 100644
    a b switch ( $action ) { 
    224224                if ( ! IS_PROFILE_PAGE ) {
    225225                        if ( current_user_can( 'create_users' ) ) {
    226226                                ?>
    227                 <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>
     227                <a href="user-new.php" class="page-title-action"><?php esc_html_e( 'Add New User' ); ?></a>
    228228        <?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?>
    229                 <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a>
     229                <a href="user-new.php" class="page-title-action"><?php esc_html_e( 'Add Existing User' ); ?></a>
    230230                                <?php
    231231        }
    232232                }
  • src/wp-admin/users.php

    diff --git a/src/wp-admin/users.php b/src/wp-admin/users.php
    index 884b143a15..a4e7bd8be9 100644
    a b switch ( $wp_list_table->current_action() ) { 
    561561                <?php
    562562                if ( current_user_can( 'create_users' ) ) {
    563563                        ?>
    564         <a href="<?php echo admin_url( 'user-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>
     564        <a href="<?php echo admin_url( 'user-new.php' ); ?>" class="page-title-action"><?php esc_html_e( 'Add New User' ); ?></a>
    565565<?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?>
    566         <a href="<?php echo admin_url( 'user-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a>
     566        <a href="<?php echo admin_url( 'user-new.php' ); ?>" class="page-title-action"><?php esc_html_e( 'Add Existing User' ); ?></a>
    567567                        <?php
    568568}
    569569
  • src/wp-content/themes/twentyeleven/readme.txt

    diff --git a/src/wp-content/themes/twentyeleven/readme.txt b/src/wp-content/themes/twentyeleven/readme.txt
    index 924c74598f..32c6b3712a 100644
    a b For more information about Twenty Eleven please go to https://codex.wordpress.or 
    1414
    1515== Installation ==
    1616
    17 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
     171. In your admin panel, go to Appearance -> Themes and click the 'Add New Theme' button.
    18182. Type in Twenty Eleven in the search form and press the 'Enter' key in your keyboard.
    19193. Click on the 'Activate' button to use your new theme right away.
    20204. Go to https://codex.wordpress.org/Twenty_Eleven for a guide to customize this theme.
  • src/wp-content/themes/twentyfifteen/readme.txt

    diff --git a/src/wp-content/themes/twentyfifteen/readme.txt b/src/wp-content/themes/twentyfifteen/readme.txt
    index cb3d3555db..dcfa39638d 100644
    a b For more information about Twenty Fifteen please go to https://wordpress.org/sup 
    2222
    2323== Installation ==
    2424
    25 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
     251. In your admin panel, go to Appearance -> Themes and click the 'Add New Theme' button.
    26262. Type in Twenty Fifteen in the search form and press the 'Enter' key on your keyboard.
    27273. Click on the 'Activate' button to use your new theme right away.
    28284. Go to https://wordpress.org/support/article/twenty-fifteen/ for a guide on how to customize this theme.
  • src/wp-content/themes/twentyfourteen/readme.txt

    diff --git a/src/wp-content/themes/twentyfourteen/readme.txt b/src/wp-content/themes/twentyfourteen/readme.txt
    index 3bbf5a34be..5973c58a7e 100644
    a b For more information about Twenty Fourteen please go to https://codex.wordpress. 
    1414
    1515== Installation ==
    1616
    17 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
     171. In your admin panel, go to Appearance -> Themes and click the 'Add New Theme' button.
    18182. Type in Twenty Fourteen in the search form and press the 'Enter' key in your keyboard.
    19193. Click on the 'Activate' button to use your new theme right away.
    20204. Go to https://codex.wordpress.org/Twenty_Fourteen for a guide to customize this theme.
  • src/wp-content/themes/twentynineteen/readme.txt

    diff --git a/src/wp-content/themes/twentynineteen/readme.txt b/src/wp-content/themes/twentynineteen/readme.txt
    index 7436213081..5a5483ba3c 100644
    a b For more information about Twenty Nineteen please go to https://wordpress.org/su 
    1616
    1717== Installation ==
    1818
    19 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
     191. In your admin panel, go to Appearance -> Themes and click the 'Add New Theme' button.
    20202. Type in Twenty Nineteen in the search form and press the 'Enter' key on your keyboard.
    21213. Click on the 'Activate' button to use your new theme right away.
    22224. Go to https://wordpress.org/support/article/twenty-nineteen/ for a guide on how to customize this theme.
  • src/wp-content/themes/twentyseventeen/README.txt

    diff --git a/src/wp-content/themes/twentyseventeen/README.txt b/src/wp-content/themes/twentyseventeen/README.txt
    index 5a67d3a7c2..fbf37168bd 100644
    a b For more information about Twenty Seventeen please go to https://wordpress.org/s 
    1414
    1515== Installation ==
    1616
    17 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
     171. In your admin panel, go to Appearance -> Themes and click the 'Add New Theme' button.
    18182. Type in Twenty Seventeen in the search form and press the 'Enter' key on your keyboard.
    19193. Click on the 'Activate' button to use your new theme right away.
    20204. Go to https://wordpress.org/support/article/twenty-seventeen/ for a guide on how to customize this theme.
  • src/wp-content/themes/twentyten/readme.txt

    diff --git a/src/wp-content/themes/twentyten/readme.txt b/src/wp-content/themes/twentyten/readme.txt
    index ed6e25680b..69e7422b0d 100644
    a b For more information about Twenty Ten theme please go to https://codex.wordpress 
    1313
    1414== Installation ==
    1515
    16 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
     161. In your admin panel, go to Appearance -> Themes and click the 'Add New Theme' button.
    17172. Type in Twenty Ten in the search form and press the 'Enter' key in your keyboard.
    18183. Click on the 'Activate' button to use your new theme right away.
    19194. Go to https://codex.wordpress.org/Twenty_Ten for a guide to customize this theme.
  • src/wp-content/themes/twentythirteen/readme.txt

    diff --git a/src/wp-content/themes/twentythirteen/readme.txt b/src/wp-content/themes/twentythirteen/readme.txt
    index 492b5a1c24..6fcb4ace04 100644
    a b For more information about Twenty Thirteen please go to https://codex.wordpress. 
    1313
    1414== Installation ==
    1515
    16 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
     161. In your admin panel, go to Appearance -> Themes and click the 'Add New Theme' button.
    17172. Type in Twenty Thirteen in the search form and press the 'Enter' key in your keyboard.
    18183. Click on the 'Activate' button to use your new theme right away.
    19194. Go to https://codex.wordpress.org/Twenty_Thirteen for a guide to customize this theme.
  • src/wp-content/themes/twentytwelve/readme.txt

    diff --git a/src/wp-content/themes/twentytwelve/readme.txt b/src/wp-content/themes/twentytwelve/readme.txt
    index 8e088dbf27..fd46519758 100644
    a b For more information about Twenty Twelve please go to https://codex.wordpress.or 
    1313
    1414== Installation ==
    1515
    16 1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
     161. In your admin panel, go to Appearance -> Themes and click the 'Add New Theme' button.
    17172. Type in Twenty Twelve in the search form and press the 'Enter' key in your keyboard.
    18183. Click on the 'Activate' button to use your new theme right away.
    19194. Go to https://codex.wordpress.org/Twenty_Twelve for a guide to customize this theme.
  • src/wp-includes/media-template.php

    diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php
    index 978772d732..d7e3bf211c 100644
    a b function wp_print_media_templates() { 
    223223                </div>
    224224        </script>
    225225
    226         <?php // Template for the inline uploader, used for example in the Media Library admin page - Add New. ?>
     226        <?php // Template for the inline uploader, used for example in the Media Library admin page - Add New Media. ?>
    227227        <script type="text/html" id="tmpl-uploader-inline">
    228228                <# var messageClass = data.message ? 'has-upload-message' : 'no-upload-message'; #>
    229229                <# if ( data.canClose ) { #>
  • src/wp-includes/post.php

    diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php
    index 387ef2b951..3831599b87 100644
    a b function create_initial_post_types() { 
    7171                        'labels'                => array(
    7272                                'name'           => _x( 'Media', 'post type general name' ),
    7373                                'name_admin_bar' => _x( 'Media', 'add new from admin bar' ),
    74                                 'add_new'        => _x( 'Add New', 'add new media' ),
     74                                'add_new'        => __( 'Add New Media' ),
    7575                                'edit_item'      => __( 'Edit Media' ),
    7676                                'view_item'      => __( 'View Attachment Page' ),
    7777                                'attributes'     => __( 'Attachment Attributes' ),
    function get_post_type_labels( $post_type_object ) { 
    16871687        $nohier_vs_hier_defaults              = array(
    16881688                'name'                     => array( _x( 'Posts', 'post type general name' ), _x( 'Pages', 'post type general name' ) ),
    16891689                'singular_name'            => array( _x( 'Post', 'post type singular name' ), _x( 'Page', 'post type singular name' ) ),
    1690                 'add_new'                  => array( _x( 'Add New', 'post' ), _x( 'Add New', 'page' ) ),
     1690                'add_new'                  => array( __( 'Add New Post' ), __( 'Add New Page' ) ),
    16911691                'add_new_item'             => array( __( 'Add New Post' ), __( 'Add New Page' ) ),
    16921692                'edit_item'                => array( __( 'Edit Post' ), __( 'Edit Page' ) ),
    16931693                'new_item'                 => array( __( 'New Post' ), __( 'New Page' ) ),