External Libraries: Revert [47603].
With the Docker image for PHP 7.4 updated to stable version, this should no longer be necessary. See https://github.com/WordPress/wpdev-docker-images/pull/26 Props ocean90. Fixes #49945. git-svn-id: https://develop.svn.wordpress.org/trunk@47604 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a7624a3c43
commit
2e126bda26
@ -298,9 +298,6 @@ class getID3
|
|||||||
|
|
||||||
// check for magic quotes in PHP < 7.4.0 (when these functions became deprecated)
|
// check for magic quotes in PHP < 7.4.0 (when these functions became deprecated)
|
||||||
if (version_compare(PHP_VERSION, '7.4.0', '<')) {
|
if (version_compare(PHP_VERSION, '7.4.0', '<')) {
|
||||||
// WORDPRESS CHANGE FROM UPSTREAM
|
|
||||||
// Comment out deprecated function
|
|
||||||
/*
|
|
||||||
// Check for magic_quotes_runtime
|
// Check for magic_quotes_runtime
|
||||||
if (function_exists('get_magic_quotes_runtime')) {
|
if (function_exists('get_magic_quotes_runtime')) {
|
||||||
if (get_magic_quotes_runtime()) {
|
if (get_magic_quotes_runtime()) {
|
||||||
@ -313,7 +310,6 @@ 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";
|
$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
|
// Load support library
|
||||||
|
Loading…
Reference in New Issue
Block a user