Changeset 49282 for trunk/src/wp-admin/user-edit.php
- Timestamp:
- 10/23/2020 01:17:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-edit.php
r49270 r49282 718 718 <?php 719 719 if ( is_multisite() ) { 720 $blogs = get_blogs_of_user( $user_id, true ); 721 if ( count( $blogs ) > 1 ) { 720 $blogs = get_blogs_of_user( $user_id, true ); 721 $blogs_count = count( $blogs ); 722 if ( $blogs_count > 1 ) { 722 723 ?> 723 724 <p> 724 <?php725 printf(726 /* translators: 1: urlto my-sites.php, 2: Number of blogs the user has. */727 _n(728 'Application passwords grant access to <a href="%1$s">the %2$s blog in this installation that you have permissions on</a>.',729 'Application passwords grant access to <a href="%1$s">all %2$s blogs in this installation that you have permissions on</a>.',730 count( $blogs )731 ),732 admin_url( 'my-sites.php' ),733 number_format_i18n( count( $blogs ))734 );735 ?>725 <?php 726 printf( 727 /* translators: 1: URL to my-sites.php, 2: Number of blogs the user has. */ 728 _n( 729 'Application passwords grant access to <a href="%1$s">the %2$s blog in this installation that you have permissions on</a>.', 730 'Application passwords grant access to <a href="%1$s">all %2$s blogs in this installation that you have permissions on</a>.', 731 $blogs_count 732 ), 733 admin_url( 'my-sites.php' ), 734 number_format_i18n( $blogs_count ) 735 ); 736 ?> 736 737 </p> 737 738 <?php
Note: See TracChangeset
for help on using the changeset viewer.