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.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","align":"full"} -->
    4 <main class="wp-block-group alignfull"><!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50"},"margin":{"bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} -->
    5 <div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--40);padding-top:var(--wp--preset--spacing--50)"><!-- wp:post-featured-image {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
     4<main class="wp-block-group alignfull">
     5    <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50"},"margin":{"bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} -->
     6    <div class="wp-block-group"
     7        style="margin-bottom:var(--wp--preset--spacing--40);padding-top:var(--wp--preset--spacing--50)">
     8        <!-- wp:post-featured-image {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
    69
    7 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10","padding":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
    8 <div class="wp-block-group" style="padding-top:0;padding-bottom:0"><!-- wp:group {"layout":{"type":"constrained"}} -->
    9 <div class="wp-block-group"><!-- wp:post-title {"level":1,"fontSize":"x-large"} /--></div>
    10 <!-- /wp:group -->
     10        <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10","padding":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
     11        <div class="wp-block-group" style="padding-top:0;padding-bottom:0">
     12            <!-- wp:post-title {"level":1,"fontSize":"x-large"} /-->
    1113
    12 <!-- wp:template-part {"slug":"post-meta"} /--></div>
    13 <!-- /wp:group --></div>
    14 <!-- /wp:group -->
     14            <!-- wp:template-part {"slug":"post-meta"} /-->
     15        </div>
     16        <!-- /wp:group -->
     17    </div>
     18    <!-- /wp:group -->
    1519
    16 <!-- wp:post-content {"lock":{"move":false,"remove":true},"align":"full","layout":{"type":"constrained"}} /-->
     20    <!-- wp:post-content {"lock":{"move":false,"remove":true},"align":"full","layout":{"type":"constrained"}} /-->
    1721
    18 <!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"},"padding":{"bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
    19 <div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--50)">
    20     <!-- wp:post-terms {"term":"post_tag","separator":"  ","className":"is-style-pill"} /-->
     22    <!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"},"padding":{"bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
     23    <div class="wp-block-group"
     24        style="margin-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--50)">
     25        <!-- wp:post-terms {"term":"post_tag","separator":"  ","className":"is-style-pill"} /-->
    2126
    22 <!-- wp:group {"layout":{"type":"constrained"}} -->
    23 <div class="wp-block-group"><!-- wp:spacer {"height":"var:preset|spacing|40"} -->
    24 <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
    25 <!-- /wp:spacer -->
     27        <!-- wp:group {"layout":{"type":"constrained"}} -->
     28        <div class="wp-block-group">
     29            <!-- wp:spacer {"height":"var:preset|spacing|40"} -->
     30            <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer">
     31            </div>
     32            <!-- /wp:spacer -->
    2633
    27 <!-- wp:separator {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}},"backgroundColor":"accent"} -->
    28 <hr class="wp-block-separator has-text-color has-accent-color has-alpha-channel-opacity has-accent-background-color has-background" style="margin-bottom:var(--wp--preset--spacing--40)"/>
    29 <!-- /wp:separator -->
     34            <!-- wp:separator {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}},"backgroundColor":"base-3","className":"is-style-wide"} -->
     35            <hr class="wp-block-separator has-text-color has-base-3-color has-alpha-channel-opacity has-base-3-background-color has-background is-style-wide" style="margin-bottom:var(--wp--preset--spacing--40)"/>
     36            <!-- /wp:separator -->
    3037
    31 <!-- wp:pattern {"slug":"twentytwentyfour/comments"} /-->
     38            <!-- wp:pattern {"slug":"twentytwentyfour/hidden-comments"} /-->
    3239
    33 <!-- wp:spacer {"height":"var:preset|spacing|40"} -->
    34 <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
    35 <!-- /wp:spacer -->
     40            <!-- wp:pattern {"slug":"twentytwentyfour/hidden-post-navigation"} /-->
    3641
    37 <!-- wp:pattern {"slug":"twentytwentyfour/post-navigation"} /-->
    38 
    39 </div>
    40 <!-- /wp:group --></div>
    41 <!-- /wp:group --></main>
     42        </div>
     43        <!-- /wp:group -->
     44    </div>
     45    <!-- /wp:group -->
     46</main>
    4247<!-- /wp:group -->
    4348
Note: See TracChangeset for help on using the changeset viewer.