[wp-trac] [WordPress Trac] #53413: Update the docs for $wp_version

WordPress Trac noreply at wordpress.org
Tue Sep 14 17:31:02 UTC 2021


#53413: Update the docs for $wp_version
--------------------------------------+-----------------------------
 Reporter:  azaozz                    |       Owner:  SergeyBiryukov
     Type:  enhancement               |      Status:  closed
 Priority:  low                       |   Milestone:  5.9
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:  docs
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51809" 51809]:
 {{{
 #!CommitTicketReference repository="" revision="51809"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53413#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list