Make WordPress Core

Ticket #10522: class-wp-filesystem-ftpext.php.patch

File class-wp-filesystem-ftpext.php.patch, 547 bytes (added by ntm, 15 years ago)
  • class-wp-filesystem-ftpext.php

     
    4343                else
    4444                        $this->options['hostname'] = $opt['hostname'];
    4545
     46                if ( isset($opt['connect_timeout']) && ! empty($opt['connect_timeout']) && 0 < intval($opt['connect_timeout']))
     47                        $this->timeout = $opt['connect_timeout'];
     48
    4649                if ( isset($opt['base']) && ! empty($opt['base']) )
    4750                        $this->wp_base = $opt['base'];
    4851