Make WordPress Core


Ignore:
Timestamp:
07/09/2023 09:38:35 PM (2 years ago)
Author:
audrasjb
Message:

Docs: Replace multiple single line comments with multi-line comments.

This changeset updates various comments as per WordPress PHP Inline Documentation Standards.
See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments.

Follow-up to [56174], [56175], [56176], [56177], [56178].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

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

    r56157 r56179  
    359359                null === _wp_array_get( $config, array( 'styles', 'blocks', $block_name, 'spacing', 'blockGap' ), null )
    360360            ) {
    361                 // Ensure an empty placeholder value exists for the block, if it provides a default blockGap value.
    362                 // The real blockGap value to be used will be determined when the styles are rendered for output.
     361                /*
     362                 * Ensure an empty placeholder value exists for the block, if it provides a default blockGap value.
     363                 * The real blockGap value to be used will be determined when the styles are rendered for output.
     364                 */
    363365                $config['styles']['blocks'][ $block_name ]['spacing']['blockGap'] = null;
    364366            }
     
    513515            }
    514516
    515             // Very important to verify that the flag isGlobalStylesUserThemeJSON is true.
    516             // If it's not true then the content was not escaped and is not safe.
     517            /*
     518             * Very important to verify that the flag isGlobalStylesUserThemeJSON is true.
     519             * If it's not true then the content was not escaped and is not safe.
     520             */
    517521            if (
    518522                is_array( $decoded_data ) &&
Note: See TracChangeset for help on using the changeset viewer.