mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00: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. git-svn-id: https://develop.svn.wordpress.org/trunk@51352 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1206,12 +1206,6 @@ class WP_Theme_JSON {
|
||||
$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( $theme_settings['settings']['spacing'] ) ) {
|
||||
$theme_settings['settings']['spacing'] = array();
|
||||
|
||||
Reference in New Issue
Block a user