Make WordPress Core


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

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

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

    r55732 r56180  
    200200
    201201        if ( 'id' === $field ) {
    202             // Make sure the value is numeric to avoid casting objects, for example,
    203             // to int 1.
     202            // Make sure the value is numeric to avoid casting objects, for example, to int 1.
    204203            if ( ! is_numeric( $value ) ) {
    205204                return false;
Note: See TracChangeset for help on using the changeset viewer.