From 926bcf1278979628be91216852ba4e86e4b5c077 Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Sat, 14 Sep 2019 19:22:50 +0000 Subject: [PATCH] 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 --- src/wp-includes/ID3/getid3.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-includes/ID3/getid3.php b/src/wp-includes/ID3/getid3.php index 9eb3c82d55..178c7cc1af 100644 --- a/src/wp-includes/ID3/getid3.php +++ b/src/wp-includes/ID3/getid3.php @@ -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')) {