WordPress.org

Make WordPress Core

Ticket #10360: 10360.diff

File 10360.diff, 894 bytes (added by dd32, 5 years ago)
  • wp-settings.php

     
    4747 
    4848unset( $wp_filter, $cache_lastcommentmodified, $cache_lastpostdate ); 
    4949 
    50 // Force REQUEST to be GET + POST.  If SERVER, COOKIE, or ENV are needed, use those superglobals directly. 
    51 $_REQUEST = array_merge($_GET, $_POST); 
    52  
    5350/** 
    5451 * The $blog_id global, which you can change in the config allows you to create a simple 
    5552 * multiple blog installation using just one WordPress and changing $blog_id around. 
     
    599596$_COOKIE = add_magic_quotes($_COOKIE); 
    600597$_SERVER = add_magic_quotes($_SERVER); 
    601598 
     599// Force REQUEST to be GET + POST.  If SERVER, COOKIE, or ENV are needed, use those superglobals directly. 
     600$_REQUEST = array_merge($_GET, $_POST); 
     601 
    602602do_action('sanitize_comment_cookies'); 
    603603 
    604604/**