[wp-trac] [WordPress Trac] #55875: "Add New" plugin should be "Add Plugin" because it now allows updating an existing plugin as well
WordPress Trac
noreply at wordpress.org
Mon May 30 13:14:49 UTC 2022
#55875: "Add New" plugin should be "Add Plugin" because it now allows updating an
existing plugin as well
-------------------------+---------------------------------
Reporter: _smartik_ | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: | Focuses: ui, administration
-------------------------+---------------------------------
Comment (by SergeyBiryukov):
Hi there, welcome back to WordPress Trac! Thanks for the ticket.
Something to consider when looking into this is that the "Add New" string
is used in the admin menu for most of the WordPress entities and data
types:
{{{
_x( 'Add New', 'file' )
_x( 'Add New', 'link' )
_x( 'Add New', 'post' )
_x( 'Add New', 'page' )
_x( 'Add New', 'plugin' )
_x( 'Add New', 'site' )
_x( 'Add New', 'theme' )
_x( 'Add New', 'user' )
}}}
There are also a few more strings, which are not displayed in the admin
menu by default as far as I can tell, but follow the same pattern:
{{{
_x( 'Add New', 'add new media' )
_x( 'Add New', 'Customize Changeset' )
_x( 'Add New', 'Reusable block' )
_x( 'Add New', 'Template' )
_x( 'Add New', 'Template Part' )
_x( 'Add New', 'Navigation Menu' )
}}}
So it seems like changing `_x( 'Add New', 'plugin' )` to something else
would make it inconsistent with the other admin menu items.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55875#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list