Twenty Twenty-Three: Bug fixes and improvements for beta 2.

This brings over the latest bug fixes and improvements ahead of WordPress 6.1 beta 2, which includes an additional style variation, “Aubergine”.

For a full list of changes being included, see the `twentytwentythree` repository on GitHub: 1b97bb83f1...ac96e8d545.

Props mikachan, poena, madhudollu, critterverse, beafialho, felipeelia.
See #56383.
Built from https://develop.svn.wordpress.org/trunk@54312


git-svn-id: http://core.svn.wordpress.org/trunk@53871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2022-09-26 18:34:14 +00:00
parent 26b2f466f4
commit 906280f933
15 changed files with 389 additions and 66 deletions

View File

@ -1,46 +1 @@
<!-- wp:group {"layout":{"type":"constrained"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","right":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} --> <!-- wp:pattern {"slug":"twentytwentythree/hidden-comments"} /-->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)">
<!-- wp:comments -->
<div class="wp-block-comments">
<!-- wp:comments-title /-->
<!-- wp:comment-template -->
<!-- wp:columns {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} -->
<div class="wp-block-columns" style="margin-bottom:var(--wp--preset--spacing--40)">
<!-- wp:column {"width":"40px"} -->
<div class="wp-block-column" style="flex-basis:40px">
<!-- wp:avatar {"size":40,"style":{"border":{"radius":"20px"}}} /-->
</div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:comment-author-name /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"flex"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
<!-- wp:comment-date /-->
<!-- wp:comment-edit-link /-->
</div>
<!-- /wp:group -->
<!-- wp:comment-content /-->
<!-- wp:comment-reply-link /-->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
<!-- /wp:comment-template -->
<!-- wp:comments-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-numbers /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->
<!-- wp:post-comments-form /-->
</div>
<!-- /wp:comments -->
</div>
<!-- /wp:group -->

View File

@ -2,7 +2,7 @@
<div class="wp-block-group"> <div class="wp-block-group">
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|60"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|60"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide" style="padding-bottom:var(--wp--preset--spacing--60)"> <div class="wp-block-group alignwide" style="padding-bottom:var(--wp--preset--spacing--60)">
<!-- wp:site-title /--> <!-- wp:site-title {"level":0} /-->
<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} /--> <!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} /-->
</div> </div>
<!-- /wp:group --> <!-- /wp:group -->

View File

@ -0,0 +1,57 @@
<?php
/**
* Title: Hidden Comments
* Slug: twentytwentythree/hidden-comments
* Inserter: no
*/
?>
<!-- wp:group {"layout":{"type":"constrained"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","right":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)">
<!-- wp:comments -->
<div class="wp-block-comments">
<!-- wp:heading {"level":2} -->
<h2><?php echo esc_html_x( 'Comments', 'Title of comments section', 'twentytwentythree' ); ?></h2>
<!-- /wp:heading -->
<!-- wp:comments-title {"level":3} /-->
<!-- wp:comment-template -->
<!-- wp:columns {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} -->
<div class="wp-block-columns" style="margin-bottom:var(--wp--preset--spacing--40)">
<!-- wp:column {"width":"40px"} -->
<div class="wp-block-column" style="flex-basis:40px">
<!-- wp:avatar {"size":40,"style":{"border":{"radius":"20px"}}} /-->
</div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:comment-author-name /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"flex"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
<!-- wp:comment-date /-->
<!-- wp:comment-edit-link /-->
</div>
<!-- /wp:group -->
<!-- wp:comment-content /-->
<!-- wp:comment-reply-link /-->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
<!-- /wp:comment-template -->
<!-- wp:comments-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-numbers /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->
<!-- wp:post-comments-form /-->
</div>
<!-- /wp:comments -->
</div>
<!-- /wp:group -->

View File

@ -7,6 +7,10 @@
* Block Types: core/template-part/post-meta * Block Types: core/template-part/post-meta
*/ */
?> ?>
<!-- wp:spacer {"height":"0"} -->
<div style="height:0" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} --> <!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)"> <div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
<!-- wp:separator {"opacity":"css","align":"wide","className":"is-style-wide"} --> <!-- wp:separator {"opacity":"css","align":"wide","className":"is-style-wide"} -->
@ -25,7 +29,7 @@
</p> </p>
<!-- /wp:paragraph --> <!-- /wp:paragraph -->
<!-- wp:post-date {"format":"<?php echo esc_html_x( 'F j, Y', 'Date format for publication date of post', 'twentytwentythree' ); ?>"} /--> <!-- wp:post-date /-->
<!-- wp:paragraph --> <!-- wp:paragraph -->
<p> <p>

