WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/08/2021 05:31:14 PM (4 months 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-small-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 {"verticalAlignment":"center"} -->
    1616                    <div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"25%"} -->
     
    2121                    <!-- /wp:column --></div>
    2222                    <!-- /wp:columns -->
    23                     <!-- /wp:query-loop -->
     23                    <!-- /wp:post-template -->
    2424                    </div>
    2525                    <!-- /wp:query -->',
Note: See TracChangeset for help on using the changeset viewer.