Make WordPress Core


Ignore:
Timestamp:
07/10/2023 11:09:16 PM (15 months 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], [56179], [56180], [56191], [56192], [56193].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets.php

    r55990 r56194  
    186186        }
    187187
    188         // Custom specified ID's are suffixed if they exist already.
    189         // Automatically generated sidebar names need to be suffixed regardless starting at -0.
     188        /*
     189         * Custom specified ID's are suffixed if they exist already.
     190         * Automatically generated sidebar names need to be suffixed regardless starting at -0.
     191         */
    190192        if ( isset( $args['id'] ) ) {
    191193            $_args['id'] = $args['id'];
     
    10141016    global $_wp_sidebars_widgets, $sidebars_widgets;
    10151017
    1016     // If loading from front page, consult $_wp_sidebars_widgets rather than options
    1017     // to see if wp_convert_widget_settings() has made manipulations in memory.
     1018    /*
     1019     * If loading from front page, consult $_wp_sidebars_widgets rather than options
     1020     * to see if wp_convert_widget_settings() has made manipulations in memory.
     1021     */
    10181022    if ( ! is_admin() ) {
    10191023        if ( empty( $_wp_sidebars_widgets ) ) {
Note: See TracChangeset for help on using the changeset viewer.