Make WordPress Core


Ignore:
Timestamp:
10/07/2024 06:07:57 PM (2 years 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/event-schedule.php

    r59146 r59191  
    33 * Title: Event schedule
    44 * Slug: twentytwentyfive/event-schedule
    5  * Categories: about, media, featured
     5 * Categories: about, featured
    66 * Description: A section with specified dates and times for an event.
    77 * Keywords: events, agenda, schedule, lectures
     
    1818        <div class="wp-block-group alignwide">
    1919                <!-- wp:heading {"fontSize":"xx-large"} -->
    20                 <h2 class="wp-block-heading has-xx-large-font-size">Agenda</h2>
     20                <h2 class="wp-block-heading has-xx-large-font-size"><?php esc_html_e( 'Agenda', 'twentytwentyfive' ); ?></h2>
    2121                <!-- /wp:heading -->
    2222                <!-- wp:paragraph -->
    23                 <p>These are some of the upcoming events.</p>
     23                <p><?php esc_html_e( 'These are some of the upcoming events.', 'twentytwentyfive' ); ?></p>
    2424                <!-- /wp:paragraph -->
    2525                <!-- wp:spacer {"height":"var:preset|spacing|30"} -->
     
    3333                                <div class="wp-block-column is-vertically-aligned-top" style="flex-basis:40%">
    3434                                        <!-- wp:heading {"level":3} -->
    35                                         <h3 class="wp-block-heading">Friday, Feb. 1</h3>
     35                                        <h3 class="wp-block-heading"><?php echo esc_html_x( 'Mon, Jan 1', 'Example event date in pattern.', 'twentytwentyfive' ); ?></h3>
    3636                                        <!-- /wp:heading -->
    3737                                </div>
     
    4444                                                <div class="wp-block-column" style="flex-basis:33.33%">
    4545                                                        <!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"layout":{"selfStretch":"fixed","flexSize":"270px"}}} -->
    46                                                         <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/marshland-birds-square.webp" alt="Birds on a lake." style="aspect-ratio:1;object-fit:cover"/></figure>
     46                                                        <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/marshland-birds-square.webp" alt="<?php esc_attr_e( 'Birds on a lake.', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover"/></figure>
    4747                                                        <!-- /wp:image -->
    4848                                                </div>
     
    5555                                                                <div class="wp-block-group">
    5656                                                                        <!-- wp:heading {"level":4} -->
    57                                                                         <h4 class="wp-block-heading"><a href="#">Fauna from North America and its characteristics</a></h4>
     57                                                                        <h4 class="wp-block-heading"><a href="#"><?php esc_html_e( 'Fauna from North America and its characteristics', 'twentytwentyfive' ); ?></a></h4>
    5858                                                                        <!-- /wp:heading -->
    5959                                                                        <!-- wp:paragraph -->
    60                                                                         <p>9 AM — 11 AM</p>
     60                                                                        <p><?php echo esc_html_x( '9 AM — 11 AM', 'Example event time in pattern.', 'twentytwentyfive' ); ?></p>
    6161                                                                        <!-- /wp:paragraph -->
    6262                                                                </div>
    6363                                                                <!-- /wp:group -->
    6464                                                                <!-- wp:paragraph {"fontSize":"small"} -->
    65                                                                 <p class="has-small-font-size">Lecture by <a href="#">Prof. Fiona Presley</a></p>
     65                                                                <p class="has-small-font-size"><?php echo wp_kses_post( _x( 'Lecture by <a href="#">Prof. Fiona Presley</a>', 'Pattern placeholder text with link.', 'twentytwentyfive' ) ); ?></p>
    6666                                                                <!-- /wp:paragraph -->
    6767                                                        </div>
     
    7676                                                <div class="wp-block-column" style="flex-basis:33.33%">
    7777                                                        <!-- wp:image {"id":2772,"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"layout":{"selfStretch":"fixed","flexSize":"270px"}}} -->
    78                                                         <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/coral-square.webp" alt="View of the deep ocean." class="wp-image-2772" style="aspect-ratio:1;object-fit:cover"/></figure>
     78                                                        <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/coral-square.webp" alt="<?php esc_attr_e( 'View of the deep ocean.', 'twentytwentyfive' ); ?>" class="wp-image-2772" style="aspect-ratio:1;object-fit:cover"/></figure>
    7979                                                        <!-- /wp:image -->
    8080                                                </div>
     
    8787                                                                <div class="wp-block-group">
    8888                                                                        <!-- wp:heading {"level":4} -->
    89                                                                         <h4 class="wp-block-heading"><a href="#">Things you didn’t know about the deep ocean</a></h4>
     89                                                                        <h4 class="wp-block-heading"><a href="#"><?php esc_html_e( 'Things you didn&rsquo;t know about the deep ocean', 'twentytwentyfive' ); ?></a></h4>
    9090                                                                        <!-- /wp:heading -->
    9191                                                                        <!-- wp:paragraph -->
    92                                                                         <p>9 AM — 11 AM</p>
     92                                                                        <p><?php echo esc_html_x( '9 AM — 11 AM', 'Example event time in pattern.', 'twentytwentyfive' ); ?></p>
    9393                                                                        <!-- /wp:paragraph -->
    9494                                                                </div>
    9595                                                                <!-- /wp:group -->
    9696                                                                <!-- wp:paragraph {"fontSize":"small"} -->
    97                                                                 <p class="has-small-font-size">Lecture by <a href="#">Prof. Fiona Presley</a></p>
     97                                                                <p class="has-small-font-size"><?php echo wp_kses_post( _x( 'Lecture by <a href="#">Prof. Fiona Presley</a>', 'Pattern placeholder text with link.', 'twentytwentyfive' ) ); ?></p>
    9898                                                                <!-- /wp:paragraph -->
    9999                                                        </div>
     
    119119                                <div class="wp-block-column is-vertically-aligned-top" style="flex-basis:40%">
    120120                                        <!-- wp:heading {"level":3} -->
    121                                         <h3 class="wp-block-heading">Saturday, Feb. 2</h3>
     121                                        <h3 class="wp-block-heading"><?php echo esc_html_x( 'Mon, Jan 1', 'Example event date in pattern.', 'twentytwentyfive' ); ?></h3>
    122122                                        <!-- /wp:heading -->
    123123                                </div>
     
    130130                                                <div class="wp-block-column" style="flex-basis:33.33%">
    131131                                                        <!-- wp:image {"id":2773,"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"layout":{"selfStretch":"fixed","flexSize":"270px"}}} -->
    132                                                         <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/parthenon-square.webp" alt="The acropolis in Athens." class="wp-image-2773" style="aspect-ratio:1;object-fit:cover"/></figure>
     132                                                        <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/parthenon-square.webp" alt="<?php esc_attr_e( 'The acropolis in Athens.', 'twentytwentyfive' ); ?>" class="wp-image-2773" style="aspect-ratio:1;object-fit:cover"/></figure>
    133133                                                        <!-- /wp:image -->
    134134                                                </div>
     
    140140                                                                <div class="wp-block-group">
    141141                                                                        <!-- wp:heading {"level":4} -->
    142                                                                         <h4 class="wp-block-heading"><a href="#">Ancient buildings and symbols</a></h4>
     142                                                                        <h4 class="wp-block-heading"><a href="#"><?php esc_html_e( 'Ancient buildings and symbols', 'twentytwentyfive' ); ?></a></h4>
    143143                                                                        <!-- /wp:heading -->
    144144                                                                        <!-- wp:paragraph -->
    145                                                                         <p>9 AM — 11 AM</p>
     145                                                                        <p><?php echo esc_html_x( '9 AM — 11 AM', 'Example event time in pattern.', 'twentytwentyfive' ); ?></p>
    146146                                                                        <!-- /wp:paragraph -->
    147147                                                                </div>
    148148                                                                <!-- /wp:group -->
    149149                                                                <!-- wp:paragraph {"fontSize":"small"} -->
    150                                                                 <p class="has-small-font-size">Lecture by <a href="#">Prof. Fiona Presley</a></p>
     150                                                                <p class="has-small-font-size"><?php echo wp_kses_post( _x( 'Lecture by <a href="#">Prof. Fiona Presley</a>', 'Pattern placeholder text with link.', 'twentytwentyfive' ) ); ?></p>
    151151                                                                <!-- /wp:paragraph -->
    152152                                                        </div>
     
    161161                                                <div class="wp-block-column" style="flex-basis:33.33%">
    162162                                                        <!-- wp:image {"id":2774,"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"layout":{"selfStretch":"fixed","flexSize":"270px"}}} -->
    163                                                         <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/agenda-img-4.webp" alt="Black and white photo of an african woman." class="wp-image-2774" style="aspect-ratio:1;object-fit:cover"/></figure>
     163                                                        <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/agenda-img-4.webp" alt="<?php esc_attr_e( 'Black and white photo of an african woman.', 'twentytwentyfive' ); ?>" class="wp-image-2774" style="aspect-ratio:1;object-fit:cover"/></figure>
    164164                                                        <!-- /wp:image -->
    165165                                                </div>
     
    172172                                                                <div class="wp-block-group">
    173173                                                                        <!-- wp:heading {"level":4} -->
    174                                                                         <h4 class="wp-block-heading"><a href="#">An introduction to African dialects</a></h4>
     174                                                                        <h4 class="wp-block-heading"><a href="#"><?php esc_html_e( 'An introduction to African dialects', 'twentytwentyfive' ); ?></a></h4>
    175175                                                                        <!-- /wp:heading -->
    176176                                                                        <!-- wp:paragraph -->
    177                                                                         <p>9 AM — 11 AM</p>
     177                                                                        <p><?php echo esc_html_x( '9 AM — 11 AM', 'Example event time in pattern.', 'twentytwentyfive' ); ?></p>
    178178                                                                        <!-- /wp:paragraph -->
    179179                                                                </div>
    180180                                                                <!-- /wp:group -->
    181181                                                                <!-- wp:paragraph {"fontSize":"small"} -->
    182                                                                 <p class="has-small-font-size">Lecture by <a href="#">Prof. Fiona Presley</a></p>
     182                                                                <p class="has-small-font-size"><?php echo wp_kses_post( _x( 'Lecture by <a href="#">Prof. Fiona Presley</a>', 'Pattern placeholder text with link.', 'twentytwentyfive' ) ); ?></p>
    183183                                                                <!-- /wp:paragraph -->
    184184                                                        </div>
Note: See TracChangeset for help on using the changeset viewer.