Changeset 59072 for trunk/src/wp-includes/blocks/post-template.php
- Timestamp:
- 09/20/2024 01:53:52 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/post-template.php
r58187 r59072 65 65 $query = clone $wp_query; 66 66 $query->rewind_posts(); 67 68 // If in a single post of any post type, default to the 'post' post type. 69 if ( is_singular() ) { 70 query_posts( array( 'post_type' => 'post' ) ); 71 } 67 72 } else { 68 73 $query = $wp_query;
Note: See TracChangeset
for help on using the changeset viewer.