Make WordPress Core


Ignore:
Timestamp:
07/31/2009 10:22:54 PM (15 years ago)
Author:
markjaquith
Message:

Be consistent about slashing _REQUEST superglobal. props dd32. fixes #10360

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r11749 r11760  
    4747
    4848unset( $wp_filter, $cache_lastcommentmodified, $cache_lastpostdate );
    49 
    50 // Force REQUEST to be GET + POST.  If SERVER, COOKIE, or ENV are needed, use those superglobals directly.
    51 $_REQUEST = array_merge($_GET, $_POST);
    5249
    5350/**
     
    606603$_SERVER = add_magic_quotes($_SERVER);
    607604
     605// Force REQUEST to be GET + POST.  If SERVER, COOKIE, or ENV are needed, use those superglobals directly.
     606$_REQUEST = array_merge($_GET, $_POST);
     607
    608608do_action('sanitize_comment_cookies');
    609609
Note: See TracChangeset for help on using the changeset viewer.