[wp-trac] [WordPress Trac] #49938: Deprecate wp_unregister_GLOBALS()

WordPress Trac noreply at wordpress.org
Wed Apr 22 15:40:55 UTC 2020


#49938: Deprecate wp_unregister_GLOBALS()
------------------------------------+----------------------
 Reporter:  desrosj                 |       Owner:  desrosj
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  5.5
Component:  Bootstrap/Load          |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch early commit  |     Focuses:
------------------------------------+----------------------
Changes (by desrosj):

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


Comment:

 In [changeset:"47612" 47612]:
 {{{
 #!CommitTicketReference repository="" revision="47612"
 Bootstrap/Load: Deprecate `wp_unregister_GLOBALS()`.

 The `register_globals` directive in PHP was deprecated in version 5.3 and
 removed entirely in 5.4.

 Now that WordPress only supports PHP 5.6.20 and newer, the
 `wp_unregister_GLOBALS()` function can be deprecated.

 Props ayeshrajans, desrosj, SergeyBiryukov.
 Fixes #49938.
 }}}

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


More information about the wp-trac mailing list