Making WordPress.org


Ignore:
Timestamp:
07/10/2023 10:28:42 PM (3 years ago)
Author:
coffee2code
Message:

Photo Directory, User: Update get_pending_photos() to account for all pending post statuses.

See #7119.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/user.php

    r12695 r12726  
    9090                        'posts_per_page' => -1,
    9191                        'author'         => $user_id,
    92                         'post_status'    => 'pending',
     92                        'post_status'    => Photo::get_pending_post_statuses(),
    9393                        'post_type'      => Registrations::get_post_type(),
    9494                ] );
Note: See TracChangeset for help on using the changeset viewer.