Changeset 59079 for trunk/src/wp-includes/blocks/post-template.php
- Timestamp:
- 09/23/2024 06:50:27 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks/post-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/post-template.php
r59072 r59079 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 }72 67 } else { 73 68 $query = $wp_query;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)