Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/simplify add new item labels #8167

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/wp-admin/edit-link-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
$nonce_action = 'update-bookmark_' . $link_id;
} else {
/* translators: %s: URL to Links screen. */
$heading = sprintf( __( '<a href="%s">Links</a> / Add New Link' ), 'link-manager.php' );
$heading = sprintf( __( '<a href="%s">Links</a> / Add Link' ), 'link-manager.php' );
$submit_text = __( 'Add Link' );
$form_name = 'addlink';
$nonce_action = 'add-bookmark';
Expand Down Expand Up @@ -87,7 +87,7 @@
?>
</h1>

<a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add New Link' ); ?></a>
<a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add Link' ); ?></a>

<hr class="wp-header-end">

Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/includes/meta-boxes.php
Original file line number Diff line number Diff line change
Expand Up @@ -1200,12 +1200,12 @@ function link_categories_meta_box( $link ) {
</div>

<div id="category-adder" class="wp-hidden-children">
<a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add New Category' ); ?></a>
<a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add Category' ); ?></a>
<p id="link-category-add" class="wp-hidden-child">
<label class="screen-reader-text" for="newcat">
<?php
/* translators: Hidden accessibility text. */
_e( '+ Add New Category' );
_e( '+ Add Category' );
?>
</label>
<input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" />
Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/includes/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $
<legend>
<span class="hidden" id="editlegend"><?php _e( 'Edit Comment' ); ?></span>
<span class="hidden" id="replyhead"><?php _e( 'Reply to Comment' ); ?></span>
<span class="hidden" id="addhead"><?php _e( 'Add New Comment' ); ?></span>
<span class="hidden" id="addhead"><?php _e( 'Add Comment' ); ?></span>
</legend>

<div id="replycontainer">
Expand Down Expand Up @@ -735,7 +735,7 @@ function meta_form( $post = null ) {
natcasesort( $keys );
}
?>
<p><strong><?php _e( 'Add New Custom Field:' ); ?></strong></p>
<p><strong><?php _e( 'Add Custom Field:' ); ?></strong></p>
<table id="newmeta">
<thead>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/link-add.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}

// Used in the HTML title tag.
$title = __( 'Add New Link' );
$title = __( 'Add Link' );
$parent_file = 'link-manager.php';

$action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : '';
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/link-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
?>
</h1>

<a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add New Link' ); ?></a>
<a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add Link' ); ?></a>

<?php
if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
Expand Down
14 changes: 7 additions & 7 deletions src/wp-admin/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

$menu[10] = array( __( 'Media' ), 'upload_files', 'upload.php', '', 'menu-top menu-icon-media', 'menu-media', 'dashicons-admin-media' );
$submenu['upload.php'][5] = array( __( 'Library' ), 'upload_files', 'upload.php' );
$submenu['upload.php'][10] = array( __( 'Add New Media File' ), 'upload_files', 'media-new.php' );
$submenu['upload.php'][10] = array( __( 'Add Media File' ), 'upload_files', 'media-new.php' );
$i = 15;
foreach ( get_taxonomies_for_attachments( 'objects' ) as $tax ) {
if ( ! $tax->show_ui || ! $tax->show_in_menu ) {
Expand All @@ -78,7 +78,7 @@

$menu[15] = array( __( 'Links' ), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'dashicons-admin-links' );
$submenu['link-manager.php'][5] = array( _x( 'All Links', 'admin menu' ), 'manage_links', 'link-manager.php' );
$submenu['link-manager.php'][10] = array( __( 'Add New Link' ), 'manage_links', 'link-add.php' );
$submenu['link-manager.php'][10] = array( __( 'Add Link' ), 'manage_links', 'link-add.php' );
$submenu['link-manager.php'][15] = array( __( 'Link Categories' ), 'manage_categories', 'edit-tags.php?taxonomy=link_category' );

// $menu[20] = Pages.
Expand Down Expand Up @@ -297,7 +297,7 @@ function _add_plugin_file_editor_to_tools() {
$submenu['plugins.php'][5] = array( __( 'Installed Plugins' ), 'activate_plugins', 'plugins.php' );

if ( ! is_multisite() ) {
$submenu['plugins.php'][10] = array( __( 'Add New Plugin' ), 'install_plugins', 'plugin-install.php' );
$submenu['plugins.php'][10] = array( __( 'Add Plugin' ), 'install_plugins', 'plugin-install.php' );
if ( wp_is_block_theme() ) {
// Place the menu item below the Theme File Editor menu item.
add_action( 'admin_menu', '_add_plugin_file_editor_to_tools', 101 );
Expand All @@ -318,19 +318,19 @@ function _add_plugin_file_editor_to_tools() {
$_wp_real_parent_file['profile.php'] = 'users.php'; // Back-compat for plugins adding submenus to profile.php.
$submenu['users.php'][5] = array( __( 'All Users' ), 'list_users', 'users.php' );
if ( current_user_can( 'create_users' ) ) {
$submenu['users.php'][10] = array( __( 'Add New User' ), 'create_users', 'user-new.php' );
$submenu['users.php'][10] = array( __( 'Add User' ), 'create_users', 'user-new.php' );
} elseif ( is_multisite() ) {
$submenu['users.php'][10] = array( __( 'Add New User' ), 'promote_users', 'user-new.php' );
$submenu['users.php'][10] = array( __( 'Add User' ), 'promote_users', 'user-new.php' );
}

$submenu['users.php'][15] = array( __( 'Profile' ), 'read', 'profile.php' );
} else {
$_wp_real_parent_file['users.php'] = 'profile.php';
$submenu['profile.php'][5] = array( __( 'Profile' ), 'read', 'profile.php' );
if ( current_user_can( 'create_users' ) ) {
$submenu['profile.php'][10] = array( __( 'Add New User' ), 'create_users', 'user-new.php' );
$submenu['profile.php'][10] = array( __( 'Add User' ), 'create_users', 'user-new.php' );
} elseif ( is_multisite() ) {
$submenu['profile.php'][10] = array( __( 'Add New User' ), 'promote_users', 'user-new.php' );
$submenu['profile.php'][10] = array( __( 'Add User' ), 'promote_users', 'user-new.php' );
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/my-sites.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
if ( in_array( get_site_option( 'registration' ), array( 'all', 'blog' ), true ) ) {
/** This filter is documented in wp-login.php */
$sign_up_url = apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) );
printf( ' <a href="%s" class="page-title-action">%s</a>', esc_url( $sign_up_url ), esc_html__( 'Add New Site' ) );
printf( ' <a href="%s" class="page-title-action">%s</a>', esc_url( $sign_up_url ), esc_html__( 'Add Site' ) );
}

if ( empty( $blogs ) ) :
Expand Down
8 changes: 4 additions & 4 deletions src/wp-admin/network/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@
/* translators: Sites menu item. */
$menu[5] = array( __( 'Sites' ), 'manage_sites', 'sites.php', '', 'menu-top menu-icon-site', 'menu-site', 'dashicons-admin-multisite' );
$submenu['sites.php'][5] = array( __( 'All Sites' ), 'manage_sites', 'sites.php' );
$submenu['sites.php'][10] = array( __( 'Add New Site' ), 'create_sites', 'site-new.php' );
$submenu['sites.php'][10] = array( __( 'Add Site' ), 'create_sites', 'site-new.php' );

$menu[10] = array( __( 'Users' ), 'manage_network_users', 'users.php', '', 'menu-top menu-icon-users', 'menu-users', 'dashicons-admin-users' );
$submenu['users.php'][5] = array( __( 'All Users' ), 'manage_network_users', 'users.php' );
$submenu['users.php'][10] = array( __( 'Add New User' ), 'create_users', 'user-new.php' );
$submenu['users.php'][10] = array( __( 'Add User' ), 'create_users', 'user-new.php' );

if ( current_user_can( 'update_themes' ) && $update_data['counts']['themes'] ) {
$menu[15] = array(
Expand All @@ -78,7 +78,7 @@
$menu[15] = array( __( 'Themes' ), 'manage_network_themes', 'themes.php', '', 'menu-top menu-icon-appearance', 'menu-appearance', 'dashicons-admin-appearance' );
}
$submenu['themes.php'][5] = array( __( 'Installed Themes' ), 'manage_network_themes', 'themes.php' );
$submenu['themes.php'][10] = array( __( 'Add New Theme' ), 'install_themes', 'theme-install.php' );
$submenu['themes.php'][10] = array( __( 'Add Theme' ), 'install_themes', 'theme-install.php' );
$submenu['themes.php'][15] = array( __( 'Theme File Editor' ), 'edit_themes', 'theme-editor.php' );

if ( current_user_can( 'update_plugins' ) && $update_data['counts']['plugins'] ) {
Expand All @@ -103,7 +103,7 @@
$menu[20] = array( __( 'Plugins' ), 'manage_network_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'dashicons-admin-plugins' );
}
$submenu['plugins.php'][5] = array( __( 'Installed Plugins' ), 'manage_network_plugins', 'plugins.php' );
$submenu['plugins.php'][10] = array( __( 'Add New Plugin' ), 'install_plugins', 'plugin-install.php' );
$submenu['plugins.php'][10] = array( __( 'Add Plugin' ), 'install_plugins', 'plugin-install.php' );
$submenu['plugins.php'][15] = array( __( 'Plugin File Editor' ), 'edit_plugins', 'plugin-editor.php' );

$menu[25] = array( __( 'Settings' ), 'manage_network_options', 'settings.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings' );
Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/network/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@
</tr>

<tr id="addnewusers">
<th scope="row"><?php _e( 'Add New Users' ); ?></th>
<th scope="row"><?php _e( 'Add Users' ); ?></th>
<td>
<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>
<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 User" page' ); ?></label>
</td>
</tr>

Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/network/site-new.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
}

// Used in the HTML title tag.
$title = __( 'Add New Site' );
$title = __( 'Add Site' );
$parent_file = 'sites.php';

wp_enqueue_script( 'user-suggest' );
Expand All @@ -189,7 +189,7 @@
?>

<div class="wrap">
<h1 id="add-new-site"><?php _e( 'Add New Site' ); ?></h1>
<h1 id="add-new-site"><?php _e( 'Add Site' ); ?></h1>
<?php
if ( ! empty( $messages ) ) {
$notice_args = array(
Expand Down
5 changes: 4 additions & 1 deletion src/wp-admin/network/site-users.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@
/**
* Filters whether to show the Add New User form on the Multisite Users screen.
*
* Note: While WordPress is moving towards simplifying labels by removing "New" from "Add New X" labels,
* we keep "Add New User" here to maintain a clear distinction from the "Add Existing User" section above.
*
* @since 3.1.0
*
* @param bool $bool Whether to show the Add New User form. Default true.
Expand Down Expand Up @@ -374,7 +377,7 @@
</tr>
</table>
<?php wp_nonce_field( 'add-user', '_wpnonce_add-new-user' ); ?>
<?php submit_button( __( 'Add New User' ), 'primary', 'add-user', true, array( 'id' => 'submit-add-user' ) ); ?>
<?php submit_button( __( 'Add User' ), 'primary', 'add-user', true, array( 'id' => 'submit-add-user' ) ); ?>
</form>
<?php endif; ?>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/network/sites.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
'id' => 'overview',
'title' => __( 'Overview' ),
'content' =>
'<p>' . __( 'Add New Site takes you to the screen for adding a new site to the network. You can search for a site by Name, ID number, or IP address. Screen Options allows you to choose how many sites to display on one page.' ) . '</p>' .
'<p>' . __( 'Add Site takes you to the screen for adding a new site to the network. You can search for a site by Name, ID number, or IP address. Screen Options allows you to choose how many sites to display on one page.' ) . '</p>' .
'<p>' . __( 'This is the main table of all sites on this network. Switch between list and excerpt views by using the icons above the right side of the table.' ) . '</p>' .
'<p>' . __( 'Hovering over each site reveals seven options (three for the primary site):' ) . '</p>' .
'<ul><li>' . __( 'An Edit link to a separate Edit Site screen.' ) . '</li>' .
Expand Down Expand Up @@ -388,7 +388,7 @@
<h1 class="wp-heading-inline"><?php _e( 'Sites' ); ?></h1>

<?php if ( current_user_can( 'create_sites' ) ) : ?>
<a href="<?php echo esc_url( network_admin_url( 'site-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add New Site' ); ?></a>
<a href="<?php echo esc_url( network_admin_url( 'site-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add Site' ); ?></a>
<?php endif; ?>

<?php
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/network/themes.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@
<h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>

<?php if ( current_user_can( 'install_themes' ) ) : ?>
<a href="theme-install.php" class="page-title-action"><?php echo esc_html__( 'Add New Theme' ); ?></a>
<a href="theme-install.php" class="page-title-action"><?php echo esc_html__( 'Add Theme' ); ?></a>
<?php endif; ?>

<?php
Expand Down
6 changes: 3 additions & 3 deletions src/wp-admin/network/user-new.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Add New User network administration panel.
* Add User network administration panel.
*
* @package WordPress
* @subpackage Multisite
Expand Down Expand Up @@ -97,14 +97,14 @@
}

// Used in the HTML title tag.
$title = __( 'Add New User' );
$title = __( 'Add User' );
$parent_file = 'users.php';

require_once ABSPATH . 'wp-admin/admin-header.php';
?>

<div class="wrap">
<h1 id="add-new-user"><?php _e( 'Add New User' ); ?></h1>
<h1 id="add-new-user"><?php _e( 'Add User' ); ?></h1>
<?php
if ( '' !== $message ) {
wp_admin_notice(
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/network/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
<?php
if ( current_user_can( 'create_users' ) ) :
?>
<a href="<?php echo esc_url( network_admin_url( 'user-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add New User' ); ?></a>
<a href="<?php echo esc_url( network_admin_url( 'user-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add User' ); ?></a>
<?php
endif;

Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@
'<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>' .
'<p>' . sprintf(
/* translators: %s: WordPress Plugin Directory URL. */
__( '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 are free!' ),
__( 'If you would like to see more plugins to choose from, click on the &#8220;Add 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 are free!' ),
__( 'https://wordpress.org/plugins/' )
) . '</p>',
)
Expand Down Expand Up @@ -767,7 +767,7 @@
<?php
if ( ( ! is_multisite() || is_network_admin() ) && current_user_can( 'install_plugins' ) ) {
?>
<a href="<?php echo esc_url( self_admin_url( 'plugin-install.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add New Plugin' ); ?></a>
<a href="<?php echo esc_url( self_admin_url( 'plugin-install.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add Plugin' ); ?></a>
<?php
}

Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/theme-install.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
'adminUrl' => parse_url( self_admin_url(), PHP_URL_PATH ),
),
'l10n' => array(
'addNew' => __( 'Add New Theme' ),
'addNew' => __( 'Add Theme' ),
'search' => __( 'Search Themes' ),
'upload' => __( 'Upload Theme' ),
'back' => __( 'Back' ),
Expand Down
6 changes: 3 additions & 3 deletions src/wp-admin/themes.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
} else {
$help_install = '<p>' . sprintf(
/* translators: %s: https://wordpress.org/themes/ */
__( 'If you would like to see more themes to choose from, click on the &#8220;Add New Theme&#8221; button and you will be able to browse or search for additional themes from the <a href="%s">WordPress Theme Directory</a>. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they are free!' ),
__( 'If you would like to see more themes to choose from, click on the &#8220;Add Theme&#8221; button and you will be able to browse or search for additional themes from the <a href="%s">WordPress Theme Directory</a>. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they are free!' ),
__( 'https://wordpress.org/themes/' )
) . '</p>';
}
Expand Down Expand Up @@ -231,7 +231,7 @@
'adminUrl' => parse_url( admin_url(), PHP_URL_PATH ),
),
'l10n' => array(
'addNew' => __( 'Add New Theme' ),
'addNew' => __( 'Add Theme' ),
'search' => __( 'Search installed themes' ),
/* translators: %d: Number of themes. */
'themesFound' => __( 'Number of Themes found: %d' ),
Expand All @@ -252,7 +252,7 @@
<span class="title-count theme-count"><?php echo ! empty( $_GET['search'] ) ? __( '&hellip;' ) : count( $themes ); ?></span>
</h1>
<?php if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?>
<a href="<?php echo esc_url( admin_url( 'theme-install.php' ) ); ?>" class="hide-if-no-js page-title-action"><?php echo esc_html__( 'Add New Theme' ); ?></a>
<a href="<?php echo esc_url( admin_url( 'theme-install.php' ) ); ?>" class="hide-if-no-js page-title-action"><?php echo esc_html__( 'Add Theme' ); ?></a>
<?php endif; ?>
<hr class="wp-header-end">
<form class="search-form search-themes"><p class="search-box"></p></form>
Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function () {
<?php
if ( current_user_can( 'upload_files' ) ) {
?>
<a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action aria-button-if-js"><?php echo esc_html__( 'Add New Media File' ); ?></a>
<a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action aria-button-if-js"><?php echo esc_html__( 'Add Media File' ); ?></a>
<?php
}
?>
Expand Down Expand Up @@ -419,7 +419,7 @@ function () {
<?php
if ( current_user_can( 'upload_files' ) ) {
?>
<a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add New Media File' ); ?></a>
<a href="<?php echo esc_url( admin_url( 'media-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html__( 'Add Media File' ); ?></a>
<?php
}

Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/user-edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@

<?php if ( ! IS_PROFILE_PAGE ) : ?>
<?php if ( current_user_can( 'create_users' ) ) : ?>
<a href="user-new.php" class="page-title-action"><?php echo esc_html__( 'Add New User' ); ?></a>
<a href="user-new.php" class="page-title-action"><?php echo esc_html__( 'Add User' ); ?></a>
<?php elseif ( is_multisite() && current_user_can( 'promote_users' ) ) : ?>
<a href="user-new.php" class="page-title-action"><?php echo esc_html__( 'Add Existing User' ); ?></a>
<?php endif; ?>
Expand Down Expand Up @@ -832,7 +832,7 @@
do_action( 'wp_create_application_password_form', $profile_user );
?>

<button type="button" name="do_new_application_password" id="do_new_application_password" class="button button-secondary"><?php _e( 'Add New Application Password' ); ?></button>
<button type="button" name="do_new_application_password" id="do_new_application_password" class="button button-secondary"><?php _e( 'Add Application Password' ); ?></button>
</div>
<?php
else :
Expand Down
Loading
Loading