In `WP_Filesystem_Base` subclasses that set `$wp_base`, remove this dead code.

Unused since [8009] - "Make WP_Filesystem work with new directory constants"

There is currently no declared field and no `@property` annotation.

See #30799.

Built from https://develop.svn.wordpress.org/trunk@31209


git-svn-id: http://core.svn.wordpress.org/trunk@31190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-01-16 17:23:22 +00:00
parent b29a20b90a
commit 895794f74d
4 changed files with 1 additions and 10 deletions

View File

@ -42,9 +42,6 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
else
$this->options['hostname'] = $opt['hostname'];
if ( ! empty($opt['base']) )
$this->wp_base = $opt['base'];
// Check if the options provided are OK.
if ( empty($opt['username']) )
$this->errors->add('empty_username', __('FTP username is required'));

View File

@ -37,9 +37,6 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
else
$this->options['hostname'] = $opt['hostname'];
if ( ! empty($opt['base']) )
$this->wp_base = $opt['base'];
// Check if the options provided are OK.
if ( empty ($opt['username']) )
$this->errors->add('empty_username', __('FTP username is required'));

View File

@ -64,9 +64,6 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
else
$this->options['hostname'] = $opt['hostname'];
if ( ! empty($opt['base']) )
$this->wp_base = $opt['base'];
// Check if the options provided are OK.
if ( !empty ($opt['public_key']) && !empty ($opt['private_key']) ) {
$this->options['public_key'] = $opt['public_key'];

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-alpha-31208';
$wp_version = '4.2-alpha-31209';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.