Make WordPress Core


Ignore:
Timestamp:
07/10/2023 10:58:33 PM (22 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].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-media-control.php

    r50810 r56193  
    8989        if ( is_object( $this->setting ) ) {
    9090            if ( $this->setting->default ) {
    91                 // Fake an attachment model - needs all fields used by template.
    92                 // Note that the default value must be a URL, NOT an attachment ID.
     91                /*
     92                 * Fake an attachment model - needs all fields used by template.
     93                 * Note that the default value must be a URL, NOT an attachment ID.
     94                 */
    9395                $ext  = substr( $this->setting->default, -3 );
    9496                $type = in_array( $ext, array( 'jpg', 'png', 'gif', 'bmp', 'webp' ), true ) ? 'image' : 'document';
Note: See TracChangeset for help on using the changeset viewer.