The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Can i remove wp_unregister_GLOBALS() in wp_settings.php ? (2 posts)

  1. Tong
    Posted 8 years ago #


    I have to turn on register_globals caus my site need id.

    So for having wordpress enbedding in my site, i have to remove the line wp_unregister_GLOBALS(); in wp-settings.php (i've spend 3h finding this #รน%&$ line)
    Am i opening a big security hole by doing this ? Can you explain why ?

    Thanks a lot !

  2. awesometopic
    Posted 8 years ago #

    I just did exactly the same thing with a site in which I'm integrating a WordPress blog. I, too, would be very interested to know if removing "wp_unregister_GLOBALS();" will pose a security risk.

Topic Closed

This topic has been closed to new replies.

About this Topic