Changeset 17336
- Timestamp:
- 01/20/2011 10:08:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-ms-sites-list-table.php
r17322 r17336 300 300 if ( count( $blogusers ) > 5 ) { 301 301 $blogusers = array_slice( $blogusers, 0, 5 ); 302 $blogusers_warning = __( 'Only showing first 5 users.' ) . ' <a href="' . esc_url( get_admin_url( $blog['blog_id'], 'users.php') ) . '">' . __( 'More' ) . '</a>';302 $blogusers_warning = __( 'Only showing first 5 users.' ) . ' <a href="' . esc_url( network_admin_url( 'site-users.php?id=' . $blog['blog_id'] ) ) . '">' . __( 'More' ) . '</a>'; 303 303 } 304 304 foreach ( $blogusers as $user_object ) { 305 echo '<a href="' . esc_url( admin_url( 'user-edit.php?user_id=' . $user_object->ID ) ) . '">' . esc_html( $user_object->user_login ) . '</a> ';305 echo '<a href="' . esc_url( network_admin_url( 'user-edit.php?user_id=' . $user_object->ID ) ) . '">' . esc_html( $user_object->user_login ) . '</a> '; 306 306 if ( 'list' != $mode ) 307 307 echo '( ' . $user_object->user_email . ' )';
Note: See TracChangeset
for help on using the changeset viewer.