WordPress.org

Make WordPress Core

Changeset 18549


Ignore:
Timestamp:
08/15/11 06:42:43 (3 years ago)
Author:
nacin
Message:

Use ini_set instead of set_magic_quotes_runtime() to prevent silenced E_DEPRECATED notice. props wonderboymusic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r18532 r18549  
    3030 
    3131// Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php. 
    32 set_magic_quotes_runtime( 0 ); 
    33 @ini_set( 'magic_quotes_sybase', 0 ); 
     32@ini_set( 'magic_quotes_runtime', 0 ); 
     33@ini_set( 'magic_quotes_sybase',  0 ); 
    3434 
    3535// Set default timezone in PHP 5. 
Note: See TracChangeset for help on using the changeset viewer.