Make WordPress Core

Changeset 20484


Ignore:
Timestamp:
04/16/2012 10:02:54 PM (13 years ago)
Author:
nacin
Message:

Do sanity checks for register_globals and magic quotes in setup-config.php. see #13839 for the 3.3 branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/wp-admin/setup-config.php

    r19297 r20484  
    4545require_once(ABSPATH . WPINC . '/version.php');
    4646wp_check_php_mysql_versions();
     47wp_unregister_GLOBALS();
    4748
    4849require_once(ABSPATH . WPINC . '/compat.php');
    4950require_once(ABSPATH . WPINC . '/functions.php');
    5051require_once(ABSPATH . WPINC . '/class-wp-error.php');
     52require_once(ABSPATH . WPINC . '/formatting.php');
     53wp_magic_quotes();
    5154
    5255if (!file_exists(ABSPATH . 'wp-config-sample.php'))
Note: See TracChangeset for help on using the changeset viewer.