In WP_Filesystem_Base, the constructor is a noop, so it shouldn't even be declared. Setting it implies that parent::__construct() should be called by its subclasses.

See #27881, #22234.


git-svn-id: https://develop.svn.wordpress.org/trunk@28529 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-05-19 16:45:42 +00:00
parent 02eba613a5
commit d261d0030a

View File

@@ -39,11 +39,6 @@ class WP_Filesystem_Base {
*/
public $method = '';
/**
* Constructor (empty).
*/
public function __construct() {}
/**
* Make private properties readable for backwards compatibility
*