Make WordPress Core


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

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

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

    r55526 r56192  
    11401140    $query = $wpdb->prepare( "SELECT post_id FROM $wpdb->postmeta, $wpdb->posts WHERE ID = post_id AND post_type = %s AND meta_key = '_wp_old_slug' AND meta_value = %s", $post_type, get_query_var( 'name' ) );
    11411141
    1142     // If year, monthnum, or day have been specified, make our query more precise
    1143     // just in case there are multiple identical _wp_old_slug values.
     1142    /*
     1143     * If year, monthnum, or day have been specified, make our query more precise
     1144     * just in case there are multiple identical _wp_old_slug values.
     1145     */
    11441146    if ( get_query_var( 'year' ) ) {
    11451147        $query .= $wpdb->prepare( ' AND YEAR(post_date) = %d', get_query_var( 'year' ) );
Note: See TracChangeset for help on using the changeset viewer.