Make WordPress Core


Ignore:
Timestamp:
09/20/2015 03:51:55 AM (11 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/pluggable.php

    r34244 r34348  
    23882388        $args = wp_parse_args( $args, $defaults );
    23892389
    2390         if ( !class_exists( 'WP_Text_Diff_Renderer_Table' ) )
     2390        if ( ! class_exists( 'WP_Text_Diff_Renderer_Table', false ) )
    23912391                require( ABSPATH . WPINC . '/wp-diff.php' );
    23922392
Note: See TracChangeset for help on using the changeset viewer.