From f98b2847687fdf1c4b2278dba0c3650c9963a82f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 14 Sep 2021 17:30:48 +0000 Subject: [PATCH] Docs: Update description for the `$wp_version` global. In addition to holding the version number, the WordPress version string is used to bust caches and to enable development mode for scripts when running from the `/src` directory. Follow-up to [803], [2585], [6554], [47230]. Props muhammadfaizanhaidar, azaozz. Fixes #53413. git-svn-id: https://develop.svn.wordpress.org/trunk@51809 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/version.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php index 9965b10a72..27e14721a9 100644 --- a/src/wp-includes/version.php +++ b/src/wp-includes/version.php @@ -11,6 +11,9 @@ /** * The WordPress version string. * + * Holds the current version number for WordPress core. Used to bust caches + * and to enable development mode for scripts when running from the /src directory. + * * @global string $wp_version */ $wp_version = '5.9-alpha-51272-src';