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 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfour/templates/single-with-sidebar.html

    r56813 r56951  
    1 <!-- wp:template-part {"slug":"header"} /-->
     1<!-- wp:template-part {"slug":"header","area":"header","tagName":"header"} /-->
    22
    33<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0vh","bottom":"0vh"},"padding":{"top":"10vh","bottom":"8vh"}}},"layout":{"type":"constrained"}} -->
    4 <main class="wp-block-group" style="margin-top:0vh;margin-bottom:0vh;padding-top:10vh;padding-bottom:8vh"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"1rem","left":"1rem"}}}} -->
    5 <div class="wp-block-columns alignwide"><!-- wp:column {"width":"10%"} -->
    6 <div class="wp-block-column" style="flex-basis:10%"></div>
    7 <!-- /wp:column -->
     4<main class="wp-block-group" style="margin-top:0vh;margin-bottom:0vh;padding-top:10vh;padding-bottom:8vh">
     5    <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"1rem","left":"1rem"},"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} -->
     6    <div class="wp-block-columns alignwide" style="padding-right:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)">
     7        <!-- wp:column {"width":"70%"} -->
     8        <div class="wp-block-column" style="flex-basis:70%">
     9            <!-- wp:group {"layout":{"type":"constrained"}} -->
     10            <div class="wp-block-group">
     11                <!-- wp:post-featured-image {"style":{"spacing":{"padding":{"bottom":"2vh"}}}} /-->
    812
    9 <!-- wp:column {"width":"60%"} -->
    10 <div class="wp-block-column" style="flex-basis:60%"><!-- wp:group {"layout":{"type":"constrained"}} -->
    11 <div class="wp-block-group"><!-- wp:post-featured-image {"style":{"spacing":{"padding":{"bottom":"2vh"}}}} /--></div>
    12 <!-- /wp:group -->
     13                <!-- wp:post-title {"level":1,"fontSize":"x-large"} /-->
    1314
    14 <!-- wp:group {"style":{"spacing":{"blockGap":"1em","padding":{"top":"0vh","bottom":"2vh"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
    15 <div class="wp-block-group" style="padding-top:0vh;padding-bottom:2vh"><!-- wp:group {"layout":{"type":"constrained"}} -->
    16 <div class="wp-block-group"><!-- wp:post-title {"level":1,"fontSize":"x-large"} /--></div>
    17 <!-- /wp:group -->
     15                <!-- wp:template-part {"slug":"post-meta"} /-->
    1816
    19 <!-- wp:template-part {"slug":"post-meta"} /--></div>
    20 <!-- /wp:group -->
     17                <!-- wp:spacer {"height":"var:preset|spacing|10"} -->
     18                <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer"></div>
     19                <!-- /wp:spacer -->
    2120
    22 <!-- wp:group {"layout":{"type":"constrained"}} -->
    23 <div class="wp-block-group">
    24 <!-- wp:post-content {"lock":{"move":false,"remove":true},"layout":{"type":"constrained"}} /-->
     21            </div>
     22            <!-- /wp:group -->
    2523
    26 <!-- wp:post-terms {"term":"post_tag","separator":"  "} /--></div>
    27 <!-- /wp:group -->
     24            <!-- wp:group {"layout":{"type":"constrained"}} -->
     25            <div class="wp-block-group">
     26                <!-- wp:post-content {"lock":{"move":false,"remove":true},"layout":{"type":"constrained"}} /-->
    2827
    29 <!-- wp:group {"layout":{"type":"constrained"}} -->
    30 <div class="wp-block-group"><!-- wp:spacer {"height":"4rem"} -->
    31 <div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
    32 <!-- /wp:spacer -->
     28                <!-- wp:post-terms {"term":"post_tag","separator":"  "} /-->
     29            </div>
     30            <!-- /wp:group -->
    3331
    34 <!-- wp:pattern {"slug":"twentytwentyfour/comments"} /-->
     32            <!-- wp:group {"layout":{"type":"constrained"}} -->
     33            <div class="wp-block-group">
     34                <!-- wp:spacer {"height":"4rem"} -->
     35                <div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
     36                <!-- /wp:spacer -->
    3537
    36 <!-- wp:spacer {"height":"4rem"} -->
    37 <div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
    38 <!-- /wp:spacer -->
     38                <!-- wp:pattern {"slug":"twentytwentyfour/hidden-comments"} /-->
    3939
    40 <!-- wp:pattern {"slug":"twentytwentyfour/post-navigation"} /-->
     40                <!-- wp:spacer {"height":"4rem"} -->
     41                <div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
     42                <!-- /wp:spacer -->
    4143
    42 </div>
    43 <!-- /wp:group --></div>
    44 <!-- /wp:column -->
     44                <!-- wp:pattern {"slug":"twentytwentyfour/hidden-post-navigation"} /-->
    4545
    46 <!-- wp:column {"width":"10%"} -->
    47 <div class="wp-block-column" style="flex-basis:10%"></div>
    48 <!-- /wp:column -->
     46            </div>
     47            <!-- /wp:group -->
     48        </div>
     49        <!-- /wp:column -->
    4950
    50 <!-- wp:column {"width":"30%"} -->
    51 <div class="wp-block-column" style="flex-basis:30%"><!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /--></div>
    52 <!-- /wp:column -->
    53 
    54 <!-- wp:column {"width":"10%"} -->
    55 <div class="wp-block-column" style="flex-basis:10%"></div>
    56 <!-- /wp:column --></div>
    57 <!-- /wp:columns --></main>
     51        <!-- wp:column {"width":"30%"} -->
     52        <div class="wp-block-column" style="flex-basis:30%">
     53            <!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /-->
     54        </div>
     55        <!-- /wp:column -->
     56    </div>
     57    <!-- /wp:columns -->
     58</main>
    5859<!-- /wp:group -->
    5960
Note: See TracChangeset for help on using the changeset viewer.