From 118dba300ee0254e1bcea425187c1f918adf387b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 21 Jul 2017 10:15:44 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 3 +++ wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index ebdc12344c..2b4fe56e16 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1856,6 +1856,9 @@ function wp_get_upload_dir() { * @since 2.0.0 * @uses _wp_upload_dir() * + * @staticvar array $cache + * @staticvar array $tested_paths + * * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null. * @param bool $create_dir Optional. Whether to check and create the uploads directory. * Default true for backward compatibility. diff --git a/wp-includes/version.php b/wp-includes/version.php index 65931f3090..848f42c962 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.