From f623723507748314aa27c2f1013c2d99bf5d9a49 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Mon, 7 Jul 2025 20:17:28 +0000 Subject: [PATCH] Twenty Twelve: Fixes figcaption alignment. The figcaption alignment was not the same on the front as in the editor. This resolves that. Reviewed by audrasjb, karmatosed. Merges [60343] to the 6.8 branch. Props nidhidhandhukiya, sabernhardt. Fixes #63073. Built from https://develop.svn.wordpress.org/branches/6.8@60427 git-svn-id: http://core.svn.wordpress.org/branches/6.8@59763 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwelve/css/editor-blocks.css | 8 ++------ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/wp-content/themes/twentytwelve/css/editor-blocks.css b/wp-content/themes/twentytwelve/css/editor-blocks.css index 85dd813bf2..25ddf21943 100644 --- a/wp-content/themes/twentytwelve/css/editor-blocks.css +++ b/wp-content/themes/twentytwelve/css/editor-blocks.css @@ -141,18 +141,14 @@ Description: Used to style blocks in the editor. /* Captions */ +[class*=" wp-block-"] figcaption, [class^="wp-block-"] figcaption, [class^="wp-block-"] figcaption.editor-rich-text__tinymce.mce-content-body { color: #757575; font-size: 12px; line-height: 2; font-style: italic; - text-align: left; -} - -.rtl [class^="wp-block-"] figcaption, -.rtl [class^="wp-block-"] figcaption.editor-rich-text__tinymce.mce-content-body { - text-align: right; + text-align: start; } /* Definition Lists */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 547349071f..9d5b4ba7d8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8.2-alpha-60426'; +$wp_version = '6.8.2-alpha-60427'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.