Skip to content

Commit 2029a2f

Browse files
committed
Docs: Fix various documentation standards in pluggable.php.
Props jorgelopezrepiso, mukesh27. Fixes #66034. See #65860. git-svn-id: https://develop.svn.wordpress.org/trunk@63984 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c3b186c commit 2029a2f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎src/wp-includes/pluggable.php‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function wp_get_current_user() {
7777
*
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
*/
8383
function get_userdata( $user_id ) {
@@ -126,7 +126,7 @@ function get_user_by( $field, $value ) {
126126
*
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 ) {
132132
global $wpdb;
@@ -2217,6 +2217,7 @@ function wp_password_change_notification( $user ) {
22172217

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().
22222223
* We want to reverse this for the plain text arena of emails.
@@ -2715,7 +2716,7 @@ function wp_salt( $scheme = 'auth' ) {
27152716
* @since 2.0.3
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.
27212722
* @param string $scheme Authentication scheme (auth, secure_auth, logged_in, nonce).

0 commit comments

Comments
 (0)