Changeset 11691
- Timestamp:
- 03/21/2022 10:12:19 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/admin.php
r11681 r11691 804 804 ?></li> 805 805 <li><?php 806 $pending_count = Photo::count_user_pending_photos( $author->ID ); 807 $link_args = [ 808 'post_type' => Registrations::get_post_type(), 809 'post_status' => 'pending', 810 'author' => $author->ID, 811 ]; 812 /* translators: %s: Linked number of photos submitted by user that have been rejected. */ 813 printf( 814 __( 'Pending photos: <strong>%s</strong>', 'wporg-photos' ), 815 ( 0 === $pending_count ) 816 ? $pending_count 817 : sprintf( '<a href="%s">%d</a>', add_query_arg( $link_args, 'edit.php' ), $pending_count ) 818 ); 819 ?></li> 820 <li><?php 806 821 /* translators: %s: Date user account was created. */ 807 822 printf( __( 'Created: <strong>%s</strong>', 'wporg-photos' ), $account_created ); ?></li>
Note: See TracChangeset
for help on using the changeset viewer.