Make WordPress Core


Ignore:
Timestamp:
07/09/2023 09:46:24 PM (3 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], [56179].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

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

    r55988 r56180  
    652652    global $wpdb;
    653653
    654     // Simple duplicate check.
    655     // expected_slashed ($comment_post_ID, $comment_author, $comment_author_email, $comment_content)
     654    /*
     655     * Simple duplicate check.
     656     * expected_slashed ($comment_post_ID, $comment_author, $comment_author_email, $comment_content)
     657     */
    656658    $dupe = $wpdb->prepare(
    657659        "SELECT comment_ID FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_parent = %s AND comment_approved != 'trash' AND ( comment_author = %s ",
     
    13531355            continue; }
    13541356
    1355         // Do some escaping magic so that '#' chars
    1356         // in the spam words don't break things:
     1357        // Do some escaping magic so that '#' chars in the spam words don't break things:
    13571358        $word = preg_quote( $word, '#' );
    13581359
Note: See TracChangeset for help on using the changeset viewer.