Changeset 12698
- Timestamp:
- 07/03/2023 07:06:04 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/photo.php
r12690 r12698 1001 1001 * This only applies for unpublished photos that also meet one of these 1002 1002 * criteria: 1003 * - Post status is 'flagged' 1003 1004 * - Flagged by Vision as being "possible" or more likely in any criteria category 1004 1005 * … … 1019 1020 } 1020 1021 1022 $post_status = get_post_status( $post ); 1023 1021 1024 // Not controversial if it has been published. 1022 if ( 'publish' === get_post_status( $post ) ) { 1023 return false; 1025 if ( 'publish' === $post_status ) { 1026 return false; 1027 } 1028 1029 // Controversial if photo is outright flagged. 1030 if ( Flagged::get_post_status() === $post_status ) { 1031 return true; 1024 1032 } 1025 1033
Note: See TracChangeset
for help on using the changeset viewer.