Make WordPress Core


Ignore:
Timestamp:
11/30/2015 04:14:31 AM (9 years ago)
Author:
markjaquith
Message:

Do not pass FALSE as second parameter in variable class_exists() checks

Because these are generally plugin-provided, we want plugins to be
able to use autoloaders.

fixes #20523

File:
1 edited

Legend:

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

    r35688 r35749  
    867867        return false;
    868868
    869     if ( ! class_exists( "WP_Filesystem_$method", false ) ) {
     869    if ( ! class_exists( "WP_Filesystem_$method" ) ) {
    870870
    871871        /**
Note: See TracChangeset for help on using the changeset viewer.