Make WordPress Core


Ignore:
Timestamp:
10/07/2024 06:07:57 PM (14 months ago)
Author:
desrosj
Message:

Twenty Twenty-Five: Merge the latest improvements for Beta 2.

This merges the latest improvements to the Twenty Twenty-Five theme from GitHub into trunk for 6.7 beta 2.

A full list of changes can be found on GitHub: https://github.com/WordPress/twentytwentyfive/commits/trunk/?since=2024-10-01&until=2024-10-07.

Props poena, mukesh27, jonnywatersbb, cliffralessio, afercia, samtoohey93, codersantosh, carstenbach, gohelkunjan, ryelle, aaronrobertshaw, wildworks, yukinobu, audrasjb, mdviralsampat, hanneslsm, ddewan, greenshady, joedolson, areziaal, alaminfirdows, kartikmehta, cwhitmore.
Fixes #62180.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfive/patterns/services-3-col.php

    r59146 r59191  
    1515<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)">
    1616    <!-- wp:heading {"align":"wide"} -->
    17     <h2 class="wp-block-heading alignwide">Our services</h2>
     17    <h2 class="wp-block-heading alignwide"><?php esc_html_e( 'Our services', 'twentytwentyfive' ); ?></h2>
    1818    <!-- /wp:heading -->
    1919
     
    2525            <!-- wp:image {"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","style":{"spacing":{"margin":{"bottom":"24px"}}}} -->
    2626            <figure class="wp-block-image size-full" style="margin-bottom:24px">
    27                 <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/image-from-rawpixel-id-2222755.webp" alt="Image for service" style="aspect-ratio:4/3;object-fit:cover"/>
     27                <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/image-from-rawpixel-id-2222755.webp" alt="<?php esc_attr_e( 'Image for service', 'twentytwentyfive' ); ?>" style="aspect-ratio:4/3;object-fit:cover"/>
    2828            </figure>
    2929            <!-- /wp:image -->
    3030
    3131            <!-- wp:heading {"level":3} -->
    32             <h3 class="wp-block-heading">Collect</h3>
     32            <h3 class="wp-block-heading"><?php esc_html_e( 'Collect', 'twentytwentyfive' ); ?></h3>
    3333            <!-- /wp:heading -->
    3434
    3535            <!-- wp:paragraph {"fontSize":"medium"} -->
    36             <p class="has-medium-font-size">Like flowers that bloom in unexpected places, every story unfolds with beauty and resilience</p>
     36            <p class="has-medium-font-size"><?php esc_html_e( 'Like flowers that bloom in unexpected places, every story unfolds with beauty and resilience', 'twentytwentyfive' ); ?></p>
    3737            <!-- /wp:paragraph -->
    3838        </div>
     
    4343            <!-- wp:image {"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","style":{"spacing":{"margin":{"bottom":"24px"}}}} -->
    4444            <figure class="wp-block-image size-full" style="margin-bottom:24px">
    45                 <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/image-from-rawpixel-id-2224378.webp" alt="Image for service" style="aspect-ratio:4/3;object-fit:cover"/>
     45                <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/image-from-rawpixel-id-2224378.webp" alt="<?php esc_attr_e( 'Image for service', 'twentytwentyfive' ); ?>" style="aspect-ratio:4/3;object-fit:cover"/>
    4646            </figure>
    4747            <!-- /wp:image -->
    4848
    4949            <!-- wp:heading {"level":3} -->
    50             <h3 class="wp-block-heading">Assemble</h3>
     50            <h3 class="wp-block-heading"><?php esc_html_e( 'Assemble', 'twentytwentyfive' ); ?></h3>
    5151            <!-- /wp:heading -->
    5252
    5353            <!-- wp:paragraph {"fontSize":"medium"} -->
    54             <p class="has-medium-font-size">Like flowers that bloom in unexpected places, every story unfolds with beauty and resilience</p>
     54            <p class="has-medium-font-size"><?php esc_html_e( 'Like flowers that bloom in unexpected places, every story unfolds with beauty and resilience', 'twentytwentyfive' ); ?></p>
    5555            <!-- /wp:paragraph -->
    5656        </div>
     
    6161            <!-- wp:image {"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","style":{"spacing":{"margin":{"bottom":"24px"}}}} -->
    6262            <figure class="wp-block-image size-full" style="margin-bottom:24px">
    63                 <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/image-from-rawpixel-id-2211732.webp" alt="Image for service" style="aspect-ratio:4/3;object-fit:cover"/>
     63                <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/image-from-rawpixel-id-2211732.webp" alt="<?php esc_attr_e( 'Image for service', 'twentytwentyfive' ); ?>" style="aspect-ratio:4/3;object-fit:cover"/>
    6464            </figure>
    6565            <!-- /wp:image -->
    6666
    6767            <!-- wp:heading {"level":3} -->
    68             <h3 class="wp-block-heading">Deliver</h3>
     68            <h3 class="wp-block-heading"><?php esc_html_e( 'Deliver', 'twentytwentyfive' ); ?></h3>
    6969            <!-- /wp:heading -->
    7070
    7171            <!-- wp:paragraph {"fontSize":"medium"} -->
    72             <p class="has-medium-font-size">Like flowers that bloom in unexpected places, every story unfolds with beauty and resilience</p>
     72            <p class="has-medium-font-size"><?php esc_html_e( 'Like flowers that bloom in unexpected places, every story unfolds with beauty and resilience', 'twentytwentyfive' ); ?></p>
    7373            <!-- /wp:paragraph -->
    7474        </div>
Note: See TracChangeset for help on using the changeset viewer.