#3151 closed enhancement (fixed)
Change name of unregister_globals() function
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | trivial | Version: | 2.0.4 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Please consider changing the name of the unregister_globals() function found in wp-settings.php. This function name conflicts with some other programs, and I don't see any downside to changing it. It will make it easier to integrate with other apps without modifying the core. Thanks!
Attachments (1)
Change History (8)
#3
@
18 years ago
I hit it when working with PunBB. I thought there were more apps that conflicted, but I guess not. PunBB made the change already in svn (http://dev.punbb.org/changeset/576), so perhaps this ticket should be closed?
#4
@
18 years ago
- Milestone changed from 2.2 to 2.1
Actually it may be prudent here to rename it wp_unregister_globals now so that it can't become an issue in the future with any other integration.
I suspect it will become a well used function name accross php webapps as they strive for good security.
I think this small change is a good candidate for 2.1
Hi Trevorturk,
How was this a problem for you?
What other programs are you referring to? A search suggests maybe PunBB and Lyceum have such a function, though I can imagine it being a common function name.