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-subscriber-only-section.php

    r59146 r59191  
    1919        <div class="wp-block-column is-vertically-aligned-center">
    2020            <!-- wp:heading {"fontSize":"xx-large"} -->
    21             <h2 class="wp-block-heading has-xx-large-font-size">Subscribe to get unlimited access</h2>
     21            <h2 class="wp-block-heading has-xx-large-font-size"><?php esc_html_e( 'Subscribe to get unlimited access', 'twentytwentyfive' ); ?></h2>
    2222            <!-- /wp:heading -->
    2323
     
    2525            <ul style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--30)" class="wp-block-list is-style-checkmark-list">
    2626                <!-- wp:list-item {"fontSize":"medium"} -->
    27                 <li class="has-medium-font-size">Get access to our paid articles and weekly newsletter.</li>
     27                <li class="has-medium-font-size"><?php esc_html_e( 'Get access to our paid articles and weekly newsletter.', 'twentytwentyfive' ); ?></li>
    2828                <!-- /wp:list-item -->
    2929
    3030                <!-- wp:list-item {"fontSize":"medium"} -->
    31                 <li class="has-medium-font-size">Join our IRL event.</li>
     31                <li class="has-medium-font-size"><?php esc_html_e( 'Join our IRL event.', 'twentytwentyfive' ); ?></li>
    3232                <!-- /wp:list-item -->
    3333
    3434                <!-- wp:list-item {"fontSize":"medium"} -->
    35                 <li class="has-medium-font-size">Get a free tote bag.</li>
     35                <li class="has-medium-font-size"><?php esc_html_e( 'Get a free tote bag.', 'twentytwentyfive' ); ?></li>
    3636                <!-- /wp:list-item -->
    3737
    3838                <!-- wp:list-item {"fontSize":"medium"} -->
    39                 <li class="has-medium-font-size">An elegant addition of home decor collection.</li>
     39                <li class="has-medium-font-size"><?php esc_html_e( 'An elegant addition of home decor collection.', 'twentytwentyfive' ); ?></li>
    4040                <!-- /wp:list-item -->
    4141
    4242                <!-- wp:list-item {"fontSize":"medium"} -->
    43                 <li class="has-medium-font-size">Join our forums.</li>
     43                <li class="has-medium-font-size"><?php esc_html_e( 'Join our forums.', 'twentytwentyfive' ); ?></li>
    4444                <!-- /wp:list-item -->
    4545            </ul>
     
    4949            <div class="wp-block-buttons">
    5050                <!-- wp:button {"className":"is-style-fill"} -->
    51                 <div class="wp-block-button is-style-fill"><a class="wp-block-button__link wp-element-button">Subscribe</a></div>
     51                <div class="wp-block-button is-style-fill"><a class="wp-block-button__link wp-element-button"><?php esc_html_e( 'Subscribe', 'twentytwentyfive' ); ?></a></div>
    5252                <!-- /wp:button -->
    5353
    5454                <!-- wp:button {"className":"is-style-outline"} -->
    55                 <div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button">View plans</a></div>
     55                <div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button"><?php esc_html_e( 'View plans', 'twentytwentyfive' ); ?></a></div>
    5656                <!-- /wp:button -->
    5757            </div>
     
    5959
    6060            <!-- wp:paragraph {"fontSize":"small"} -->
    61             <p class="has-small-font-size">Cancel or pause anytime.</p>
     61            <p class="has-small-font-size"><?php esc_html_e( 'Cancel or pause anytime.', 'twentytwentyfive' ); ?></p>
    6262            <!-- /wp:paragraph -->
    6363        </div>
     
    6767        <div class="wp-block-column is-vertically-aligned-center">
    6868            <!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
    69             <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/services-subscriber-photo.webp" alt="Smartphones capturing a scenic wildflower meadow with trees"/></figure>
     69            <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/services-subscriber-photo.webp" alt="<?php esc_attr_e( 'Smartphones capturing a scenic wildflower meadow with trees', 'twentytwentyfive' ); ?>"/></figure>
    7070            <!-- /wp:image -->
    7171        </div>
Note: See TracChangeset for help on using the changeset viewer.