Changeset 59593
- Timestamp:
- 01/08/2025 05:46:54 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r59584 r59593 7256 7256 7257 7257 // Don't bother if it hasn't changed. 7258 if ( $new_date == $previous_date ) {7258 if ( $new_date === $previous_date ) { 7259 7259 return; 7260 7260 } 7261 7261 7262 7262 // We're only concerned with published, non-hierarchical objects. 7263 if ( ! ( 'publish' === $post->post_status || ( 'attachment' === get_post_type( $post ) && 'inherit' === $post->post_status ) ) || is_post_type_hierarchical( $post->post_type ) ) { 7263 if ( ! ( 'publish' === $post->post_status || ( 'attachment' === $post->post_type && 'inherit' === $post->post_status ) ) 7264 || is_post_type_hierarchical( $post->post_type ) 7265 ) { 7264 7266 return; 7265 7267 }
Note: See TracChangeset
for help on using the changeset viewer.