From 09554030d42dfc48bdba62585d07af2fe4db613b Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Mon, 16 Oct 2023 04:43:22 +0000 Subject: [PATCH] Twenty Thirteen, Twenty Sixteen: Use default display for summary element. Within the details block, style the `summary` element using the default display, `list-item`, this ensures the toggle icon appears indicating the summary can be expanded or contracted. Props ankit-k-gupta, nicolefurlan, poena, sabernhardt. Fixes #58915. Built from https://develop.svn.wordpress.org/trunk@56940 git-svn-id: http://core.svn.wordpress.org/trunk@56451 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentysixteen/css/blocks.css | 6 ++++++ wp-content/themes/twentythirteen/css/blocks.css | 6 ++++++ wp-includes/version.php | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentysixteen/css/blocks.css b/wp-content/themes/twentysixteen/css/blocks.css index 47a13e04d9..de6f19fd53 100644 --- a/wp-content/themes/twentysixteen/css/blocks.css +++ b/wp-content/themes/twentysixteen/css/blocks.css @@ -319,6 +319,12 @@ hr.wp-block-separator { margin-bottom: 0; } +/* Details */ + +.wp-block-details > summary:first-of-type { + display: list-item; +} + /*-------------------------------------------------------------- 5.0 Blocks - Widget Blocks --------------------------------------------------------------*/ diff --git a/wp-content/themes/twentythirteen/css/blocks.css b/wp-content/themes/twentythirteen/css/blocks.css index 092b335d00..5eb588a4a6 100644 --- a/wp-content/themes/twentythirteen/css/blocks.css +++ b/wp-content/themes/twentythirteen/css/blocks.css @@ -544,6 +544,12 @@ body:not(.sidebar) .wp-block-table.alignfull { margin-bottom: 0; } +/* Details */ + +.wp-block-details > summary:first-of-type { + display: list-item; +} + /*-------------------------------------------------------------- 6.0 Blocks - Widgets --------------------------------------------------------------*/ diff --git a/wp-includes/version.php b/wp-includes/version.php index 4471364753..4e6aa17233 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-beta4-56939'; +$wp_version = '6.4-beta4-56940'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.