Make WordPress Core


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

    r56950 r56951  
    11<?php
    22/**
    3  * Title: Footer portfolio
    4  * Slug: twentytwentyfour/footer-portfolio
     3 * Title: Footer with colophon, 3 columns
     4 * Slug: twentytwentyfour/footer-colophon-3-col
    55 * Categories: footer
    66 * Block Types: core/template-part/footer
     
    1313    <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)">
    1414        <!-- wp:image {"width":"40px","height":"auto","sizeSlug":"full","linkDestination":"none"} -->
    15         <figure class="wp-block-image size-full is-resized"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-message.webp" alt="" style="width:40px;height:auto"/></figure>
     15        <figure class="wp-block-image size-full is-resized">
     16            <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-message.webp" alt="" style="width:40px;height:auto" />
     17        </figure>
    1618        <!-- /wp:image -->
    1719
    1820        <!-- wp:separator {"className":"is-style-wide"} -->
    19         <hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
     21        <hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" />
    2022        <!-- /wp:separator -->
    2123
     
    3436                <div class="wp-block-group">
    3537                    <!-- wp:heading {"level":3,"fontSize":"medium","fontFamily":"body"} -->
    36                     <h3 class="wp-block-heading has-body-font-family has-medium-font-size"><?php esc_html_e( 'Contact Me', 'twentytwentyfour' ); ?></h3>
     38                    <h3 class="wp-block-heading has-body-font-family has-medium-font-size"><?php esc_html_e( 'Contact', 'twentytwentyfour' ); ?></h3>
    3739                    <!-- /wp:heading -->
    3840                    <!-- wp:paragraph -->
     
    5254                        <div class="wp-block-group">
    5355                            <!-- wp:heading {"level":3,"fontSize":"medium","fontFamily":"body"} -->
    54                             <h3 class="wp-block-heading has-body-font-family has-medium-font-size"><?php esc_html_e( 'Follow Me', 'twentytwentyfour' ); ?></h3>
     56                            <h3 class="wp-block-heading has-body-font-family has-medium-font-size"><?php esc_html_e( 'Follow', 'twentytwentyfour' ); ?></h3>
    5557                            <!-- /wp:heading -->
    5658                            <!-- wp:paragraph -->
     
    8587            <p class="has-small-font-size">
    8688                <?php
    87                     /* Translators: WordPress link. */
    88                     $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentyfour' ) ) . '" rel="nofollow">WordPress</a>';
    89                     echo sprintf(
    90                         /* Translators: Designed with WordPress */
    91                         esc_html__( 'Designed with %1$s', 'twentytwentyfour' ),
    92                         $wordpress_link
    93                     );
    94                     ?>
     89                /* Translators: WordPress link. */
     90                $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentyfour' ) ) . '" rel="nofollow">WordPress</a>';
     91                echo sprintf(
     92                    /* Translators: Designed with WordPress */
     93                    esc_html__( 'Designed with %1$s', 'twentytwentyfour' ),
     94                    $wordpress_link
     95                );
     96                ?>
    9597            </p>
    9698            <!-- /wp:paragraph -->
Note: See TracChangeset for help on using the changeset viewer.