Make WordPress Core


Ignore:
Timestamp:
10/17/2023 02:12:07 AM (14 months ago)
Author:
hellofromTonya
Message:

Twenty Twenty-Four: Bugfixes for 6.4 RC1.

Resyncing changes for TT4 into Core.

Changes include:

  • Reformatted all the patterns for readability.
  • Bugfixes in the markup and improvements on the string translation functions.
  • Renaming of some patterns, making them consistent with the content they show and whether they are simple patterns, full-page patterns or patterns meant to replace templates.

Follow-up to [56813], [56764], [56716].

Props richtabor, onemaggie, luminuu, shailu25, dunhakdis, shivashankerbhatta, dajeema, enodekciw, kafleg, viralsampat, glendaviesnz, beafialho, webmandesign, huzaifaalmesbah, gregfuller, benharri.
Fixes #59640.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/posts-1-col.php

    r56950 r56951  
    11<?php
    22/**
    3  * Title: List of Posts in one column
    4  * Slug: twentytwentyfour/posts-one-column
     3 * Title: List of posts, 1 column
     4 * Slug: twentytwentyfour/posts-1-col
    55 * Categories: query
    66 * Block Types: core/query
     
    88?>
    99
    10 <!-- wp:query {"query":{"perPage":3,"pages":0,"offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"full","layout":{"type":"constrained"}} -->
    11 <div class="wp-block-query alignfull">
     10<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"layout":{"type":"constrained"}} -->
     11<div class="wp-block-query">
    1212    <!-- wp:query-no-results -->
    13         <!-- wp:pattern {"slug":"twentytwentyfour/no-results-content"} /-->
     13    <!-- wp:pattern {"slug":"twentytwentyfour/hidden-no-results"} /-->
    1414    <!-- /wp:query-no-results -->
    1515
     
    1717    <div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0">
    1818        <!-- wp:post-template {"align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"default","columnCount":3}} -->
    19             <!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|20"}}}} /-->
    20             <!-- wp:group {"style":{"spacing":{"blockGap":"8px"}},"layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap"}} -->
    21             <div class="wp-block-group">
    22                 <!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"bottom":"0"}}},"fontSize":"x-large"} /-->
    23                 <!-- wp:template-part {"slug":"post-meta"} /-->
    24                 <!-- wp:post-excerpt {"fontSize":"small"} /-->
    25                 <!-- wp:spacer {"height":"var:preset|spacing|30"} -->
    26                 <div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div>
    27                 <!-- /wp:spacer -->
     19        <!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|20"}}}} /-->
     20        <!-- wp:group {"style":{"spacing":{"blockGap":"8px"}},"layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap"}} -->
     21        <div class="wp-block-group">
     22            <!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"bottom":"0"}}},"fontSize":"x-large"} /-->
     23            <!-- wp:template-part {"slug":"post-meta"} /-->
     24            <!-- wp:post-excerpt {"fontSize":"small"} /-->
     25            <!-- wp:spacer {"height":"var:preset|spacing|30"} -->
     26            <div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer">
    2827            </div>
    29             <!-- /wp:group -->
     28            <!-- /wp:spacer -->
     29        </div>
     30        <!-- /wp:group -->
    3031        <!-- /wp:post-template -->
    3132        <!-- wp:spacer {"height":"var:preset|spacing|50","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
Note: See TracChangeset for help on using the changeset viewer.