From 89cfbe98f183ef7c3c782ab899ea6e11b3d77315 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 10 Mar 2016 03:37:43 +0000 Subject: [PATCH] Docs: Improve DocBlock syntax for `wp_get_upload_dir()`, introduced in [36565]. See #34359. See #35986. git-svn-id: https://develop.svn.wordpress.org/trunk@36925 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 7d4a51f939..0e720ee168 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -1802,13 +1802,16 @@ function win_is_writable( $path ) { } /** - * Get uploads directory information. + * Retrieves uploads directory information. * * Same as wp_upload_dir() but "light weight" as it doesn't attempt to create the uploads directory. - * Intended for use in themes, when only 'basedir' and 'baseurl' are needed, generally in all cases when not uploading files. + * Intended for use in themes, when only 'basedir' and 'baseurl' are needed, generally in all cases + * when not uploading files. * * @since 4.5.0 * + * @see wp_upload_dir() + * * @return array See wp_upload_dir() for description. */ function wp_get_upload_dir() {