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/template-single-photo-blog.php

    r59146 r59191  
    3232                                        <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","orientation":"vertical"}} -->
    3333                                        <div class="wp-block-group">
    34                                                 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"constrained"}} -->
    35                                                 <div class="wp-block-group">
    36                                                         <!-- wp:paragraph {"fontSize":"small"} -->
    37                                                         <p class="has-small-font-size"><?php esc_html_e( 'Published on', 'twentytwentyfive' ); ?></p>
    38                                                         <!-- /wp:paragraph -->
    39                                                         <!-- wp:post-date {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","fontSize":"small"} /--></div>
     34                                                <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","layout":{"type":"constrained"}} -->
     35                                                <div class="wp-block-group has-small-font-size">
     36                                                        <!-- wp:paragraph --><p><?php echo esc_html_x( 'Published on', 'Prefix before the post date block.', 'twentytwentyfive' ); ?></p><!-- /wp:paragraph -->
     37                                                        <!-- wp:post-date {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast"} /-->
     38                                                </div>
    4039                                                <!-- /wp:group -->
    41                                                 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"constrained"}} -->
    42                                                 <div class="wp-block-group">
    43                                                         <!-- wp:paragraph {"fontSize":"small"} -->
    44                                                         <p class="has-small-font-size"><?php esc_html_e( 'Posted by', 'twentytwentyfive' ); ?></p>
    45                                                         <!-- /wp:paragraph -->
    46                                                         <!-- wp:post-author-name {"isLink":true,"fontSize":"small"} /-->
     40                                                <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","layout":{"type":"constrained"}} -->
     41                                                <div class="wp-block-group has-small-font-size">
     42                                                        <!-- wp:paragraph --><p><?php echo esc_html_x( 'Posted by', 'Prefix before the author name. The post atuhor name is displayed in a separate block on the next line.', 'twentytwentyfive' ); ?></p><!-- /wp:paragraph -->
     43                                                        <!-- wp:post-author-name {"isLink":true} /-->
    4744                                                </div>
    4845                                                <!-- /wp:group -->
    … …  
    5451                                                <div class="wp-block-group">
    5552                                                        <!-- wp:paragraph {"fontSize":"small"} -->
    56                                                         <p class="has-small-font-size"><?php echo esc_html_x( 'Categories:', 'Prefix before one or more categories. Categories: category name', 'twentytwentyfive' ); ?></p>
     53                                                        <p class="has-small-font-size"><?php echo esc_html_x( 'Categories:', 'Prefix before one or more categories. The categories are displayed in a separate block on the next line.', 'twentytwentyfive' ); ?></p>
    5754                                                        <!-- /wp:paragraph -->
    5855                                                        <!-- wp:post-terms {"term":"category","style":{"typography":{"fontStyle":"normal","fontWeight":"300"}}} /-->
    … …  
    6259                                                <div class="wp-block-group">
    6360                                                        <!-- wp:paragraph {"fontSize":"small"} -->
    64                                                         <p class="has-small-font-size"><?php echo esc_html_x( 'Tagged:', 'Prefix before one or more tags. Tagged: tag name', 'twentytwentyfive' ); ?></p>
     61                                                        <p class="has-small-font-size"><?php echo esc_html_x( 'Tagged:', 'Prefix before one or more tags. The tags are displayed in a separate block on the next line.', 'twentytwentyfive' ); ?></p>
    6562                                                        <!-- /wp:paragraph -->
    6663                                                        <!-- wp:post-terms {"term":"post_tag","style":{"typography":{"fontStyle":"normal","fontWeight":"300"}}} /-->
    … …  
    7774                <!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"0"}}},"layout":{"type":"default"}} -->
    7875                <div class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:0">
    79                         <!-- wp:group {"ariaLabel":"<?php esc_attr_e( 'Posts navigation', 'twentytwentyfive' ); ?>","tagName":"nav","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
    80                         <nav aria-label="<?php esc_attr_e( 'Posts navigation', 'twentytwentyfive' ); ?>" class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
    81                                 <!-- wp:post-navigation-link {"type":"previous","label":"Previous Photo","fontSize":"small"} /-->
    82                                 <!-- wp:post-navigation-link {"label":"Next Photo","fontSize":"small"} /-->
     76                        <!-- wp:group {"ariaLabel":"<?php esc_attr_e( 'Post navigation', 'twentytwentyfive' ); ?>","tagName":"nav","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
     77                        <nav aria-label="<?php esc_attr_e( 'Post navigation', 'twentytwentyfive' ); ?>" class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
     78                                <!-- wp:post-navigation-link {"type":"previous","label":"<?php esc_html_e( 'Previous Photo', 'twentytwentyfive' ); ?>","fontSize":"small"} /-->
     79                                <!-- wp:post-navigation-link {"label":"<?php esc_html_e( 'Next Photo', 'twentytwentyfive' ); ?>","fontSize":"small"} /-->
    8380                        </nav>
    8481                        <!-- /wp:group -->
    … …  
    10198        <!-- /wp:columns -->
    10299        <!-- wp:group {"align":"wide","layout":{"type":"constrained","justifyContent":"left"}} -->
    103         <div class="wp-block-group alignwide"> 
     100        <div class="wp-block-group alignwide">
    104101                <!-- wp:pattern {"slug":"twentytwentyfive/comments"} /-->
    105102        </div>
Note: See TracChangeset for help on using the changeset viewer.