From 09ecc213c8e0ce3c70a8577372a34576e1c1cdbd Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 19 May 2014 16:46:14 +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. Built from https://develop.svn.wordpress.org/trunk@28529 git-svn-id: http://core.svn.wordpress.org/trunk@28355 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-filesystem-base.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wp-admin/includes/class-wp-filesystem-base.php b/wp-admin/includes/class-wp-filesystem-base.php index f0b111b097..8080aef1a7 100644 --- a/wp-admin/includes/class-wp-filesystem-base.php +++ b/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 *