View File

@ -1,6 +1,6 @@
=== Twenty Twenty-Three === === Twenty Twenty-Three ===
Contributors: wordpressdotorg Contributors: wordpressdotorg
Requires at least: 5.9 Requires at least: 6.1
Tested up to: 6.1 Tested up to: 6.1
Requires PHP: 5.7 Requires PHP: 5.7
License: GPLv2 or later License: GPLv2 or later
@ -8,7 +8,11 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description == == Description ==
Twenty Twenty-Three is a stripped-back and minimal base theme, and includes a diverse collection of style variations designed by members of the community. Twenty Twenty-Three is a diverse, collaborative effort designed with the expansion of the possibilities of the block editor in mind. With a blank, unopinionated base as a starting point, this years default theme has minimal demo content to get in your way.
It embraces aesthetic diversity with a collection of style variations created by members of the WordPress Community, and it is built to take advantage of the new tools introduced in WordPress 6.1.
Whether you want to build a complex or incredibly simple website, you can style it the way you want it, and you can do it quickly and intuitively through the bundled styles or dive into creation and full customisation yourself.
== Changelog == == Changelog ==

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

View File

@ -3,8 +3,8 @@ Theme Name: Twenty Twenty-Three
Theme URI: https://wordpress.org/themes/twentytwentythree Theme URI: https://wordpress.org/themes/twentytwentythree
Author: the WordPress team Author: the WordPress team
Author URI: https://wordpress.org Author URI: https://wordpress.org
Description: Twenty Twenty-Three is a stripped-back and minimal base theme, and includes a diverse collection of style variations designed by members of the community. Description: Twenty Twenty-Three is a diverse, collaborative effort designed with the expansion of the possibilities of the block editor in mind. With a blank, unopinionated base as a starting point, this years default theme has minimal demo content to get in your way. It embraces aesthetic diversity with a collection of style variations created by members of the WordPress Community, and it is built to take advantage of the new tools introduced in WordPress 6.1. Whether you want to build a complex or incredibly simple website, you can style it the way you want it, and you can do it quickly and intuitively through the bundled styles or dive into creation and full customisation yourself.
Requires at least: 5.9 Requires at least: 6.1
Tested up to: 6.1 Tested up to: 6.1
Requires PHP: 5.6 Requires PHP: 5.6
Version: 1.0 Version: 1.0

View File

