diff --git a/src/wp-includes/ID3/getid3.php b/src/wp-includes/ID3/getid3.php
index f39175ad34..e02d9fc3f4 100644
|
a
|
b
|
public function __construct() { |
| 150 | 150 | $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"; |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | | // Check for magic_quotes_runtime |
| 154 | | if (function_exists('get_magic_quotes_runtime')) { |
| 155 | | if (get_magic_quotes_runtime()) { |
| 156 | | $this->startup_error .= 'magic_quotes_runtime must be disabled before running getID3(). Surround getid3 block by set_magic_quotes_runtime(0) and set_magic_quotes_runtime(1).'."\n"; |
| 157 | | } |
| 158 | | } |
| 159 | | |
| 160 | | // Check for magic_quotes_gpc |
| 161 | | if (function_exists('magic_quotes_gpc')) { |
| 162 | | if (get_magic_quotes_gpc()) { |
| 163 | | $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"; |
| 164 | | } |
| 165 | | } |
| 166 | | |
| 167 | 153 | // Load support library |
| 168 | 154 | if (!include_once(GETID3_INCLUDEPATH.'getid3.lib.php')) { |
| 169 | 155 | $this->startup_error .= 'getid3.lib.php is missing or corrupt'."\n"; |