From d261d0030ad0cb77cc459143dbc94c4132b5c26a Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 19 May 2014 16:45:42 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/class-wp-filesystem-base.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/wp-admin/includes/class-wp-filesystem-base.php b/src/wp-admin/includes/class-wp-filesystem-base.php index f0b111b097..8080aef1a7 100644 --- a/src/wp-admin/includes/class-wp-filesystem-base.php +++ b/src/wp-admin/includes/class-wp-filesystem-base.php @@ -39,11 +39,6 @@ class WP_Filesystem_Base { */ public $method = ''; - /** - * Constructor (empty). - */ - public function __construct() {} - /** * Make private properties readable for backwards compatibility *