Changeset 14355 for sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/moderation.php
- Timestamp:
- 01/13/2025 06:58:40 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/moderation.php
r14055 r14355 806 806 echo '<table id="dashboard-photo-moderators" class="wp-list-table widefat fixed striped table-view-list">'; 807 807 echo '<thead><tr>'; 808 echo '<th>' . __( 'Username', 'wporg-photos' ) . '</th>'; 809 echo '<th>' . __( 'Name', 'wporg-photos' ) . '</th>'; 808 echo '<th>' . __( 'Moderator', 'wporg-photos' ) . '</th>'; 810 809 echo '<th class="col-num-approved" title="' . esc_attr__( 'Number of photos approved', 'wporg-photos' ) . '"><span class="dashicons dashicons-thumbs-up"></span></th>'; 811 810 echo '<th class="col-num-rejected" title="' . esc_attr__( 'Number of photos rejected', 'wporg-photos' ) . '"><span class="dashicons dashicons-thumbs-down"></span></th>'; … … 824 823 825 824 echo '<tr>'; 826 echo '<td>' . sprintf( '<a href="%s">%s</a>', esc_url( 'https://profiles.wordpress.org/' . $user->user_nicename . '/' ), $user->user_nicename ) . '</td>'; 827 echo '<td>' . esc_html( $user->display_name ) . '</td>'; 825 echo '<td>'; 826 printf( 827 '<a href="%s">@%s</a><br>%s', 828 esc_url( 'https://profiles.wordpress.org/' . $user->user_nicename . '/' ), 829 esc_html( $user->user_nicename ), 830 esc_html( $user->display_name ) 831 ); 832 echo '</td>'; 828 833 829 834 $base_edit_url = add_query_arg( [ 'post_type' => Registrations::get_post_type(), 'author' => $user->ID ], admin_url( 'edit.php' ) );
Note: See TracChangeset
for help on using the changeset viewer.