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-grid-posts.php

    r50971 r51101  
    1212    'content'    => '<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3}} -->
    1313                    <div class="wp-block-query">
    14                     <!-- wp:query-loop -->
     14                    <!-- wp:post-template -->
    1515                    <!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
    1616                    <main class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:post-title {"isLink":true} /-->
     
    1818                    <!-- wp:post-date /--></div>
    1919                    <!-- /wp:group -->
    20                     <!-- /wp:query-loop -->
     20                    <!-- /wp:post-template -->
    2121                    </div>
    2222                    <!-- /wp:query -->',
Note: See TracChangeset for help on using the changeset viewer.