Changeset 53102 for trunk/src/wp-admin/user-edit.php
- Timestamp:
- 04/08/2022 12:01:18 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-edit.php
r53101 r53102 743 743 $blogs = get_blogs_of_user( $user_id, true ); 744 744 $blogs_count = count( $blogs ); 745 745 746 if ( $blogs_count > 1 ) : 746 747 ?> … … 748 749 <?php 749 750 /* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */ 750 $m sg_fmt= _n(751 $message = _n( 751 752 'Application passwords grant access to <a href="%1$s">the %2$s site in this installation that you have permissions on</a>.', 752 753 'Application passwords grant access to <a href="%1$s">all %2$s sites in this installation that you have permissions on</a>.', 753 754 $blogs_count 754 755 ); 756 755 757 if ( is_super_admin( $user_id ) ) { 756 $msg_fmt = _n( 758 /* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */ 759 $message = _n( 757 760 'Application passwords grant access to <a href="%1$s">the %2$s site on the network as you have Super Admin rights</a>.', 758 761 'Application passwords grant access to <a href="%1$s">all %2$s sites on the network as you have Super Admin rights</a>.', … … 760 763 ); 761 764 } 765 762 766 printf( 763 $m sg_fmt,767 $message, 764 768 admin_url( 'my-sites.php' ), 765 769 number_format_i18n( $blogs_count )
Note: See TracChangeset
for help on using the changeset viewer.