Bundled Themes: Replace “Gutenberg” in code comments and classes.

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
This commit is contained in:
desrosj 2018-12-19 03:30:41 +00:00
parent 6ab27f50a6
commit 4aa38f2193
25 changed files with 28 additions and 34 deletions

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Eleven Theme Name: Twenty Eleven
Description: Used to style Gutenberg Blocks. Description: Used to style blocks.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Eleven Theme Name: Twenty Eleven
Description: Used to style Gutenberg Blocks in the editor. Description: Used to style blocks in the editor.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -297,7 +297,7 @@ function twentyeleven_scripts_styles() {
add_action( 'wp_enqueue_scripts', '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 * @since Twenty Eleven 2.9
*/ */

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Fifteen Theme Name: Twenty Fifteen
Description: Used to style Gutenberg Blocks. Description: Used to style blocks.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Fifteen Theme Name: Twenty Fifteen
Description: Used to style Gutenberg Blocks in the editor. Description: Used to style blocks in the editor.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -403,7 +403,7 @@ function twentyfifteen_scripts() {
add_action( 'wp_enqueue_scripts', '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 * @since Twenty Fifteen 2.1
*/ */

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Fourteen Theme Name: Twenty Fourteen
Description: Used to style Gutenberg Blocks. Description: Used to style blocks.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Fourteen Theme Name: Twenty Fourteen
Description: Used to style Gutenberg Blocks in the editor. Description: Used to style blocks in the editor.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -389,7 +389,7 @@ function twentyfourteen_resource_hints( $urls, $relation_type ) {
add_filter( 'wp_resource_hints', 'twentyfourteen_resource_hints', 10, 2 ); 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 * @since Twenty Fourteen 2.3
*/ */

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Seventeen Theme Name: Twenty Seventeen
Description: Used to style Gutenberg Blocks. Description: Used to style blocks.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Seventeen 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. */ 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 */ /* Alignments */
.edit-post-visual-editor .alignleft { .edit-post-visual-editor .alignleft {

View File

@ -501,7 +501,7 @@ function twentyseventeen_scripts() {
add_action( 'wp_enqueue_scripts', '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 * @since Twenty Seventeen 1.8
*/ */

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Sixteen Theme Name: Twenty Sixteen
Description: Used to style Gutenberg Blocks. Description: Used to style blocks.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Sixteen Theme Name: Twenty Sixteen
Description: Used to style Gutenberg Blocks in the editor. Description: Used to style blocks in the editor.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -412,7 +412,7 @@ function twentysixteen_scripts() {
add_action( 'wp_enqueue_scripts', '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 * @since Twenty Sixteen 1.6
*/ */

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Ten Theme Name: Twenty Ten
Description: Used to style Gutenberg Blocks. Description: Used to style blocks.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Ten Theme Name: Twenty Ten
Description: Used to style Gutenberg Blocks in the editor. Description: Used to style blocks in the editor.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -706,7 +706,7 @@ function twentyten_scripts_styles() {
add_action( 'wp_enqueue_scripts', '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 * @since Twenty Ten 2.6
*/ */

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Thirteen Theme Name: Twenty Thirteen
Description: Used to style Gutenberg Blocks. Description: Used to style blocks.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Thirteen Theme Name: Twenty Thirteen
Description: Used to style Gutenberg Blocks in the editor. Description: Used to style blocks in the editor.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -317,7 +317,7 @@ function twentythirteen_resource_hints( $urls, $relation_type ) {
add_filter( 'wp_resource_hints', 'twentythirteen_resource_hints', 10, 2 ); 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 * @since Twenty Thirteen 2.5
*/ */

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Twelve Theme Name: Twenty Twelve
Description: Used to style Gutenberg Blocks. Description: Used to style blocks.
*/ */
/*-------------------------------------------------------------- /*--------------------------------------------------------------

View File

@ -1,6 +1,6 @@
/* /*
Theme Name: Twenty Twelve 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 */ /* Archives */
.gutenberg ul.wp-block-archives { .editor-block-list__block ul.wp-block-archives {
padding-left: 0; padding-left: 0;
} }
/* Categories */ /* Categories */
.gutenberg .wp-block-categories ul { .editor-block-list__block .wp-block-categories ul {
padding-left: 0; padding-left: 0;
} }
@ -448,7 +448,7 @@ p.has-drop-cap:not(:focus)::first-letter {
/* Latest Posts */ /* Latest Posts */
.gutenberg .wp-block-latest-posts { .editor-block-list__block .wp-block-latest-posts {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
} }

View File

@ -209,7 +209,7 @@ function twentytwelve_scripts_styles() {
add_action( 'wp_enqueue_scripts', '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 * @since Twenty Twelve 2.6
*/ */

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.