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/page-link-in-bio-heading-paragraph-links-image.php

    r59146 r59191  
    2424            <div class="wp-block-group" style="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)">
    2525                <!-- wp:heading -->
    26                 <h2 class="wp-block-heading">Lewis Hine</h2>
     26                <h2 class="wp-block-heading"><?php esc_html_e( 'Lewis Hine', 'twentytwentyfive' ); ?></h2>
    2727                <!-- /wp:heading -->
    2828
    2929                <!-- wp:paragraph -->
    30                 <p>Lewis W. Hine studied sociology before moving to New York in 1901 to work at the Ethical Culture School, where he took up photography to enhance his teaching practices</p>
     30                <p><?php esc_html_e( 'Lewis W. Hine studied sociology before moving to New York in 1901 to work at the Ethical Culture School, where he took up photography to enhance his teaching practices', 'twentytwentyfive' ); ?></p>
    3131                <!-- /wp:paragraph -->
    3232
     
    3434                <div class="wp-block-group">
    3535                    <!-- wp:paragraph -->
    36                     <p><a href="#">Instagram</a></p>
     36                    <p><a href="#"><?php esc_html_e( 'Instagram', 'twentytwentyfive' ); ?></a></p>
    3737                    <!-- /wp:paragraph -->
    3838
    3939                    <!-- wp:paragraph -->
    40                     <p><a href="#">X</a></p>
     40                    <p><a href="#"><?php echo esc_html_x( 'X', 'Refers to the social media platform formerly known as Twitter.', 'twentytwentyfive' ); ?></a></p>
    4141                    <!-- /wp:paragraph -->
    4242
    4343                    <!-- wp:paragraph -->
    44                     <p><a href="#">TikTok</a></p>
     44                    <p><a href="#"><?php esc_html_e( 'TikTok', 'twentytwentyfive' ); ?></a></p>
    4545                    <!-- /wp:paragraph -->
    4646                </div>
     
    5555            <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/link-in-bio-background.webp","alt":"Photo of a woman worker.","dimRatio":0,"customOverlayColor":"#6b6b6b","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","layout":{"type":"default"}} -->
    5656            <div class="wp-block-cover" style="min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim" style="background-color:#6b6b6b"></span>
    57                 <img class="wp-block-cover__image-background" alt="Photo of a woman worker." src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/link-in-bio-background.webp" data-object-fit="cover"/><div class="wp-block-cover__inner-container">
     57                <img class="wp-block-cover__image-background" alt="<?php esc_attr_e( 'Photo of a woman worker.', 'twentytwentyfive' ); ?>" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/link-in-bio-background.webp" data-object-fit="cover"/><div class="wp-block-cover__inner-container">
    5858                <!-- wp:paragraph {"align":"center","fontSize":"large"} -->
    5959                <p class="has-text-align-center has-large-font-size"></p>
Note: See TracChangeset for help on using the changeset viewer.