Make WordPress Core

Changeset 4203


Ignore:
Timestamp:
09/21/2006 09:00:22 PM (18 years ago)
Author:
ryan
Message:

Prefix unregister_GLOBALS to avoid name collisions. Props westi. fixes #3151

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r4202 r4203  
    11<?php
    22// Turn register globals off
    3 function unregister_GLOBALS() {
     3function wp_unregister_GLOBALS() {
    44    if ( !ini_get('register_globals') )
    55        return;
     
    1717}
    1818
    19 unregister_GLOBALS();
     19wp_unregister_GLOBALS();
    2020
    2121unset( $wp_filter, $cache_userdata, $cache_lastcommentmodified, $cache_lastpostdate, $cache_settings, $category_cache, $cache_categories );
Note: See TracChangeset for help on using the changeset viewer.