Make WordPress Core


Ignore:
Timestamp:
07/10/2023 11:09:16 PM (15 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], [56193].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

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

    r56151 r56194  
    10661066    }
    10671067
    1068     // Technically not needed, but does save calls to get_site() and get_user_meta()
    1069     // in the event that the function is called when a user isn't logged in.
     1068    /*
     1069     * Technically not needed, but does save calls to get_site() and get_user_meta()
     1070     * in the event that the function is called when a user isn't logged in.
     1071     */
    10701072    if ( empty( $user_id ) ) {
    10711073        return false;
     
    27242726            wp_clear_auth_cookie();
    27252727
    2726             // Here we calculate the expiration length of the current auth cookie and compare it to the default expiration.
    2727             // If it's greater than this, then we know the user checked 'Remember Me' when they logged in.
     2728            /*
     2729             * Here we calculate the expiration length of the current auth cookie and compare it to the default expiration.
     2730             * If it's greater than this, then we know the user checked 'Remember Me' when they logged in.
     2731             */
    27282732            $logged_in_cookie = wp_parse_auth_cookie( '', 'logged_in' );
    27292733            /** This filter is documented in wp-includes/pluggable.php */
Note: See TracChangeset for help on using the changeset viewer.