Make WordPress Core


Ignore:
Timestamp:
11/15/2015 10:59:51 PM (9 years ago)
Author:
johnbillion
Message:

On servers running PHP <= 5.4 which have magic_quotes_sybase enabled, the superglobals need to be magic-quoted before magic_quotes_sybase is subsequently disabled to avoid incorrect un-slashing. This must surely effect a miniscule number of servers, but so be it.

Fixes #19455
Props summerblue, kurtpayne, lucatume

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r35013 r35639  
    4747// Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php.
    4848@ini_set( 'magic_quotes_runtime', 0 );
    49 @ini_set( 'magic_quotes_sybase',  0 );
    5049
    5150// WordPress calculates offsets from UTC.
Note: See TracChangeset for help on using the changeset viewer.