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-includes/wp-diff.php

    r31295 r34348  
    99 */
    1010
    11 if ( !class_exists( 'Text_Diff' ) ) {
     11if ( ! class_exists( 'Text_Diff', false ) ) {
    1212    /** Text_Diff class */
    1313    require( dirname(__FILE__).'/Text/Diff.php' );
Note: See TracChangeset for help on using the changeset viewer.