Changeset 14533 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/admin/class-user-registrations-list-table.php
- Timestamp:
- 09/18/2025 05:11:40 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/admin/class-user-registrations-list-table.php
r14531 r14533 517 517 function column_scores( $item ) { 518 518 519 echo ( $item->cleared ? 'Passed' : 'Failed' ) . '<br>'; 519 echo ( $item->cleared ? 'Passed' : 'Failed' ); 520 if ( $item->cleared && 'spectator' === ( $item->meta->role ?? '' ) ) { 521 echo ' (mark as: spectator)'; 522 } 523 echo '<br>'; 520 524 521 525 foreach ( $item->scores as $type => $val ) { … … 585 589 $url = wp_nonce_url( $url, 'clear_' . $item->user_email ); 586 590 $row_actions['approve-reg'] = '<a href="' . esc_url( $url ) . '">Approve</a>'; 591 $row_actions['approve-spectator'] = '<a href="' . esc_url( add_query_arg( 'role', 'spectator', $url ) ) . '">Approve as Spectator</a>'; 587 592 } 588 593
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)