From 4aa38f2193df535c5e4540d7a6fe4eccc9342dfb Mon Sep 17 00:00:00 2001 From: desrosj Date: Wed, 19 Dec 2018 03:30:41 +0000 Subject: [PATCH] =?UTF-8?q?Bundled=20Themes:=20Replace=20=E2=80=9CGutenber?= =?UTF-8?q?g=E2=80=9D=20in=20code=20comments=20and=20classes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This update replaces the term “Gutenberg” in the themes code comments and classes with something more future-friendly. Props laurelfulford. Merges [44213] into trunk. Fixes #45452. Built from https://develop.svn.wordpress.org/trunk@44313 git-svn-id: http://core.svn.wordpress.org/trunk@44143 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/blocks.css | 2 +- wp-content/themes/twentyeleven/editor-blocks.css | 2 +- wp-content/themes/twentyeleven/functions.php | 2 +- wp-content/themes/twentyfifteen/css/blocks.css | 2 +- wp-content/themes/twentyfifteen/css/editor-blocks.css | 2 +- wp-content/themes/twentyfifteen/functions.php | 2 +- wp-content/themes/twentyfourteen/css/blocks.css | 2 +- wp-content/themes/twentyfourteen/css/editor-blocks.css | 2 +- wp-content/themes/twentyfourteen/functions.php | 2 +- wp-content/themes/twentyseventeen/assets/css/blocks.css | 2 +- .../themes/twentyseventeen/assets/css/editor-blocks.css | 8 +------- wp-content/themes/twentyseventeen/functions.php | 2 +- wp-content/themes/twentysixteen/css/blocks.css | 2 +- wp-content/themes/twentysixteen/css/editor-blocks.css | 2 +- wp-content/themes/twentysixteen/functions.php | 2 +- wp-content/themes/twentyten/blocks.css | 2 +- wp-content/themes/twentyten/editor-blocks.css | 2 +- wp-content/themes/twentyten/functions.php | 2 +- wp-content/themes/twentythirteen/css/blocks.css | 2 +- wp-content/themes/twentythirteen/css/editor-blocks.css | 2 +- wp-content/themes/twentythirteen/functions.php | 2 +- wp-content/themes/twentytwelve/css/blocks.css | 2 +- wp-content/themes/twentytwelve/css/editor-blocks.css | 8 ++++---- wp-content/themes/twentytwelve/functions.php | 2 +- wp-includes/version.php | 2 +- 25 files changed, 28 insertions(+), 34 deletions(-) diff --git a/wp-content/themes/twentyeleven/blocks.css b/wp-content/themes/twentyeleven/blocks.css index a0071b0709..e29ddf9ca5 100644 --- a/wp-content/themes/twentyeleven/blocks.css +++ b/wp-content/themes/twentyeleven/blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Eleven -Description: Used to style Gutenberg Blocks. +Description: Used to style blocks. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentyeleven/editor-blocks.css b/wp-content/themes/twentyeleven/editor-blocks.css index b5c6503f23..b9dd850704 100644 --- a/wp-content/themes/twentyeleven/editor-blocks.css +++ b/wp-content/themes/twentyeleven/editor-blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Eleven -Description: Used to style Gutenberg Blocks in the editor. +Description: Used to style blocks in the editor. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentyeleven/functions.php b/wp-content/themes/twentyeleven/functions.php index 8b8c74439a..4da0b98aef 100644 --- a/wp-content/themes/twentyeleven/functions.php +++ b/wp-content/themes/twentyeleven/functions.php @@ -297,7 +297,7 @@ function twentyeleven_scripts_styles() { add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' ); /** - * Enqueue editor styles for Gutenberg + * Enqueue styles for the block-based editor. * * @since Twenty Eleven 2.9 */ diff --git a/wp-content/themes/twentyfifteen/css/blocks.css b/wp-content/themes/twentyfifteen/css/blocks.css index 9c822769ca..82563902c2 100644 --- a/wp-content/themes/twentyfifteen/css/blocks.css +++ b/wp-content/themes/twentyfifteen/css/blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Fifteen -Description: Used to style Gutenberg Blocks. +Description: Used to style blocks. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentyfifteen/css/editor-blocks.css b/wp-content/themes/twentyfifteen/css/editor-blocks.css index dd8a6f9045..6076cab6bf 100644 --- a/wp-content/themes/twentyfifteen/css/editor-blocks.css +++ b/wp-content/themes/twentyfifteen/css/editor-blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Fifteen -Description: Used to style Gutenberg Blocks in the editor. +Description: Used to style blocks in the editor. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentyfifteen/functions.php b/wp-content/themes/twentyfifteen/functions.php index cf03b1a0f0..b536c296a9 100644 --- a/wp-content/themes/twentyfifteen/functions.php +++ b/wp-content/themes/twentyfifteen/functions.php @@ -403,7 +403,7 @@ function twentyfifteen_scripts() { add_action( 'wp_enqueue_scripts', 'twentyfifteen_scripts' ); /** - * Enqueue editor styles for Gutenberg + * Enqueue styles for the block-based editor. * * @since Twenty Fifteen 2.1 */ diff --git a/wp-content/themes/twentyfourteen/css/blocks.css b/wp-content/themes/twentyfourteen/css/blocks.css index e3c5360f59..425c8dbc21 100644 --- a/wp-content/themes/twentyfourteen/css/blocks.css +++ b/wp-content/themes/twentyfourteen/css/blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Fourteen -Description: Used to style Gutenberg Blocks. +Description: Used to style blocks. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentyfourteen/css/editor-blocks.css b/wp-content/themes/twentyfourteen/css/editor-blocks.css index c54bece49d..e8fba39546 100644 --- a/wp-content/themes/twentyfourteen/css/editor-blocks.css +++ b/wp-content/themes/twentyfourteen/css/editor-blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Fourteen -Description: Used to style Gutenberg Blocks in the editor. +Description: Used to style blocks in the editor. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php index 79a8a3d52b..ab873be736 100644 --- a/wp-content/themes/twentyfourteen/functions.php +++ b/wp-content/themes/twentyfourteen/functions.php @@ -389,7 +389,7 @@ function twentyfourteen_resource_hints( $urls, $relation_type ) { add_filter( 'wp_resource_hints', 'twentyfourteen_resource_hints', 10, 2 ); /** - * Enqueue editor styles for Gutenberg + * Enqueue styles for the block-based editor. * * @since Twenty Fourteen 2.3 */ diff --git a/wp-content/themes/twentyseventeen/assets/css/blocks.css b/wp-content/themes/twentyseventeen/assets/css/blocks.css index c71f1d1e49..d85a17483e 100644 --- a/wp-content/themes/twentyseventeen/assets/css/blocks.css +++ b/wp-content/themes/twentyseventeen/assets/css/blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Seventeen -Description: Used to style Gutenberg Blocks. +Description: Used to style blocks. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css b/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css index 6bd89e19aa..97e4d9a046 100644 --- a/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css +++ b/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Seventeen -Description: Used to style Gutenberg Blocks in the editor. +Description: Used to style blocks in the editor. */ /*-------------------------------------------------------------- @@ -361,12 +361,6 @@ html[lang="th"] .edit-post-visual-editor * { max-width: 674px; /* Based on one-column post width; 644px + 30px to account for padding. */ } -/* Background color */ - -.gutenberg-editor-page .editor-block-list__block { - background-color: transparent; -} - /* Alignments */ .edit-post-visual-editor .alignleft { diff --git a/wp-content/themes/twentyseventeen/functions.php b/wp-content/themes/twentyseventeen/functions.php index 8a067d3a42..10eae971ad 100644 --- a/wp-content/themes/twentyseventeen/functions.php +++ b/wp-content/themes/twentyseventeen/functions.php @@ -501,7 +501,7 @@ function twentyseventeen_scripts() { add_action( 'wp_enqueue_scripts', 'twentyseventeen_scripts' ); /** - * Enqueue editor styles for Gutenberg + * Enqueue styles for the block-based editor. * * @since Twenty Seventeen 1.8 */ diff --git a/wp-content/themes/twentysixteen/css/blocks.css b/wp-content/themes/twentysixteen/css/blocks.css index 2013cc8019..ae7422416e 100644 --- a/wp-content/themes/twentysixteen/css/blocks.css +++ b/wp-content/themes/twentysixteen/css/blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Sixteen -Description: Used to style Gutenberg Blocks. +Description: Used to style blocks. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentysixteen/css/editor-blocks.css b/wp-content/themes/twentysixteen/css/editor-blocks.css index 47ad227497..802353bfe7 100644 --- a/wp-content/themes/twentysixteen/css/editor-blocks.css +++ b/wp-content/themes/twentysixteen/css/editor-blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Sixteen -Description: Used to style Gutenberg Blocks in the editor. +Description: Used to style blocks in the editor. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentysixteen/functions.php b/wp-content/themes/twentysixteen/functions.php index 9dd1bab99e..d3eb17922a 100644 --- a/wp-content/themes/twentysixteen/functions.php +++ b/wp-content/themes/twentysixteen/functions.php @@ -412,7 +412,7 @@ function twentysixteen_scripts() { add_action( 'wp_enqueue_scripts', 'twentysixteen_scripts' ); /** - * Enqueue editor styles for Gutenberg + * Enqueue styles for the block-based editor. * * @since Twenty Sixteen 1.6 */ diff --git a/wp-content/themes/twentyten/blocks.css b/wp-content/themes/twentyten/blocks.css index 25d08e9e1a..6bcc3e8ad3 100644 --- a/wp-content/themes/twentyten/blocks.css +++ b/wp-content/themes/twentyten/blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Ten -Description: Used to style Gutenberg Blocks. +Description: Used to style blocks. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentyten/editor-blocks.css b/wp-content/themes/twentyten/editor-blocks.css index ac79590d42..f4d8e328e7 100644 --- a/wp-content/themes/twentyten/editor-blocks.css +++ b/wp-content/themes/twentyten/editor-blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Ten -Description: Used to style Gutenberg Blocks in the editor. +Description: Used to style blocks in the editor. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentyten/functions.php b/wp-content/themes/twentyten/functions.php index a67451b545..4072713d2c 100644 --- a/wp-content/themes/twentyten/functions.php +++ b/wp-content/themes/twentyten/functions.php @@ -706,7 +706,7 @@ function twentyten_scripts_styles() { add_action( 'wp_enqueue_scripts', 'twentyten_scripts_styles' ); /** - * Enqueue editor styles for Gutenberg + * Enqueue styles for the block-based editor. * * @since Twenty Ten 2.6 */ diff --git a/wp-content/themes/twentythirteen/css/blocks.css b/wp-content/themes/twentythirteen/css/blocks.css index 2a28840ecb..bae2a185e2 100644 --- a/wp-content/themes/twentythirteen/css/blocks.css +++ b/wp-content/themes/twentythirteen/css/blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Thirteen -Description: Used to style Gutenberg Blocks. +Description: Used to style blocks. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentythirteen/css/editor-blocks.css b/wp-content/themes/twentythirteen/css/editor-blocks.css index 768ae53c2d..d536ed4986 100644 --- a/wp-content/themes/twentythirteen/css/editor-blocks.css +++ b/wp-content/themes/twentythirteen/css/editor-blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Thirteen -Description: Used to style Gutenberg Blocks in the editor. +Description: Used to style blocks in the editor. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentythirteen/functions.php b/wp-content/themes/twentythirteen/functions.php index a46b5f9386..7269c40afe 100644 --- a/wp-content/themes/twentythirteen/functions.php +++ b/wp-content/themes/twentythirteen/functions.php @@ -317,7 +317,7 @@ function twentythirteen_resource_hints( $urls, $relation_type ) { add_filter( 'wp_resource_hints', 'twentythirteen_resource_hints', 10, 2 ); /** - * Enqueue editor styles for Gutenberg + * Enqueue styles for the block-based editor. * * @since Twenty Thirteen 2.5 */ diff --git a/wp-content/themes/twentytwelve/css/blocks.css b/wp-content/themes/twentytwelve/css/blocks.css index 554ddd3fe3..a03cef640c 100644 --- a/wp-content/themes/twentytwelve/css/blocks.css +++ b/wp-content/themes/twentytwelve/css/blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Twelve -Description: Used to style Gutenberg Blocks. +Description: Used to style blocks. */ /*-------------------------------------------------------------- diff --git a/wp-content/themes/twentytwelve/css/editor-blocks.css b/wp-content/themes/twentytwelve/css/editor-blocks.css index 142127bc72..99be72d4d5 100644 --- a/wp-content/themes/twentytwelve/css/editor-blocks.css +++ b/wp-content/themes/twentytwelve/css/editor-blocks.css @@ -1,6 +1,6 @@ /* Theme Name: Twenty Twelve -Description: Used to style Gutenberg Blocks in the editor. +Description: Used to style blocks in the editor. */ /*-------------------------------------------------------------- @@ -394,13 +394,13 @@ p.has-drop-cap:not(:focus)::first-letter { /* Archives */ -.gutenberg ul.wp-block-archives { +.editor-block-list__block ul.wp-block-archives { padding-left: 0; } /* Categories */ -.gutenberg .wp-block-categories ul { +.editor-block-list__block .wp-block-categories ul { padding-left: 0; } @@ -448,7 +448,7 @@ p.has-drop-cap:not(:focus)::first-letter { /* Latest Posts */ -.gutenberg .wp-block-latest-posts { +.editor-block-list__block .wp-block-latest-posts { padding-left: 0; padding-right: 0; } diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 9fedeecd52..c76d661e6b 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -209,7 +209,7 @@ function twentytwelve_scripts_styles() { add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' ); /** - * Enqueue editor styles for Gutenberg + * Enqueue styles for the block-based editor. * * @since Twenty Twelve 2.6 */ diff --git a/wp-includes/version.php b/wp-includes/version.php index f9b602b207..245dbf208e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-alpha-44312'; +$wp_version = '5.1-alpha-44313'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.