Make WordPress Core


Ignore:
Timestamp:
02/26/2008 05:23:05 AM (18 years ago)
Author:
ryan
Message:

Instantiate errors object for ftpsockets class.

File:
1 edited

Legend:

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

    r6919 r7033  
    33    var $ftp = false;
    44    var $timeout = 5;
    5     var $errors = array();
     5    var $errors;
    66    var $options = array();
    77   
     
    2525   
    2626    function WP_Filesystem_ftpsockets($opt='') {
     27        $this->errors = new WP_Error();
     28
    2729        //Check if possible to use ftp functions.
    2830        if( ! @include_once ABSPATH . 'wp-admin/includes/class-ftp.php' )
Note: See TracChangeset for help on using the changeset viewer.