Docs: Various improvements to inline documentation.

See 

git-svn-id: https://develop.svn.wordpress.org/trunk@59927 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2025-03-04 14:17:18 +00:00
parent cc77f085c3
commit fd3f4e3818
3 changed files with 7 additions and 2 deletions

@ -11,7 +11,8 @@
* Core class used to implement the WP_User object.
*
* @since 2.0.0
* @since 6.8.0 The `user_pass` property is now hashed using bcrypt instead of phpass.
* @since 6.8.0 The `user_pass` property is now hashed using bcrypt by default instead of phpass.
* Existing passwords may still be hashed using phpass.
*
* @property string $nickname
* @property string $description

@ -154,6 +154,7 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) {
* Please exercise extreme caution.
*
* @since 4.9.0
* @since 6.1.0 Added `$extensions`, `$platform_flags`, and `$image_support` to the `$query` parameter.
*
* @param array $query {
* Version check query arguments.
@ -167,6 +168,9 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) {
* @type int $users Number of users on this WordPress installation.
* @type int $multisite_enabled Whether this WordPress installation uses Multisite.
* @type int $initial_db_version Database version of WordPress at time of installation.
* @type array $extensions List of PHP extensions and their versions.
* @type array $platform_flags List containing the operating system name and bit support.
* @type array $image_support List of image formats supported by GD and Imagick.
* }
*/
$query = apply_filters( 'core_version_check_query_args', $query );

@ -2456,7 +2456,7 @@ function wp_insert_user( $userdata ) {
*
* @since 4.9.0
* @since 5.8.0 The `$userdata` parameter was added.
* @since 6.8.0 The user's password is now hashed using bcrypt instead of phpass.
* @since 6.8.0 The user's password is now hashed using bcrypt by default instead of phpass.
*
* @param array $data {
* Values and keys for the user.