diff --git a/src/wp-includes/ID3/getid3.php b/src/wp-includes/ID3/getid3.php index a6260f0689..cc238253d5 100644 --- a/src/wp-includes/ID3/getid3.php +++ b/src/wp-includes/ID3/getid3.php @@ -250,7 +250,7 @@ class getID3 */ protected $startup_warning = ''; - const VERSION = '1.9.19-201912131005'; + const VERSION = '1.9.19-201912211559'; const FREAD_BUFFER_SIZE = 32768; const ATTACHMENTS_NONE = false; diff --git a/src/wp-includes/ID3/module.audio.mp3.php b/src/wp-includes/ID3/module.audio.mp3.php index 192317467c..0b8a351169 100644 --- a/src/wp-includes/ID3/module.audio.mp3.php +++ b/src/wp-includes/ID3/module.audio.mp3.php @@ -1788,7 +1788,7 @@ class getid3_mp3 extends getid3_handler * @return bool */ public static function MPEGaudioHeaderValid($rawarray, $echoerrors=false, $allowBitrate15=false) { - if (($rawarray['synch'] & 0x0FFE) != 0x0FFE) { + if (!isset($rawarray['synch']) || ($rawarray['synch'] & 0x0FFE) != 0x0FFE) { return false; }