Make WordPress Core


Ignore:
Timestamp:
09/20/2015 03:51:55 AM (10 years ago)
Author:
wonderboymusic
Message:

Pass false as the 2nd argument to class_exists() to disable autoloading and to not cause problems for those who define __autoload().

Fixes #20523.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/media.php

    r34259 r34348  
    29752975    $metadata = array();
    29762976
    2977     if ( ! class_exists( 'getID3' ) )
     2977    if ( ! class_exists( 'getID3', false ) )
    29782978        require( ABSPATH . WPINC . '/ID3/getid3.php' );
    29792979    $id3 = new getID3();
     
    30303030    $metadata = array();
    30313031
    3032     if ( ! class_exists( 'getID3' ) )
     3032    if ( ! class_exists( 'getID3', false ) )
    30333033        require( ABSPATH . WPINC . '/ID3/getid3.php' );
    30343034    $id3 = new getID3();
Note: See TracChangeset for help on using the changeset viewer.