Make WordPress Core


Ignore:
Timestamp:
10/17/2023 02:12:07 AM (21 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-3-col.php

    r56950 r56951  
    11<?php
    22/**
    3  * Title: List of posts in three columns
    4  * Description: The default post list with featured images, title, date, author, categories and excerpt.
    5  * Slug: twentytwentyfour/posts-three-columns
     3 * Title: List of posts, 3 columns
     4 * Slug: twentytwentyfour/posts-3-col
    65 * Categories: query
    76 * Block Types: core/query
     
    1211<div class="wp-block-query alignwide">
    1312    <!-- wp:query-no-results -->
    14         <!-- wp:pattern {"slug":"twentytwentyfour/no-results-content"} /-->
     13    <!-- wp:pattern {"slug":"twentytwentyfour/hidden-no-results"} /-->
    1514    <!-- /wp:query-no-results -->
    1615
     
    2019        <!-- wp:post-template {"align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"grid","columnCount":3}} -->
    2120
    22             <!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/4","style":{"spacing":{"margin":{"bottom":"0"},"padding":{"bottom":"var:preset|spacing|20"}}}} /-->
     21        <!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/4","style":{"spacing":{"margin":{"bottom":"0"},"padding":{"bottom":"var:preset|spacing|20"}}}} /-->
    2322
    24             <!-- wp:group {"style":{"spacing":{"blockGap":"10px","margin":{"top":"var:preset|spacing|20"},"padding":{"top":"0"}}},"layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap"}} -->
    25             <div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--20);padding-top:0">
    26                 <!-- wp:post-title {"isLink":true,"style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}},"fontSize":"large"} /-->
     23        <!-- wp:group {"style":{"spacing":{"blockGap":"10px","margin":{"top":"var:preset|spacing|20"},"padding":{"top":"0"}}},"layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap"}} -->
     24        <div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--20);padding-top:0">
     25            <!-- wp:post-title {"isLink":true,"style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}},"fontSize":"large"} /-->
    2726
    28                 <!-- wp:template-part {"slug":"post-meta"} /-->
     27            <!-- wp:template-part {"slug":"post-meta"} /-->
    2928
    30                 <!-- wp:post-excerpt {"style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}},"textColor":"contrast-2","fontSize":"small"} /-->
     29            <!-- wp:post-excerpt {"style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}},"textColor":"contrast-2","fontSize":"small"} /-->
    3130
    32                 <!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}}} -->
    33                 <div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
    34                 <!-- /wp:spacer -->
     31            <!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}}} -->
     32            <div style="height:0px" aria-hidden="true" class="wp-block-spacer">
    3533            </div>
    36             <!-- /wp:group -->
     34            <!-- /wp:spacer -->
     35        </div>
     36        <!-- /wp:group -->
    3737
    3838        <!-- /wp:post-template -->
Note: See TracChangeset for help on using the changeset viewer.