@ -0,0 +1,279 @@
{
"title": "Aubergine",
"settings": {
"color": {
"gradients": [
{
"gradient": "linear-gradient(180deg, var(--wp--preset--color--secondary) 0%,var(--wp--preset--color--base) 100%)",
"name": "Secondary to Base",
"slug": "secondary-base"
},
{
"gradient": "linear-gradient(180deg, var(--wp--preset--color--base) 0 min(24rem, 10%), var(--wp--preset--color--secondary) 0% 30%, var(--wp--preset--color--base) 100%)",
"name": "Base to Secondary to Base",
"slug": "base-secondary-base"
},
{
"gradient": "linear-gradient(90deg, var(--wp--preset--color--tertiary) 5.74%, var(--wp--preset--color--primary) 100%);",
"name": "Tertiary to Primary",
"slug": "tertiary-primary"
},
{
"gradient": "linear-gradient(90deg, var(--wp--preset--color--primary) 5.74%, var(--wp--preset--color--tertiary) 100%);",
"name": "Primary to Tertiary",
"slug": "primary-tertiary"
}
],
"palette": [
{
"color": "#1B1031",
"name": "Base",
"slug": "base"
},
{
"color": "#FFFFFF",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#FF746D",
"name": "Primary",
"slug": "primary"
},
{
"color": "#551C5E",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#FB326B",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"typography": {
"fontSizes": [
{
"fluid": {
"min": "0.875rem",
"max": "1rem"
},
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"min": "1rem",
"max": "1.125rem"
},
"size": "1.125rem",
"slug": "medium"
},
{
"size": "1.75rem",
"slug": "large",
"fluid": false
},
{
"size": "3.25rem",
"slug": "x-large",
"fluid": false
},
{
"size": "10rem",
"slug": "xx-large",
"fluid": {
"min": "4rem",
"max": "20rem"
}
}
]
}
},
"styles": {
"blocks": {
"core/comment-reply-link": {
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"fontStyle": "italic"
}
}
}
},
"core/group": {
"border": {
"color": "var(--wp--preset--color--primary)"
}
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/post-author-name": {
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"fontStyle": "italic"
}
}
}
},
"core/post-content": {
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
}
},
"core/post-date": {
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"letterSpacing": "0.09rem",
"textTransform": "uppercase"
}
}
}
},
"core/post-terms": {
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"fontStyle": "italic"
}
}
}
},
"core/post-title": {
"typography": {
"fontSize": "clamp(2.625rem, calc(2.625rem + ((1vw - 0.48rem) * 8.4135)), 3.25rem)"
}
},
"core/query": {
"elements": {
"h3": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "700"
}
},
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
}
},
"core/separator": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
"core/site-title": {
"border": {
"color": "var(--wp--preset--color--primary)",
"style": "solid",
"width": "0 0 2px 0"
},
"elements": {
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
":focus": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
},
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
}
}
},
"typography": {
"letterSpacing": "0.09rem",
"textTransform": "uppercase"
}
}
},
"color": {
"gradient": "var(--wp--preset--gradient--base-secondary-base) no-repeat"
},
"elements": {
"button": {
"border": {
"radius": "99999px"
},
"color": {
"gradient": "var(--wp--preset--gradient--tertiary-primary)",
"text": "var(--wp--preset--color--base)"
},
":hover": {
"color": {
"gradient": "var(--wp--preset--gradient--primary-tertiary)",
"text": "var(--wp--preset--color--contrast)"
}
},
":focus": {
"color": {
"gradient": "var(--wp--preset--gradient--primary-tertiary)",
"text": "var(--wp--preset--color--contrast)"
}
},
":active": {
"color": {
"gradient": "var(--wp--preset--gradient--primary-tertiary)",
"text": "var(--wp--preset--color--contrast)"
}
}
},
"heading": {
"typography": {
"letterSpacing": "-0.019rem"
}
},
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--tertiary)"
}
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--dm-sans)"
}
},
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View File

