Make WordPress Core


Ignore:
Timestamp:
10/07/2024 06:07:57 PM (22 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/pricing-2-col.php

    r59146 r59191  
    1616<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
    1717        <!-- wp:heading {"textAlign":"center","align":"wide"} -->
    18         <h2 class="wp-block-heading alignwide has-text-align-center">Pricing</h2>
     18        <h2 class="wp-block-heading alignwide has-text-align-center"><?php esc_html_e( 'Pricing', 'twentytwentyfive' ); ?></h2>
    1919        <!-- /wp:heading -->
    2020
    2121        <!-- wp:paragraph {"align":"center"} -->
    22         <p class="has-text-align-center">Cancel or pause anytime.</p>
     22        <p class="has-text-align-center"><?php esc_html_e( 'Cancel or pause anytime.', 'twentytwentyfive' ); ?></p>
    2323        <!-- /wp:paragraph -->
    2424
     
    3232                <div class="wp-block-column has-border-color" style="border-color:var(--wp--preset--color--accent-6);border-width:1px;border-radius:10px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
    3333                        <!-- wp:heading {"level":3} -->
    34                         <h3 class="wp-block-heading" id="free">Free</h3>
     34                        <h3 class="wp-block-heading" id="free"><?php esc_html_e( 'Free', 'twentytwentyfive' ); ?></h3>
    3535                        <!-- /wp:heading -->
    3636
    3737                        <!-- wp:paragraph {"fontSize":"large"} -->
    38                         <p class="has-large-font-size">0€</p>
     38                        <p class="has-large-font-size"><?php esc_html_e( '0€', 'twentytwentyfive' ); ?></p>
    3939                        <!-- /wp:paragraph -->
    4040
     
    4242                        <ul style="padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)" class="wp-block-list is-style-checkmark-list has-small-font-size">
    4343                                <!-- wp:list-item -->
    44                                 <li>Get access to our paid articles and weekly newsletter.</li>
     44                                <li><?php esc_html_e( 'Get access to our paid articles and weekly newsletter.', 'twentytwentyfive' ); ?></li>
    4545                                <!-- /wp:list-item -->
    4646
    4747                                <!-- wp:list-item -->
    48                                 <li>Join our IRL events.</li>
     48                                <li><?php esc_html_e( 'Join our IRL events.', 'twentytwentyfive' ); ?></li>
    4949                                <!-- /wp:list-item -->
    5050
    5151                                <!-- wp:list-item -->
    52                                 <li>Get a free tote bag.</li>
     52                                <li><?php esc_html_e( 'Get a free tote bag.', 'twentytwentyfive' ); ?></li>
    5353                                <!-- /wp:list-item -->
    5454
    5555                                <!-- wp:list-item -->
    56                                 <li>An elegant addition of home decor collection.</li>
     56                                <li><?php esc_html_e( 'An elegant addition of home decor collection.', 'twentytwentyfive' ); ?></li>
    5757                                <!-- /wp:list-item -->
    5858
    5959                                <!-- wp:list-item -->
    60                                 <li>Join our forums.</li>
     60                                <li><?php esc_html_e( 'Join our forums.', 'twentytwentyfive' ); ?></li>
    6161                                <!-- /wp:list-item -->
    6262                        </ul>
     
    6666                        <div class="wp-block-buttons">
    6767                                <!-- wp:button {"width":100} -->
    68                                 <div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Join</a></div>
     68                                <div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Join', 'Button text, refers to joining a community. Verb.', 'twentytwentyfive' ); ?></a></div>
    6969                                <!-- /wp:button -->
    7070                        </div>
     
    7676                <div class="wp-block-column has-border-color" style="border-color:var(--wp--preset--color--accent-6);border-width:1px;border-radius:10px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
    7777                        <!-- wp:heading {"level":3} -->
    78                         <h3 class="wp-block-heading" id="single">Single</h3>
     78                        <h3 class="wp-block-heading" id="single"><?php echo esc_html_x( 'Single', 'Name of membership package.', 'twentytwentyfive' ); ?></h3>
    7979                        <!-- /wp:heading -->
    8080
    8181                        <!-- wp:paragraph {"fontSize":"large"} -->
    82                         <p class="has-large-font-size">20€/month</p>
     82                        <p class="has-large-font-size"><?php esc_html_e( '20€/month', 'twentytwentyfive' ); ?></p>
    8383                        <!-- /wp:paragraph -->
    8484
     
    8686                        <ul style="padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)" class="wp-block-list is-style-checkmark-list has-small-font-size">
    8787                                <!-- wp:list-item -->
    88                                 <li>Get access to our paid articles and weekly newsletter.</li>
     88                                <li><?php esc_html_e( 'Get access to our paid articles and weekly newsletter.', 'twentytwentyfive' ); ?></li>
    8989                                <!-- /wp:list-item -->
    9090
    9191                                <!-- wp:list-item -->
    92                                 <li>Join our IRL events.</li>
     92                                <li><?php esc_html_e( 'Join our IRL events.', 'twentytwentyfive' ); ?></li>
    9393                                <!-- /wp:list-item -->
    9494
    9595                                <!-- wp:list-item -->
    96                                 <li>Get a free tote bag.</li>
     96                                <li><?php esc_html_e( 'Get a free tote bag.', 'twentytwentyfive' ); ?></li>
    9797                                <!-- /wp:list-item -->
    9898
    9999                                <!-- wp:list-item -->
    100                                 <li>An elegant addition of home decor collection.</li>
     100                                <li><?php esc_html_e( 'An elegant addition of home decor collection.', 'twentytwentyfive' ); ?></li>
    101101                                <!-- /wp:list-item -->
    102102
    103103                                <!-- wp:list-item -->
    104                                 <li>Join our forums.</li>
     104                                <li><?php esc_html_e( 'Join our forums.', 'twentytwentyfive' ); ?></li>
    105105                                <!-- /wp:list-item -->
    106106                        </ul>
     
    110110                        <div class="wp-block-buttons">
    111111                                <!-- wp:button {"width":100} -->
    112                                 <div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Join</a></div>
     112                                <div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Join', 'Button text, refers to joining a community. Verb.', 'twentytwentyfive' ); ?></a></div>
    113113                                <!-- /wp:button -->
    114114                        </div>
Note: See TracChangeset for help on using the changeset viewer.