Make WordPress Core


Ignore:
Timestamp:
07/09/2023 09:23:34 PM (21 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].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

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

    r56019 r56178  
    16171617            }
    16181618
    1619             // Sanity limit, sort as sentence when more than 6 terms
    1620             // (few searches are longer than 6 terms and most titles are not).
     1619            /*
     1620             * Sanity limit, sort as sentence when more than 6 terms
     1621             * (few searches are longer than 6 terms and most titles are not).
     1622             */
    16211623            if ( $num_terms < 7 ) {
    16221624                // All words in title.
     
    35103512        }
    35113513
    3512         // Ensure that any posts added/modified via one of the filters above are
    3513         // of the type WP_Post and are filtered.
     3514        /*
     3515         * Ensure that any posts added/modified via one of the filters above are
     3516         * of the type WP_Post and are filtered.
     3517         */
    35143518        if ( $this->posts ) {
    35153519            $this->post_count = count( $this->posts );
     
    35543558        global $wpdb;
    35553559
    3556         // Bail if posts is an empty array. Continue if posts is an empty string,
    3557         // null, or false to accommodate caching plugins that fill posts later.
     3560        /*
     3561         * Bail if posts is an empty array. Continue if posts is an empty string,
     3562         * null, or false to accommodate caching plugins that fill posts later.
     3563         */
    35583564        if ( $q['no_found_rows'] || ( is_array( $this->posts ) && ! $this->posts ) ) {
    35593565            return;
Note: See TracChangeset for help on using the changeset viewer.