[wp-trac] [WordPress Trac] #49938: Deprecate wp_unregister_GLOBALS()
WordPress Trac
noreply at wordpress.org
Mon Apr 20 07:50:55 UTC 2020
#49938: Deprecate wp_unregister_GLOBALS()
----------------------------+------------------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
----------------------------+------------------------------
Comment (by ayeshrajans):
If a user-land `ini_set()` call tries to set a PHP configuration value
that's not recognized (which the case for `register_globals`), its value
will not "stick".
For example:
{{{#!php
var_dump(ini_set('register_globals', 'on'));
var_dump(ini_get('register_globals'));
}}}
Both of these will return false because `register_globals` is not
registered as a value.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49938#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list