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.
Built from https://develop.svn.wordpress.org/trunk@51809


git-svn-id: http://core.svn.wordpress.org/trunk@51416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-09-14 17:31:59 +00:00
parent 128975e7ce
commit d6cb1e4317
1 changed files with 4 additions and 1 deletions

View File

@ -11,9 +11,12 @@
/**
* 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-51808';
$wp_version = '5.9-alpha-51809';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.