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/patterns/hidden-post-meta.php

    r56764 r56951  
    11<?php
    22/**
    3  * Title: Post Meta
    4  * slug: twentytwentyfour/post-meta
    5  * inserter: no
     3 * Title: Post meta
     4 * Slug: twentytwentyfour/hidden-post-meta
     5 * Inserter: no
    66 */
    77?>
    88
    99<!-- wp:group {"layout":{"type":"constrained"}} -->
    10 <div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0.3em"}},"layout":{"type":"flex","justifyContent":"left"}} -->
    11 <div class="wp-block-group"><!-- wp:post-date {"format":"M j, Y","isLink":true} /-->
     10<div class="wp-block-group">
     11    <!-- wp:group {"style":{"spacing":{"blockGap":"0.3em"}},"layout":{"type":"flex","justifyContent":"left"}} -->
     12    <div class="wp-block-group">
     13        <!-- wp:post-date {"format":"M j, Y","isLink":true} /-->
    1214
    13 <!-- wp:paragraph {"textColor":"contrast-2"} -->
    14 <p class="has-contrast-2-color has-text-color">—</p>
    15 <!-- /wp:paragraph -->
     15        <!-- wp:paragraph {"textColor":"contrast-2"} -->
     16        <p class="has-contrast-2-color has-text-color">—</p>
     17        <!-- /wp:paragraph -->
    1618
    17 <!-- wp:paragraph {"fontSize":"small","textColor":"contrast-2"} -->
    18 <p class="has-small-font-size has-contrast-2-color has-text-color"><?php echo esc_html_x( 'by', 'Prefix for the post author block: By author name', 'twentytwentyfour' ); ?></p>
    19 <!-- /wp:paragraph -->
     19        <!-- wp:paragraph {"fontSize":"small","textColor":"contrast-2"} -->
     20        <p class="has-small-font-size has-contrast-2-color has-text-color"><?php echo esc_html_x( 'by', 'Prefix for the post author block: By author name', 'twentytwentyfour' ); ?></p>
     21        <!-- /wp:paragraph -->
    2022
    21 <!-- wp:post-author-name {"isLink":true} /-->
     23        <!-- wp:post-author-name {"isLink":true} /-->
    2224
    23 <!-- wp:post-terms {"term":"category","prefix":"<?php echo esc_html_x( 'in ', 'Prefix for the post category block: in category name', 'twentytwentyfour' ); ?>"} /-->
     25        <!-- wp:post-terms {"term":"category","prefix":"<?php echo esc_html_x( 'in ', 'Prefix for the post category block: in category name', 'twentytwentyfour' ); ?>"} /-->
    2426
     27    </div>
     28    <!-- /wp:group -->
    2529</div>
    26 <!-- /wp:group --></div>
    2730<!-- /wp:group -->
Note: See TracChangeset for help on using the changeset viewer.