Docs: Add `@staticvar` entries for `$cache` and `$tested_paths` in `wp_upload_dir()`.
Props ajayghaghretiya1. Fixes #41395. Built from https://develop.svn.wordpress.org/trunk@41113 git-svn-id: http://core.svn.wordpress.org/trunk@40953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6aaba32b36
commit
118dba300e
|
@ -1856,6 +1856,9 @@ function wp_get_upload_dir() {
|
||||||
* @since 2.0.0
|
* @since 2.0.0
|
||||||
* @uses _wp_upload_dir()
|
* @uses _wp_upload_dir()
|
||||||
*
|
*
|
||||||
|
* @staticvar array $cache
|
||||||
|
* @staticvar array $tested_paths
|
||||||
|
*
|
||||||
* @param string $time Optional. Time formatted in 'yyyy/mm'. Default null.
|
* @param string $time Optional. Time formatted in 'yyyy/mm'. Default null.
|
||||||
* @param bool $create_dir Optional. Whether to check and create the uploads directory.
|
* @param bool $create_dir Optional. Whether to check and create the uploads directory.
|
||||||
* Default true for backward compatibility.
|
* Default true for backward compatibility.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-alpha-41112';
|
$wp_version = '4.9-alpha-41113';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue