WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/14/2021 05:30:48 PM (6 weeks ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/version.php

    r51272 r51809  
    1111/**
    1212 * The WordPress version string.
     13 *
     14 * Holds the current version number for WordPress core. Used to bust caches
     15 * and to enable development mode for scripts when running from the /src directory.
    1316 *
    1417 * @global string $wp_version
Note: See TracChangeset for help on using the changeset viewer.