Make WordPress Core


Ignore:
Timestamp:
05/29/2015 08:16:22 PM (10 years ago)
Author:
wonderboymusic
Message:

Add missing doc blocks to wp-admin/includes/*.
Fix some egregious uses of tabbing.
Some functions can simply return apply_filters(...) instead of setting a variable that is immediately returned.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php

    r32650 r32654  
    1818    public $link;
    1919
    20     public function __construct($opt='') {
     20    /**
     21     *
     22     * @param array $opt
     23     */
     24    public function __construct( $opt = '' ) {
    2125        $this->method = 'ftpext';
    2226        $this->errors = new WP_Error();
     
    5963    }
    6064
     65    /**
     66     *
     67     * @return bool
     68     */
    6169    public function connect() {
    6270        if ( isset($this->options['ssl']) && $this->options['ssl'] && function_exists('ftp_ssl_connect') )
Note: See TracChangeset for help on using the changeset viewer.