Make WordPress Core

Changeset 63984


Ignore:
Timestamp:
09/29/2026 01:34:52 AM (6 hours ago)
Author:
peterwilsoncc
Message:

Docs: Fix various documentation standards in pluggable.php.

Props jorgelopezrepiso, mukesh27.
Fixes #66034.
See #65860.

File:
1 edited

Legend:

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

    r63941 r63984  
    7878         * @since 0.71
    7979         *
    80          * @param int $user_id User ID
     80         * @param int $user_id User ID.
    8181         * @return WP_User|false WP_User object on success, false on failure.
    8282         */
    … …  
    127127         * @global wpdb $wpdb WordPress database abstraction object.
    128128         *
    129          * @param int[] $user_ids User ID numbers list
     129         * @param int[] $user_ids User ID numbers list.
    130130         */
    131131        function cache_users( $user_ids ) {
    … …  
    22182218                        /* translators: %s: User name. */
    22192219                        $message = sprintf( __( 'Password changed for user: %s' ), $user->user_login ) . "\r\n";
     2220
    22202221                        /*
    22212222                         * The blogname option is escaped with esc_html() on the way into the database in sanitize_option().
    … …  
    27162717         * @since 6.8.0 The `$algo` parameter was added.
    27172718         *
    2718          * @throws InvalidArgumentException if the hashing algorithm is not supported.
     2719         * @throws InvalidArgumentException If the hashing algorithm is not supported.
    27192720         *
    27202721         * @param string $data   Plain text to hash.
Note: See TracChangeset for help on using the changeset viewer.