Make WordPress Core


Ignore:
Timestamp:
09/20/2024 01:53:52 AM (2 years ago)
Author:
noisysocks
Message:

Editor: Update packages for 6.7 Beta 1.

Syncs @wordpress/* packages to the wp-6.7 npm tag.

Fixes #61906.
Props peterwilsoncc, gziolo, kevin940726.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/post-template.php

    r58187 r59072  
    6565                        $query = clone $wp_query;
    6666                        $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                        }
    6772                } else {
    6873                        $query = $wp_query;
Note: See TracChangeset for help on using the changeset viewer.