Make WordPress Core

Changeset 51352


Ignore:
Timestamp:
07/06/2021 06:13:38 PM (3 years ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme-json.php

    r51306 r51352  
    12071207        }
    12081208
    1209         /*
    1210          * This allows to make the plugin work with WordPress 5.8 beta
    1211          * as well as lower versions. The second check can be removed
    1212          * as soon as the minimum WordPress version for the plugin
    1213          * is bumped to 5.8.
    1214          */
    12151209        if ( isset( $settings['enableCustomSpacing'] ) ) {
    12161210            if ( ! isset( $theme_settings['settings']['spacing'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.