Changeset 12729
- Timestamp:
- 07/10/2023 10:33:57 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
r12728 r12729 531 531 532 532 // Bail if not photo post type or not pending. 533 if ( get_post_type( $post ) !== $post_type || 'pending' !== $post->post_status) {533 if ( get_post_type( $post ) !== $post_type || ! in_array( $post->post_status, Photo::get_pending_post_statuses() ) ) { 534 534 return; 535 535 }
Note: See TracChangeset
for help on using the changeset viewer.