Make WordPress Core

Changeset 47603


Ignore:
Timestamp:
04/20/2020 12:10:49 PM (4 years ago)
Author:
SergeyBiryukov
Message:

External Libraries: Comment out magic quote functions in getID3().

For some reason, the version_compare() check does not work as expected on Travis.

Follow-up to [46113], [47601].

See #49945.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ID3/getid3.php

    r47602 r47603  
    299299        // check for magic quotes in PHP < 7.4.0 (when these functions became deprecated)
    300300        if (version_compare(PHP_VERSION, '7.4.0', '<')) {
     301            // WORDPRESS CHANGE FROM UPSTREAM
     302            // Comment out deprecated function
     303            /*
    301304            // Check for magic_quotes_runtime
    302305            if (function_exists('get_magic_quotes_runtime')) {
     
    311314                }
    312315            }
     316            **/
    313317        }
    314318
Note: See TracChangeset for help on using the changeset viewer.