diff --git a/src/wp-includes/ID3/getid3.php b/src/wp-includes/ID3/getid3.php index cc238253d5..72cfde96b2 100644 --- a/src/wp-includes/ID3/getid3.php +++ b/src/wp-includes/ID3/getid3.php @@ -298,6 +298,9 @@ class getID3 // check for magic quotes in PHP < 7.4.0 (when these functions became deprecated) if (version_compare(PHP_VERSION, '7.4.0', '<')) { + // 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()) { @@ -310,6 +313,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