Make WordPress Core

Changeset 54629


Ignore:
Timestamp:
10/18/2022 12:35:54 AM (4 years ago)
Author:
desrosj
Message:

Twenty Twenty-Three: Sync the latest fixes for RC2.

For a full list of changes included, see the twentytwentythree repository on GitHub: https://github.com/WordPress/twentytwentythree/compare/4ea5d832ec9b684dcbf9ac5e67ff4e9ee5ae1e16...0f273d787481b391d428de671659533642b3aa3c.

Props mikachan, beafialho, kafleg, richtabor, poena, annezazu.
Fixes #56383.

Location:
trunk/src/wp-content/themes/twentytwentythree
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentythree/parts/header.html

    r54312 r54629  
    11<!-- wp:group {"layout":{"type":"constrained"}} -->
    22<div class="wp-block-group">
    3         <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|60"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
    4         <div class="wp-block-group alignwide" style="padding-bottom:var(--wp--preset--spacing--60)">
     3        <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
     4        <div class="wp-block-group alignwide" style="padding-bottom:var(--wp--preset--spacing--40)">
    55                <!-- wp:site-title {"level":0} /-->
    66                <!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} /-->
  • trunk/src/wp-content/themes/twentytwentythree/patterns/hidden-404.php

    r54467 r54629  
    66 */
    77?>
    8 <!-- wp:heading {"level":1,"className":"has-text-align-center"} -->
    9 <h1 class="has-text-align-center">
    10         <?php echo esc_html_x( '404', 'Error code for a webpage that is not found.', 'twentytwentythree' ); ?>
    11 </h1>
     8<!-- wp:spacer {"height":"var(--wp--preset--spacing--30)"} -->
     9<div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div>
     10<!-- /wp:spacer -->
     11
     12<!-- wp:heading {"level":1,"align":"wide"} -->
     13<h1 class="alignwide"><?php echo esc_html_x( '404', 'Error code for a webpage that is not found.', 'twentytwentythree' ); ?></h1>
    1214<!-- /wp:heading -->
    1315
    14 <!-- wp:paragraph {"align":"center"} -->
    15 <p class="has-text-align-center">
    16         <?php echo esc_html_x( 'This page could not be found.', 'Message to convey that a webpage could not be found', 'twentytwentythree' ); ?>
    17 </p>
    18 <!-- /wp:paragraph -->
     16<!-- wp:group {"align":"wide","layout":{"type":"default"},"style":{"spacing":{"margin":{"top":"5px"}}}} -->
     17<div class="wp-block-group alignwide" style="margin-top:5px">
     18        <!-- wp:paragraph -->
     19        <p><?php echo esc_html_x( 'This page could not be found.', 'Message to convey that a webpage could not be found', 'twentytwentythree' ); ?></p>
     20        <!-- /wp:paragraph -->
    1921
    20 <!-- wp:spacer {"height":"var(--wp--preset--spacing--40)"} -->
    21 <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
     22        <!-- wp:search {"label":"<?php echo esc_html_x( 'Search', 'label', 'twentytwentythree' ); ?>","placeholder":"<?php echo esc_attr_x( 'Search...', 'placeholder for search field', 'twentytwentythree' ); ?>","showLabel":false,"width":100,"widthUnit":"%","buttonText":"<?php esc_attr_e( 'Search', 'twentytwentythree' ); ?>","buttonUseIcon":true,"align":"center"} /-->
     23</div>
     24<!-- /wp:group -->
     25
     26<!-- wp:spacer {"height":"var(--wp--preset--spacing--70)"} -->
     27<div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div>
    2228<!-- /wp:spacer -->
    23 
    24 <!-- wp:search {"label":"<?php echo esc_html_x( 'Search', 'label', 'twentytwentythree' ); ?>","placeholder":"<?php echo esc_attr_x( 'Search...', 'placeholder for search field', 'twentytwentythree' ); ?>","showLabel":false,"width":100,"widthUnit":"%","buttonText":"<?php esc_attr_e( 'Search', 'twentytwentythree' ); ?>","buttonUseIcon":true,"align":"center"} /-->
  • trunk/src/wp-content/themes/twentytwentythree/patterns/post-meta.php

    r54467 r54629  
    1212<!-- /wp:spacer -->
    1313
    14 <!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
    15 <div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
     14<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
     15<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70)">
    1616        <!-- wp:separator {"opacity":"css","align":"wide","className":"is-style-wide"} -->
    1717        <hr class="wp-block-separator alignwide has-css-opacity is-style-wide"/>
    1818        <!-- /wp:separator -->
    1919
    20         <!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|40"},"blockGap":"var:preset|spacing|70"}},"fontSize":"small"} -->
    21         <div class="wp-block-columns alignwide has-small-font-size" style="margin-top:var(--wp--preset--spacing--40)">
     20        <!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|30"},"blockGap":"var:preset|spacing|30"}},"fontSize":"small"} -->
     21        <div class="wp-block-columns alignwide has-small-font-size" style="margin-top:var(--wp--preset--spacing--30)">
    2222                <!-- wp:column {"style":{"spacing":{"blockGap":"0px"}}} -->
    2323                <div class="wp-block-column">
  • trunk/src/wp-content/themes/twentytwentythree/style.css

    r54467 r54629  
    1212License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    1313Text Domain: twentytwentythree
    14 Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks, accessibility-ready
     14Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, accessibility-ready, blog, portfolio, news
    1515*/
  • trunk/src/wp-content/themes/twentytwentythree/styles/aubergine.json

    r54467 r54629  
    192192                                }
    193193                        },
    194                         "core/query-pagination": {
    195                                 "border": {
    196                                         "top": {
    197                                                 "color": "var(--wp--preset--color--primary)"
    198                                         }
    199                                 }
    200                         },
    201194                        "core/separator": {
    202195                                "color": {
  • trunk/src/wp-content/themes/twentytwentythree/styles/canary.json

    r54467 r54629  
    5353                                },
    5454                                {
    55                                         "size": "0.75rem",
     55                                        "size": "1.125rem",
    5656                                        "slug": "medium"
    5757                                },
    5858                                {
    59                                         "size": "0.75rem",
     59                                        "size": "1.75rem",
    6060                                        "slug": "large"
    6161                                },
    6262                                {
    63                                         "size": "0.75rem",
     63                                        "size": "2.25rem",
    6464                                        "slug": "x-large"
    6565                                },
    6666                                {
    67                                         "size": "0.75rem",
     67                                        "size": "10rem",
    6868                                        "slug": "xx-large"
    6969                                }
     
    9292                                }
    9393                        },
    94                         "core/heading": {
    95                                 "typography": {
    96                                         "fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)"
     94                        "core/comments-title":{
     95                                "typography": {
     96                                        "fontSize": "var(--wp--preset--font-size--small)"
    9797                                }
    9898                        },
     
    122122                                                }
    123123                                        }
     124                                }
     125                        },
     126                        "core/post-excerpt": {
     127                                "typography": {
     128                                        "fontSize": "var(--wp--preset--font-size--small)"
    124129                                }
    125130                        },
     
    148153                                }
    149154                        },
    150                         "core/query-pagination": {
    151                                 "border": {
    152                                         "top": {
    153                                                 "width": "4px"
    154                                         }
    155                                 }
    156                         },
    157155                        "core/separator": {
    158156                                "border": {
     
    163161                                "typography": {
    164162                                        "fontWeight": "700",
    165                                         "textTransform": "lowercase"
     163                                        "textTransform": "lowercase",
     164                                        "fontSize": "var(--wp--preset--font-size--small)"
    166165                                }
    167166                        }
     
    211210                        "h1": {
    212211                                "typography": {
    213                                         "fontSize": "var(--wp--preset--font-size--medium)"
     212                                        "fontSize": "var(--wp--preset--font-size--small)"
    214213                                }
    215214                        },
    216215                        "h2": {
    217216                                "typography": {
    218                                         "fontSize": "var(--wp--preset--font-size--medium)"
     217                                        "fontSize": "var(--wp--preset--font-size--small)"
    219218                                }
    220219                        },
    221220                        "h3": {
    222221                                "typography": {
    223                                         "fontSize": "var(--wp--preset--font-size--medium)"
     222                                        "fontSize": "var(--wp--preset--font-size--small)"
    224223                                }
    225224                        },
    226225                        "h4": {
    227226                                "typography": {
    228                                         "fontSize": "var(--wp--preset--font-size--medium)"
     227                                        "fontSize": "var(--wp--preset--font-size--small)"
    229228                                }
    230229                        },
     
    241240                },
    242241                "typography": {
    243                         "fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)"
     242                        "fontFamily": "var(--wp--preset--font-family--ibm-plex-mono)",
     243                        "fontSize": "var(--wp--preset--font-size--small)"
    244244                }
    245245        }
  • trunk/src/wp-content/themes/twentytwentythree/styles/pilgrimage.json

    r54467 r54629  
    206206                                                        "textDecoration": "underline"
    207207                                                }
    208                                         }
    209                                 },
    210                                 "border": {
    211                                         "top": {
    212                                                 "color": "var(--wp--preset--color--primary)"
    213208                                        }
    214209                                }
  • trunk/src/wp-content/themes/twentytwentythree/styles/pitch.json

    r54467 r54629  
    131131        "styles": {
    132132                "blocks": {
    133                         "core/query-pagination": {
    134                                 "border": {
    135                                         "top": {
    136                                                 "color": "var(--wp--preset--color--tertiary)",
    137                                                 "width": "4px"
    138                                         }
    139                                 }
    140                         },
    141133                        "core/separator": {
    142134                                "border": {
  • trunk/src/wp-content/themes/twentytwentythree/styles/whisper.json

    r54467 r54629  
    223223                        },
    224224                        "core/query-pagination": {
    225                                 "border": {
    226                                         "top": {
    227                                                 "color": "var(--wp--preset--color--contrast)",
    228                                                 "style": "double",
    229                                                 "width": "6px"
    230                                         }
    231                                 },
    232225                                "elements": {
    233226                                        "link": {
  • trunk/src/wp-content/themes/twentytwentythree/templates/blog-alternative.html

    r54467 r54629  
    66        <div class="wp-block-query alignwide">
    77                <!-- wp:post-template -->
    8                         <!-- wp:columns {"verticalAlignment":null,"style":{"border":{"bottom":{"width":"1px"}},"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} -->
    9                         <div class="wp-block-columns" style="border-bottom-width:1px;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)">
     8                        <!-- wp:columns {"style":{"border":{"bottom":{"width":"1px"}},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"},"margin":{"top":"-1.5rem","bottom":"0px"}}}} -->
     9                        <div class="wp-block-columns" style="border-bottom-width:1px;margin-top:-1.5rem;margin-bottom:0px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
    1010                                <!-- wp:column {"verticalAlignment":"center","width":"20%"} -->
    1111                                <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%">
  • trunk/src/wp-content/themes/twentytwentythree/templates/home.html

    r54467 r54629  
    11<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
    22
    3 <!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
    4 <main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
    5         <!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|50"}}}} -->
    6         <h1 class="alignwide" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--50)">Mindblown: a blog about philosophy.</h1>
     3<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
     4<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--70)">
     5        <!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|60"}}}} -->
     6        <h1 class="alignwide" style="margin-bottom:var(--wp--preset--spacing--60)">Mindblown: a blog about philosophy.</h1>
    77        <!-- /wp:heading -->
    88
     
    1515                        <!-- wp:post-date {"isLink":true} /-->
    1616
    17                         <!-- wp:spacer {"height":"var(--wp--preset--spacing--60)"} -->
    18                         <div style="height:var(--wp--preset--spacing--60)" aria-hidden="true" class="wp-block-spacer"></div>
     17                        <!-- wp:spacer {"height":"var(--wp--preset--spacing--40)"} -->
     18                        <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
    1919                        <!-- /wp:spacer -->
    2020                <!-- /wp:post-template -->
  • trunk/src/wp-content/themes/twentytwentythree/templates/page.html

    r54372 r54629  
    11<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
    22
    3 <!-- wp:group {"tagName":"main"} -->
    4 <main class="wp-block-group">
     3<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50"}}}} -->
     4<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50)">
    55        <!-- wp:group {"layout":{"type":"constrained"}} -->
    66        <div class="wp-block-group">
    7                 <!-- wp:post-featured-image {"overlayColor":"contrast","dimRatio":50,"align":"wide"} /-->
    8                 <!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
     7                <!-- wp:post-featured-image {"overlayColor":"contrast","dimRatio":50,"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50","top":"calc(-1 * var(--wp--preset--spacing--50))"}}}} /-->
     8                <!-- wp:post-title {"level":1,"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
    99        </div>
    1010        <!-- /wp:group -->
  • trunk/src/wp-content/themes/twentytwentythree/templates/single.html

    r54372 r54629  
    11<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
    22
    3 <!-- wp:group {"tagName":"main"} -->
    4 <main class="wp-block-group">
     3<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|50"}}}} -->
     4<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50)">
    55        <!-- wp:group {"layout":{"type":"constrained"}} -->
    66        <div class="wp-block-group">
    7                 <!-- wp:post-featured-image {"overlayColor":"contrast","dimRatio":50,"align":"wide"} /-->
    8                 <!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} /-->
     7                <!-- wp:post-featured-image {"overlayColor":"contrast","dimRatio":50,"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50","top":"calc(-1 * var(--wp--preset--spacing--50))"}}}} /-->
     8                <!-- wp:post-title {"level":1,"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
    99        </div>
    1010        <!-- /wp:group -->
  • trunk/src/wp-content/themes/twentytwentythree/theme.json

    r54467 r54629  
    5959                "layout": {
    6060                        "contentSize": "650px",
    61                         "wideSize": "1000px"
     61                        "wideSize": "1200px"
    6262                },
    6363                "spacing": {
     
    7777                                },
    7878                                {
    79                                         "size": "clamp(2.5rem, 8vw, 6.5rem)",
     79                                        "size": "clamp(2.5rem, 8vw, 4.5rem)",
    8080                                        "slug": "50",
    8181                                        "name": "3"
     
    265265                                },
    266266                                {
    267                                         "size": "1.75rem",
    268                                         "slug": "large",
    269267                                        "fluid": {
    270268                                                "min": "1.75rem",
    271269                                                "max": "1.875rem"
    272                                         }
    273                                 },
    274                                 {
     270                                        },
     271                                        "size": "1.75rem",
     272                                        "slug": "large"
     273                                },
     274                                {
     275                                        "fluid": false,
    275276                                        "size": "2.25rem",
    276                                         "slug": "x-large",
    277                                         "fluid": false
    278                                 },
    279                                 {
    280                                         "size": "10rem",
    281                                         "slug": "xx-large",
     277                                        "slug": "x-large"
     278                                },
     279                                {
    282280                                        "fluid": {
    283281                                                "min": "4rem",
    284                                                 "max": "20rem"
    285                                         }
     282                                                "max": "10rem"
     283                                        },
     284                                        "size": "10rem",
     285                                        "slug": "xx-large"
    286286                                }
    287287                        ]
     
    363363                                "spacing": {
    364364                                        "margin": {
    365                                                 "bottom": "var(--wp--preset--spacing--30)",
    366                                                 "top": "var(--wp--preset--spacing--30)"
     365                                                "bottom": "1.25rem",
     366                                                "top": "1.25rem"
    367367                                        }
    368368                                },
     
    511511                                }
    512512                        },
     513                        "core/query": {
     514                                "elements": {
     515                                        "h2": {
     516                                                "typography": {
     517                                                        "fontSize": "var(--wp--preset--font-size--x-large)"
     518                                                }
     519                                        }
     520                                }
     521                        },
    513522                        "core/query-pagination": {
    514523                                "typography": {
    515524                                        "fontSize": "var(--wp--preset--font-size--small)",
    516525                                        "fontWeight": "400"
    517                                 },
    518                                 "spacing": {
    519                                         "padding": {
    520                                                 "top": "var(--wp--preset--spacing--40)"
    521                                         }
    522                                 },
    523                                 "border": {
    524                                         "top": {
    525                                                 "width": "2px",
    526                                                 "style": "solid"
    527                                         }
    528526                                },
    529527                                "elements": {
Note: See TracChangeset for help on using the changeset viewer.