mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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 git-svn-id: https://develop.svn.wordpress.org/trunk@35749 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -866,7 +866,7 @@ function WP_Filesystem( $args = false, $context = false, $allow_relaxed_file_own
|
||||
if ( ! $method )
|
||||
return false;
|
||||
|
||||
if ( ! class_exists( "WP_Filesystem_$method", false ) ) {
|
||||
if ( ! class_exists( "WP_Filesystem_$method" ) ) {
|
||||
|
||||
/**
|
||||
* Filter the path for a specific filesystem method class file.
|
||||
|
||||
Reference in New Issue
Block a user