Make WordPress Core


Ignore:
Timestamp:
06/08/2021 05:31:14 PM (4 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-standard-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:post-title {"isLink":true} /-->
    1616                    <!-- wp:post-featured-image  {"isLink":true,"align":"wide"} /-->
     
    2020                    <!-- /wp:separator -->
    2121                    <!-- wp:post-date /-->
    22                     <!-- /wp:query-loop -->
     22                    <!-- /wp:post-template -->
    2323                    </div>
    2424                    <!-- /wp:query -->',
Note: See TracChangeset for help on using the changeset viewer.