Make WordPress Core


Ignore:
Timestamp:
09/05/2023 07:24:31 PM (13 months ago)
Author:
joedolson
Message:

Administration: Add improved context for add new links.

Consistently expand Add New links to include the type of content to add. Improve consistency of text casing to use initial caps throughout.

Props afercia, gonzomir, alexstine, swissspidy, joedolson.
Fixes #47125.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/themes.php

    r56409 r56515  
    350350
    351351<?php if ( current_user_can( 'install_themes' ) ) : ?>
    352     <a href="theme-install.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'theme' ); ?></a>
     352    <a href="theme-install.php" class="page-title-action"><?php echo esc_html__( 'Add New Theme' ); ?></a>
    353353<?php endif; ?>
    354354
Note: See TracChangeset for help on using the changeset viewer.