ftp_base::features() –

You appear to be a bot. Output may be restricted

Description

Usage

ftp_base::features();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/class-ftp.php
Lines:

1 to 11 of 11
  function features() {
    if(!$this->_exec("FEAT", "features")) return FALSE;
    if(!$this->ftp_base::_checkCode()) return FALSE;
    $f=preg_split("/[".CRLF."]+/", preg_replace("/[0-9]{3}[ -].*[".CRLF."]+/", "", $this->_message), -1, PREG_SPLIT_NO_EMPTY);
    $this->_features=array();
    foreach($f as $k=>$v) {
      $v=explode(" ", trim($v));
      $this->_features[array_shift($v)]=$v;
    }
    return true;
  }
 

 View on GitHub View on Trac