@ -1,5 +1,5 @@
{ {
"title": "Block-out", "title": "Block out",
"settings": { "settings": {
"color": { "color": {
"duotone": [ "duotone": [
@ -73,7 +73,7 @@
}, },
{ {
"fluid": { "fluid": {
"max": "20rem", "max": "14rem",
"min": "4rem" "min": "4rem"
}, },
"size": "10rem", "size": "10rem",
@ -108,12 +108,25 @@
"color": { "color": {
"text": "var(--wp--preset--color--contrast)" "text": "var(--wp--preset--color--contrast)"
} }
},
"h1": {
"color": {
"text": "var(--wp--preset--color--contrast)"
}
} }
} }
}, },
"core/post-featured-image": { "core/post-featured-image": {
"border": { "border": {
"radius": "8px" "radius": "8px"
},
"filter": {
"duotone": "var(--wp--preset--duotone--default-filter)"
}
},
"core/post-title": {
"color": {
"text": "var(--wp--preset--color--primary)"
} }
}, },
"core/quote": { "core/quote": {
@ -133,7 +146,18 @@
}, },
"core/site-title": { "core/site-title": {
"typography": { "typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)" "fontSize": "var(--wp--preset--font-size--xx-large)",
"lineHeight": "1.1",
"textTransform": "lowercase"
}
},
"core/query": {
"elements": {
"h3": {
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
} }
} }
}, },
@ -148,7 +172,7 @@
"fontWeight": "400" "fontWeight": "400"
} }
}, },
"h2": { "h1": {
"color": { "color": {
"text": "var(--wp--preset--color--primary)" "text": "var(--wp--preset--color--primary)"
} }

View File

@ -10,7 +10,7 @@
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /--> <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
<!-- wp:post-title {"isLink":true} /--> <!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-excerpt /--> <!-- wp:post-excerpt /-->
<!-- wp:post-date {"format":"F j, Y","isLink":true} /--> <!-- wp:post-date {"isLink":true} /-->
<!-- wp:spacer {"height":"var(--wp--preset--spacing--50)"} --> <!-- wp:spacer {"height":"var(--wp--preset--spacing--50)"} -->
<div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div> <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>

View File

@ -7,17 +7,17 @@
<figure class="wp-block-image alignwide"><img alt=""/></figure> <figure class="wp-block-image alignwide"><img alt=""/></figure>
<!-- /wp:image --> <!-- /wp:image -->
<!-- wp:heading {"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|50"}}}} --> <!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|50"}}}} -->
<h2 class="alignwide" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--50);">Mindblown: a blog about philosophy.</h2> <h1 class="alignwide" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--50)">Mindblown: a blog about philosophy.</h1>
<!-- /wp:heading --> <!-- /wp:heading -->
<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"constrained"}} --> <!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-query alignwide"> <div class="wp-block-query alignwide">
<!-- wp:post-template {"align":"wide"} --> <!-- wp:post-template {"align":"wide"} -->
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /--> <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
<!-- wp:post-title {"level":3,"isLink":true} /--> <!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-excerpt /--> <!-- wp:post-excerpt /-->
<!-- wp:post-date {"format":"F j, Y","isLink":true} /--> <!-- wp:post-date {"isLink":true} /-->
<!-- wp:spacer {"height":"var(--wp--preset--spacing--60)"} --> <!-- wp:spacer {"height":"var(--wp--preset--spacing--60)"} -->
<div style="height:var(--wp--preset--spacing--60)" aria-hidden="true" class="wp-block-spacer"></div> <div style="height:var(--wp--preset--spacing--60)" aria-hidden="true" class="wp-block-spacer"></div>

View File

@ -8,7 +8,7 @@
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /--> <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
<!-- wp:post-title {"isLink":true,"align":"wide"} /--> <!-- wp:post-title {"isLink":true,"align":"wide"} /-->
<!-- wp:post-excerpt /--> <!-- wp:post-excerpt /-->
<!-- wp:post-date {"format":"F j, Y","isLink":true} /--> <!-- wp:post-date {"isLink":true} /-->
<!-- wp:spacer {"height":"var(--wp--preset--spacing--70)"} --> <!-- wp:spacer {"height":"var(--wp--preset--spacing--70)"} -->
<div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div> <div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div>

View File

@ -10,7 +10,7 @@
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /--> <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
<!-- wp:post-title {"isLink":true} /--> <!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-excerpt /--> <!-- wp:post-excerpt /-->
<!-- wp:post-date {"format":"F j, Y","isLink":true} /--> <!-- wp:post-date {"isLink":true} /-->
<!-- wp:spacer {"height":"var(--wp--preset--spacing--70)"} --> <!-- wp:spacer {"height":"var(--wp--preset--spacing--70)"} -->
<div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div> <div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div>

View File

@ -370,8 +370,8 @@
"core/post-title": { "core/post-title": {
"spacing": { "spacing": {
"margin": { "margin": {
"bottom": "var(--wp--preset--spacing--40)", "bottom": "var(--wp--preset--spacing--30)",
"top": "var(--wp--preset--spacing--40)" "top": "var(--wp--preset--spacing--30)"
} }
}, },
"typography": { "typography": {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.1-beta1-54311'; $wp_version = '6.1-beta1-54312';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.