@@ -7338,7 +7338,7 @@ public function cmpr_strlen($a, $b)
7338
7338
* @param bool $head
7339
7339
* @return array
7340
7340
*/
7341
- public function get_page($url, $username = '', #[\SensitiveParameter] $password = '', $head = \false)
7341
+ public function get_page($url, $username = '', $password = '', $head = \false)
7342
7342
{
7343
7343
}
7344
7344
/**
@@ -30023,7 +30023,7 @@ protected static function set_user_application_passwords($user_id, $passwords)
30023
30023
* @param string $raw_password The raw application password.
30024
30024
* @return string The chunked password.
30025
30025
*/
30026
- public static function chunk_password(#[\SensitiveParameter] $raw_password)
30026
+ public static function chunk_password($raw_password)
30027
30027
{
30028
30028
}
30029
30029
/**
@@ -30034,7 +30034,7 @@ public static function chunk_password(#[\SensitiveParameter] $raw_password)
30034
30034
* @param string $password Plaintext password.
30035
30035
* @return string Hashed password.
30036
30036
*/
30037
- public static function hash_password(#[\SensitiveParameter] string $password) : string
30037
+ public static function hash_password(string $password) : string
30038
30038
{
30039
30039
}
30040
30040
/**
@@ -30046,7 +30046,7 @@ public static function hash_password(#[\SensitiveParameter] string $password) :
30046
30046
* @param string $hash Hash of the password to check against.
30047
30047
* @return bool Whether the password matches the hashed password.
30048
30048
*/
30049
- public static function check_password(#[\SensitiveParameter] string $password, string $hash) : bool
30049
+ public static function check_password(string $password, string $hash) : bool
30050
30050
{
30051
30051
}
30052
30052
}
@@ -55576,7 +55576,7 @@ public function addTwoNumbers($args)
55576
55576
* @param string $password User's password.
55577
55577
* @return WP_User|false WP_User object if authentication passed, false otherwise.
55578
55578
*/
55579
- public function login($username, #[\SensitiveParameter] $password)
55579
+ public function login($username, $password)
55580
55580
{
55581
55581
}
55582
55582
/**
@@ -55590,7 +55590,7 @@ public function login($username, #[\SensitiveParameter] $password)
55590
55590
* @param string $password User's password.
55591
55591
* @return bool Whether authentication passed.
55592
55592
*/
55593
- public function login_pass_ok($username, #[\SensitiveParameter] $password)
55593
+ public function login_pass_ok($username, $password)
55594
55594
{
55595
55595
}
55596
55596
/**
@@ -58602,7 +58602,7 @@ class wpdb
58602
58602
* @param string $dbhost Database host.
58603
58603
* @phpstan-return void
58604
58604
*/
58605
- public function __construct($dbuser, #[\SensitiveParameter] $dbpassword, $dbname, $dbhost)
58605
+ public function __construct($dbuser, $dbpassword, $dbname, $dbhost)
58606
58606
{
58607
58607
}
58608
58608
/**
@@ -77307,7 +77307,7 @@ public function check_username($value, $request, $param)
77307
77307
* @param string $param The parameter name.
77308
77308
* @return string|WP_Error The sanitized password, if valid, otherwise an error.
77309
77309
*/
77310
- public function check_user_password(#[\SensitiveParameter] $value, $request, $param)
77310
+ public function check_user_password($value, $request, $param)
77311
77311
{
77312
77312
}
77313
77313
/**
@@ -91380,7 +91380,7 @@ function wp_get_auto_update_message()
91380
91380
* password_message: string,
91381
91381
* }
91382
91382
*/
91383
- function wp_install($blog_title, $user_name, $user_email, $is_public, $deprecated = '', #[\SensitiveParameter] $user_password = '', $language = '')
91383
+ function wp_install($blog_title, $user_name, $user_email, $is_public, $deprecated = '', $user_password = '', $language = '')
91384
91384
{
91385
91385
}
91386
91386
/**
@@ -91428,7 +91428,7 @@ function wp_install_maybe_enable_pretty_permalinks()
91428
91428
* @param string $password Administrator's password. Note that a placeholder message is
91429
91429
* usually passed instead of the actual password.
91430
91430
*/
91431
- function wp_new_blog_notification($blog_title, $blog_url, $user_id, #[\SensitiveParameter] $password)
91431
+ function wp_new_blog_notification($blog_title, $blog_url, $user_id, $password)
91432
91432
{
91433
91433
}
91434
91434
/**
@@ -114231,7 +114231,7 @@ function wp_is_heic_image_mime_type($mime_type)
114231
114231
* @param string $message The message to hash.
114232
114232
* @return string The hash of the message.
114233
114233
*/
114234
- function wp_fast_hash(#[\SensitiveParameter] string $message) : string
114234
+ function wp_fast_hash(string $message) : string
114235
114235
{
114236
114236
}
114237
114237
/**
@@ -114249,7 +114249,7 @@ function wp_fast_hash(#[\SensitiveParameter] string $message) : string
114249
114249
* @param string $hash Hash of the message to check against.
114250
114250
* @return bool Whether the message matches the hashed message.
114251
114251
*/
114252
- function wp_verify_fast_hash(#[\SensitiveParameter] string $message, string $hash) : bool
114252
+ function wp_verify_fast_hash(string $message, string $hash) : bool
114253
114253
{
114254
114254
}
114255
114255
/**
@@ -125323,7 +125323,7 @@ function wpmu_signup_user($user, $user_email, $meta = array())
125323
125323
* @param array $meta Optional. Signup meta data. By default, contains the requested privacy setting and lang_id.
125324
125324
* @return bool
125325
125325
*/
125326
- function wpmu_signup_blog_notification($domain, $path, $title, $user_login, $user_email, #[\SensitiveParameter] $key, $meta = array())
125326
+ function wpmu_signup_blog_notification($domain, $path, $title, $user_login, $user_email, $key, $meta = array())
125327
125327
{
125328
125328
}
125329
125329
/**
@@ -125348,7 +125348,7 @@ function wpmu_signup_blog_notification($domain, $path, $title, $user_login, $use
125348
125348
* @param array $meta Optional. Signup meta data. Default empty array.
125349
125349
* @return bool
125350
125350
*/
125351
- function wpmu_signup_user_notification($user_login, $user_email, #[\SensitiveParameter] $key, $meta = array())
125351
+ function wpmu_signup_user_notification($user_login, $user_email, $key, $meta = array())
125352
125352
{
125353
125353
}
125354
125354
/**
@@ -125366,7 +125366,7 @@ function wpmu_signup_user_notification($user_login, $user_email, #[\SensitivePar
125366
125366
* @param string $key The activation key provided to the user.
125367
125367
* @return array|WP_Error An array containing information about the activated user and/or blog.
125368
125368
*/
125369
- function wpmu_activate_signup(#[\SensitiveParameter] $key)
125369
+ function wpmu_activate_signup($key)
125370
125370
{
125371
125371
}
125372
125372
/**
@@ -125398,7 +125398,7 @@ function wp_delete_signup_on_user_delete($id, $reassign, $user)
125398
125398
* @param string $email The new user's email address.
125399
125399
* @return int|false Returns false on failure, or int $user_id on success.
125400
125400
*/
125401
- function wpmu_create_user($user_name, #[\SensitiveParameter] $password, $email)
125401
+ function wpmu_create_user($user_name, $password, $email)
125402
125402
{
125403
125403
}
125404
125404
/**
@@ -125498,7 +125498,7 @@ function domain_exists($domain, $path, $network_id = 1)
125498
125498
* @param array $meta Optional. Signup meta data. By default, contains the requested privacy setting and lang_id.
125499
125499
* @return bool Whether the email notification was sent.
125500
125500
*/
125501
- function wpmu_welcome_notification($blog_id, $user_id, #[\SensitiveParameter] $password, $title, $meta = array())
125501
+ function wpmu_welcome_notification($blog_id, $user_id, $password, $title, $meta = array())
125502
125502
{
125503
125503
}
125504
125504
/**
@@ -125532,7 +125532,7 @@ function wpmu_new_site_admin_notification($site_id, $user_id)
125532
125532
* @param array $meta Optional. Signup meta data. Default empty array.
125533
125533
* @return bool
125534
125534
*/
125535
- function wpmu_welcome_user_notification($user_id, #[\SensitiveParameter] $password, $meta = array())
125535
+ function wpmu_welcome_user_notification($user_id, $password, $meta = array())
125536
125536
{
125537
125537
}
125538
125538
/**
@@ -125721,7 +125721,7 @@ function add_existing_user_to_blog($details = \false)
125721
125721
* @param string $password User password. Ignored.
125722
125722
* @param array $meta Signup meta data.
125723
125723
*/
125724
- function add_new_user_to_blog($user_id, #[\SensitiveParameter] $password, $meta)
125724
+ function add_new_user_to_blog($user_id, $password, $meta)
125725
125725
{
125726
125726
}
125727
125727
/**
@@ -128214,7 +128214,7 @@ function get_user_by_email($email)
128214
128214
* @param string $siteurl Optional. Will be used instead of SITECOOKIEPATH if set
128215
128215
* @param bool $remember Optional. Remember that the user is logged in
128216
128216
*/
128217
- function wp_setcookie($username, #[\SensitiveParameter] $password = '', $already_md5 = \false, $home = '', $siteurl = '', $remember = \false)
128217
+ function wp_setcookie($username, $password = '', $already_md5 = \false, $home = '', $siteurl = '', $remember = \false)
128218
128218
{
128219
128219
}
128220
128220
/**
@@ -128262,7 +128262,7 @@ function wp_get_cookie_login()
128262
128262
* @param string $deprecated Not used
128263
128263
* @return bool True on successful check, false on login failure.
128264
128264
*/
128265
- function wp_login($username, #[\SensitiveParameter] $password, $deprecated = '')
128265
+ function wp_login($username, $password, $deprecated = '')
128266
128266
{
128267
128267
}
128268
128268
/**
@@ -128383,7 +128383,7 @@ function wp_mail($to, $subject, $message, $headers = '', $attachments = array())
128383
128383
* @return WP_User|WP_Error WP_User object if the credentials are valid,
128384
128384
* otherwise WP_Error.
128385
128385
*/
128386
- function wp_authenticate($username, #[\SensitiveParameter] $password)
128386
+ function wp_authenticate($username, $password)
128387
128387
{
128388
128388
}
128389
128389
/**
@@ -128847,7 +128847,7 @@ function wp_hash($data, $scheme = 'auth', $algo = 'md5')
128847
128847
* @param string $password Plain text user password to hash.
128848
128848
* @return string The hash string of the password.
128849
128849
*/
128850
- function wp_hash_password(#[\SensitiveParameter] $password)
128850
+ function wp_hash_password($password)
128851
128851
{
128852
128852
}
128853
128853
/**
@@ -128872,7 +128872,7 @@ function wp_hash_password(#[\SensitiveParameter] $password)
128872
128872
* @param string|int $user_id Optional. ID of a user associated with the password.
128873
128873
* @return bool False, if the $password does not match the hashed password.
128874
128874
*/
128875
- function wp_check_password(#[\SensitiveParameter] $password, $hash, $user_id = '')
128875
+ function wp_check_password($password, $hash, $user_id = '')
128876
128876
{
128877
128877
}
128878
128878
/**
@@ -128952,7 +128952,7 @@ function wp_rand($min = \null, $max = \null)
128952
128952
* @param string $password The plaintext new user password.
128953
128953
* @param int $user_id User ID.
128954
128954
*/
128955
- function wp_set_password(#[\SensitiveParameter] $password, $user_id)
128955
+ function wp_set_password($password, $user_id)
128956
128956
{
128957
128957
}
128958
128958
/**
@@ -141870,7 +141870,7 @@ function wp_signon($credentials = array(), $secure_cookie = '')
141870
141870
* @param string $password Password for authentication.
141871
141871
* @return WP_User|WP_Error WP_User on success, WP_Error on failure.
141872
141872
*/
141873
- function wp_authenticate_username_password($user, $username, #[\SensitiveParameter] $password)
141873
+ function wp_authenticate_username_password($user, $username, $password)
141874
141874
{
141875
141875
}
141876
141876
/**
@@ -141884,7 +141884,7 @@ function wp_authenticate_username_password($user, $username, #[\SensitiveParamet
141884
141884
* @param string $password Password for authentication.
141885
141885
* @return WP_User|WP_Error WP_User on success, WP_Error on failure.
141886
141886
*/
141887
- function wp_authenticate_email_password($user, $email, #[\SensitiveParameter] $password)
141887
+ function wp_authenticate_email_password($user, $email, $password)
141888
141888
{
141889
141889
}
141890
141890
/**
@@ -141899,7 +141899,7 @@ function wp_authenticate_email_password($user, $email, #[\SensitiveParameter] $p
141899
141899
* @param string $password Password. If not empty, cancels the cookie authentication.
141900
141900
* @return WP_User|WP_Error WP_User on success, WP_Error on failure.
141901
141901
*/
141902
- function wp_authenticate_cookie($user, $username, #[\SensitiveParameter] $password)
141902
+ function wp_authenticate_cookie($user, $username, $password)
141903
141903
{
141904
141904
}
141905
141905
/**
@@ -141914,7 +141914,7 @@ function wp_authenticate_cookie($user, $username, #[\SensitiveParameter] $passwo
141914
141914
* @return WP_User|WP_Error|null WP_User on success, WP_Error on failure, null if
141915
141915
* null is passed in and this isn't an API request.
141916
141916
*/
141917
- function wp_authenticate_application_password($input_user, $username, #[\SensitiveParameter] $password)
141917
+ function wp_authenticate_application_password($input_user, $username, $password)
141918
141918
{
141919
141919
}
141920
141920
/**
@@ -142770,7 +142770,7 @@ function wp_update_user($userdata)
142770
142770
* @return int|WP_Error The newly created user's ID or a WP_Error object if the user could not
142771
142771
* be created.
142772
142772
*/
142773
- function wp_create_user($username, #[\SensitiveParameter] $password, $email = '')
142773
+ function wp_create_user($username, $password, $email = '')
142774
142774
{
142775
142775
}
142776
142776
/**
@@ -142850,7 +142850,7 @@ function get_password_reset_key($user)
142850
142850
* @param string $login The user login.
142851
142851
* @return WP_User|WP_Error WP_User object on success, WP_Error object for invalid or expired keys.
142852
142852
*/
142853
- function check_password_reset_key(#[\SensitiveParameter] $key, $login)
142853
+ function check_password_reset_key($key, $login)
142854
142854
{
142855
142855
}
142856
142856
/**
@@ -142876,7 +142876,7 @@ function retrieve_password($user_login = '')
142876
142876
* @param WP_User $user The user
142877
142877
* @param string $new_pass New password for the user in plaintext
142878
142878
*/
142879
- function reset_password($user, #[\SensitiveParameter] $new_pass)
142879
+ function reset_password($user, $new_pass)
142880
142880
{
142881
142881
}
142882
142882
/**
@@ -143171,7 +143171,7 @@ function wp_generate_user_request_key($request_id)
143171
143171
* @param string $key Provided key to validate.
143172
143172
* @return true|WP_Error True on success, WP_Error on failure.
143173
143173
*/
143174
- function wp_validate_user_request_key($request_id, #[\SensitiveParameter] $key)
143174
+ function wp_validate_user_request_key($request_id, $key)
143175
143175
{
143176
143176
}
143177
143177
/**
0 commit comments