Changeset 58174 for trunk/src/wp-includes/post.php
- Timestamp:
- 05/20/2024 09:47:41 AM (23 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r58055 r58174 1220 1220 */ 1221 1221 function get_post_status( $post = null ) { 1222 $post = get_post( $post ); 1222 if ( $post instanceof WP_Post && isset( $post->filter ) && 'sample' === $post->filter ) { 1223 // Skip normalization 1224 } else { 1225 $post = get_post( $post ); 1226 } 1223 1227 1224 1228 if ( ! is_object( $post ) ) {
Note: See TracChangeset
for help on using the changeset viewer.