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. Fixes #45452. Built from https://develop.svn.wordpress.org/branches/5.0@44213 git-svn-id: http://core.svn.wordpress.org/branches/5.0@44043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2d8697b053
commit
c8b708b68a
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Theme Name: Twenty Eleven
|
||||
Description: Used to style Gutenberg Blocks.
|
||||
Description: Used to style blocks.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -287,7 +287,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
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Theme Name: Twenty Fifteen
|
||||
Description: Used to style Gutenberg Blocks.
|
||||
Description: Used to style blocks.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -362,7 +362,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
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Theme Name: Twenty Fourteen
|
||||
Description: Used to style Gutenberg Blocks.
|
||||
Description: Used to style blocks.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -349,7 +349,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
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Theme Name: Twenty Seventeen
|
||||
Description: Used to style Gutenberg Blocks.
|
||||
Description: Used to style blocks.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
@ -358,12 +358,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 {
|
||||
|
|
|
@ -472,7 +472,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
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Theme Name: Twenty Sixteen
|
||||
Description: Used to style Gutenberg Blocks.
|
||||
Description: Used to style blocks.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -364,7 +364,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
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Theme Name: Twenty Ten
|
||||
Description: Used to style Gutenberg Blocks.
|
||||
Description: Used to style blocks.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -660,7 +660,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
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Theme Name: Twenty Thirteen
|
||||
Description: Used to style Gutenberg Blocks.
|
||||
Description: Used to style blocks.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -290,7 +290,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
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
Theme Name: Twenty Twelve
|
||||
Description: Used to style Gutenberg Blocks.
|
||||
Description: Used to style blocks.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -199,7 +199,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
|
||||
*/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0.2-alpha-44212';
|
||||
$wp_version = '5.0.2-alpha-44213';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue