Changeset 59596
- Timestamp:
- 01/10/2025 06:12:08 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r59593 r59596 7359 7359 if ( null === $post_author || ! $full ) { 7360 7360 $post_status_sql .= " OR post_status = 'private' AND post_author = $id"; 7361 } elseif ( $id == (int) $post_author ) {7361 } elseif ( $id === (int) $post_author ) { 7362 7362 $post_status_sql .= " OR post_status = 'private'"; 7363 7363 } // Else none.
Note: See TracChangeset
for help on using the changeset viewer.