Make WordPress Core


Ignore:
Timestamp:
10/18/2011 07:37:07 PM (14 years ago)
Author:
nacin
Message:

Explicitly globalize $table_prefix in wp-settings.php in case WordPress isn't loaded in global scope. Use $_SERVERPHP_SELF?, not $PHP_SELF. We need to keep $PHP_SELF for backwards compatibility reasons (many, many plugins rely on it). props mrtorrent, fixes #17749.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r18756 r18993  
    7676
    7777// Set the database table prefix and the format specifiers for database table columns.
     78$GLOBALS['table_prefix'] = $table_prefix;
    7879wp_set_wpdb_vars();
    7980
Note: See TracChangeset for help on using the changeset viewer.