mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 23:27:39 +02:00
Themes: Remove inline comment that is not relevant in WordPress Core.
This removes an inline comment block that was added when importing the `WP_Theme_JSON` class in [50959]. The comment is relevant to the code only when viewed within the context of the Gutenberg plugin. Props nosolosw, jorbin. Fixes #53576. Built from https://develop.svn.wordpress.org/trunk@51352 git-svn-id: http://core.svn.wordpress.org/trunk@50961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
faa69b408c
commit
5ce4f59f07
@ -1206,12 +1206,6 @@ class WP_Theme_JSON {
|
|||||||
$theme_settings['settings']['typography']['fontSizes'] = $font_sizes;
|
$theme_settings['settings']['typography']['fontSizes'] = $font_sizes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* This allows to make the plugin work with WordPress 5.8 beta
|
|
||||||
* as well as lower versions. The second check can be removed
|
|
||||||
* as soon as the minimum WordPress version for the plugin
|
|
||||||
* is bumped to 5.8.
|
|
||||||
*/
|
|
||||||
if ( isset( $settings['enableCustomSpacing'] ) ) {
|
if ( isset( $settings['enableCustomSpacing'] ) ) {
|
||||||
if ( ! isset( $theme_settings['settings']['spacing'] ) ) {
|
if ( ! isset( $theme_settings['settings']['spacing'] ) ) {
|
||||||
$theme_settings['settings']['spacing'] = array();
|
$theme_settings['settings']['spacing'] = array();
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.9-alpha-51351';
|
$wp_version = '5.9-alpha-51352';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user