mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
WP_Filesystem_Base
should declare $errors
and $options
as fields for use by subclasses.
See #30799. Built from https://develop.svn.wordpress.org/trunk@31208 git-svn-id: http://core.svn.wordpress.org/trunk@31189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
35f3f7bf63
commit
b29a20b90a
@ -38,6 +38,10 @@ class WP_Filesystem_Base {
|
||||
*/
|
||||
public $method = '';
|
||||
|
||||
public $errors = null;
|
||||
|
||||
public $options = array();
|
||||
|
||||
/**
|
||||
* Return the path on the remote filesystem of ABSPATH.
|
||||
*
|
||||
|
@ -16,8 +16,6 @@
|
||||
*/
|
||||
class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
||||
public $link;
|
||||
public $errors = null;
|
||||
public $options = array();
|
||||
|
||||
public function __construct($opt='') {
|
||||
$this->method = 'ftpext';
|
||||
|
@ -16,8 +16,6 @@
|
||||
*/
|
||||
class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
|
||||
public $ftp = false;
|
||||
public $errors = null;
|
||||
public $options = array();
|
||||
|
||||
public function __construct($opt = '') {
|
||||
$this->method = 'ftpsockets';
|
||||
|
@ -38,8 +38,6 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
|
||||
public $link = false;
|
||||
public $sftp_link = false;
|
||||
public $keys = false;
|
||||
public $errors = array();
|
||||
public $options = array();
|
||||
|
||||
public function __construct($opt='') {
|
||||
$this->method = 'ssh2';
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31207';
|
||||
$wp_version = '4.2-alpha-31208';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user