Changeset 51177 for trunk/src/wp-admin/users.php
- Timestamp:
- 06/17/2021 02:35:59 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/users.php
r50582 r51177 618 618 if ( current_user_can( 'create_users' ) ) { 619 619 ?> 620 <a href="<?php echo admin_url( 'user-new.php'); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>620 <a href="<?php echo esc_url( admin_url( 'user-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a> 621 621 <?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?> 622 <a href="<?php echo admin_url( 'user-new.php'); ?>" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a>622 <a href="<?php echo esc_url( admin_url( 'user-new.php' ) ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a> 623 623 <?php 624 624 }
Note: See TracChangeset
for help on using the changeset viewer.