Changeset 12728
- Timestamp:
- 07/10/2023 10:32:42 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/moderation.php
r12704 r12728 618 618 } 619 619 620 $pending = get_posts( [ 621 'posts_per_page' => -1, 622 'author' => (int) $user_id, 623 'post_status' => 'pending', 624 'post_type' => Registrations::get_post_type(), 625 ] ); 620 $pending = User::get_pending_photos( $user_id, '' ); 626 621 627 622 // Bail if user does not have any pending posts.
Note: See TracChangeset
for help on using the changeset viewer.