Make WordPress Core


Ignore:
Timestamp:
06/08/2021 05:31:14 PM (3 years ago)
Author:
youknowriad
Message:

Block Editor: Package updates for WordPress 5.8 beta 1 (batch2).

This includes the following fixes:

  • Fix inspector opening when clicking outside the widget areas
  • Assume light theme when a transparent background is used
  • Make Post blocks non editable inside Query block
  • Rename QueryLoop to PostTemplate block

Props ntsekouras.
See #52991.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-patterns/query-medium-posts.php

    r50971 r51101  
    1212    'content'    => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
    1313                    <div class="wp-block-query">
    14                     <!-- wp:query-loop -->
     14                    <!-- wp:post-template -->
    1515                    <!-- wp:columns {"align":"wide"} -->
    1616                    <div class="wp-block-columns alignwide"><!-- wp:column {"width":"66.66%"} -->
     
    2222                    <!-- /wp:column --></div>
    2323                    <!-- /wp:columns -->
    24                     <!-- /wp:query-loop -->
     24                    <!-- /wp:post-template -->
    2525                    </div>
    2626                    <!-- /wp:query -->',
Note: See TracChangeset for help on using the changeset viewer.