[wp-trac] [WordPress Trac] #44932: use $wp_version instead of $GLOBALS['wp_version']

WordPress Trac noreply at wordpress.org
Sat Sep 12 00:10:33 UTC 2020


#44932: use $wp_version instead of $GLOBALS['wp_version']
--------------------------+-------------------------------
 Reporter:  Jaydeep Rami  |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.6
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48971" 48971]:
 {{{
 #!CommitTicketReference repository="" revision="48971"
 Coding Standards: Explicitly declare the `$wp_version` global used in some
 core files.

 Props jaydeep-rami, sabernhardt.
 Fixes #44932.
 }}}

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


More information about the wp-trac mailing list