Skip to content

Commit 668d465

Browse files
Docs: Add @staticvar entries for $cache and $tested_paths in wp_upload_dir().
Props ajayghaghretiya1. Fixes #41395. git-svn-id: https://develop.svn.wordpress.org/trunk@41113 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 79bbfd1 commit 668d465

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/wp-includes/functions.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,6 +1856,9 @@ function wp_get_upload_dir() {
18561856
* @since 2.0.0
18571857
* @uses _wp_upload_dir()
18581858
*
1859+
* @staticvar array $cache
1860+
* @staticvar array $tested_paths
1861+
*
18591862
* @param string $time Optional. Time formatted in 'yyyy/mm'. Default null.
18601863
* @param bool $create_dir Optional. Whether to check and create the uploads directory.
18611864
* Default true for backward compatibility.

0 commit comments

Comments
 (0)