Docs: Remove @staticvar tags from core.

The tag was supported in phpDocumentor 1.x, but is no longer supported in 2.x and 3.x.

Usage of static variables is considered an internal implementation detail and has no information value for someone reading the docs.

Props alishanvr, jrf.
Fixes #50426.

git-svn-id: https://develop.svn.wordpress.org/trunk@48109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-06-20 12:38:55 +00:00
parent b28cafc333
commit cdf3431ac9
39 changed files with 2 additions and 175 deletions

View File

@@ -2235,9 +2235,6 @@ if ( ! function_exists( 'wp_salt' ) ) :
*
* @link https://api.wordpress.org/secret-key/1.1/salt/ Create secrets for wp-config.php
*
* @staticvar array $cached_salts
* @staticvar array $duplicated_keys
*
* @param string $scheme Authentication scheme (auth, secure_auth, logged_in, nonce)
* @return string Salt value
*/
@@ -2472,8 +2469,6 @@ if ( ! function_exists( 'wp_rand' ) ) :
* @since 4.4.0 Uses PHP7 random_int() or the random_compat library if available.
*
* @global string $rnd_value
* @staticvar string $seed
* @staticvar bool $use_random_int_functionality
*
* @param int $min Lower limit for the generated number
* @param int $max Upper limit for the generated number