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:
parent
b29a20b90a
commit
895794f74d
|
@ -42,9 +42,6 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
||||||
else
|
else
|
||||||
$this->options['hostname'] = $opt['hostname'];
|
$this->options['hostname'] = $opt['hostname'];
|
||||||
|
|
||||||
if ( ! empty($opt['base']) )
|
|
||||||
$this->wp_base = $opt['base'];
|
|
||||||
|
|
||||||
// Check if the options provided are OK.
|
// Check if the options provided are OK.
|
||||||
if ( empty($opt['username']) )
|
if ( empty($opt['username']) )
|
||||||
$this->errors->add('empty_username', __('FTP username is required'));
|
$this->errors->add('empty_username', __('FTP username is required'));
|
||||||
|
|
|
@ -37,9 +37,6 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
|
||||||
else
|
else
|
||||||
$this->options['hostname'] = $opt['hostname'];
|
$this->options['hostname'] = $opt['hostname'];
|
||||||
|
|
||||||
if ( ! empty($opt['base']) )
|
|
||||||
$this->wp_base = $opt['base'];
|
|
||||||
|
|
||||||
// Check if the options provided are OK.
|
// Check if the options provided are OK.
|
||||||
if ( empty ($opt['username']) )
|
if ( empty ($opt['username']) )
|
||||||
$this->errors->add('empty_username', __('FTP username is required'));
|
$this->errors->add('empty_username', __('FTP username is required'));
|
||||||
|
|
|
@ -64,9 +64,6 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
|
||||||
else
|
else
|
||||||
$this->options['hostname'] = $opt['hostname'];
|
$this->options['hostname'] = $opt['hostname'];
|
||||||
|
|
||||||
if ( ! empty($opt['base']) )
|
|
||||||
$this->wp_base = $opt['base'];
|
|
||||||
|
|
||||||
// Check if the options provided are OK.
|
// Check if the options provided are OK.
|
||||||
if ( !empty ($opt['public_key']) && !empty ($opt['private_key']) ) {
|
if ( !empty ($opt['public_key']) && !empty ($opt['private_key']) ) {
|
||||||
$this->options['public_key'] = $opt['public_key'];
|
$this->options['public_key'] = $opt['public_key'];
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue