Changeset 47735 for trunk/src/wp-includes/ID3/getid3.php
- Timestamp:
- 05/01/2020 07:05:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ID3/getid3.php
r47604 r47735 286 286 287 287 // Check safe_mode off 288 if (preg_match('#(1|ON)#i', ini_get('safe_mode'))) { 288 if (preg_match('#(1|ON)#i', ini_get('safe_mode'))) { // phpcs:ignore // phpcs:ignore PHPCompatibility.FunctionUse.RemovedFunctions.get_magic_quotes_runtimeDeprecated 289 289 $this->warning('WARNING: Safe mode is on, shorten support disabled, md5data/sha1data for ogg vorbis disabled, ogg vorbos/flac tag writing disabled.'); 290 290 } … … 301 301 // Check for magic_quotes_runtime 302 302 if (function_exists('get_magic_quotes_runtime')) { 303 if (get_magic_quotes_runtime()) { 303 if (get_magic_quotes_runtime()) { // phpcs:ignore PHPCompatibility.FunctionUse.RemovedFunctions.get_magic_quotes_runtimeDeprecated 304 304 $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"; 305 305 } … … 307 307 // Check for magic_quotes_gpc 308 308 if (function_exists('get_magic_quotes_gpc')) { 309 if (get_magic_quotes_gpc()) { 309 if (get_magic_quotes_gpc()) { // phpcs:ignore PHPCompatibility.FunctionUse.RemovedFunctions.get_magic_quotes_gpcDeprecated 310 310 $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"; 311 311 } … … 1561 1561 // currently vorbiscomment only works on OggVorbis files. 1562 1562 1563 if (preg_match('#(1|ON)#i', ini_get('safe_mode'))) { 1563 if (preg_match('#(1|ON)#i', ini_get('safe_mode'))) { // phpcs:ignore // phpcs:ignore PHPCompatibility.FunctionUse.RemovedFunctions.get_magic_quotes_runtimeDeprecated 1564 1564 1565 1565 $this->warning('Failed making system call to vorbiscomment.exe - '.$algorithm.'_data is incorrect - error returned: PHP running in Safe Mode (backtick operator not available)');
Note: See TracChangeset
for help on using the changeset viewer.