Comment out magic quote functions
Follow up to r46112. See: #47751,#47783, #48040. git-svn-id: https://develop.svn.wordpress.org/trunk@46113 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
43fd102495
commit
926bcf1278
@ -294,6 +294,9 @@ class getID3
|
||||
$this->startup_error .= 'WARNING: php.ini contains "mbstring.func_overload = '.ini_get('mbstring.func_overload').'", getID3 cannot run with this setting (bitmask 2 (string functions) cannot be set). Recommended to disable entirely.'."\n";
|
||||
}
|
||||
|
||||
// WORDPRESS CHANGE FROM UPSTREAM
|
||||
// Comment out deprecated function
|
||||
/*
|
||||
// Check for magic_quotes_runtime
|
||||
if (function_exists('get_magic_quotes_runtime')) {
|
||||
if (get_magic_quotes_runtime()) {
|
||||
@ -307,6 +310,7 @@ class getID3
|
||||
$this->startup_error .= 'magic_quotes_gpc must be disabled before running getID3(). Surround getid3 block by set_magic_quotes_gpc(0) and set_magic_quotes_gpc(1).'."\n";
|
||||
}
|
||||
}
|
||||
**/
|
||||
|
||||
// Load support library
|
||||
if (!include_once(GETID3_INCLUDEPATH.'getid3.lib.php')) {
|
||||
|
Loading…
Reference in New Issue
Block a user