Make WordPress Core


Ignore:
Timestamp:
04/19/2009 07:36:28 PM (15 years ago)
Author:
ryan
Message:

consolidate plugin/theme/core upgrade/install functions. Props DD32. see #7875

File:
1 edited

Legend:

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

    r10930 r11005  
    1818    var $ftp = false;
    1919    var $timeout = 5;
    20     var $errors;
     20    var $errors = null;
    2121    var $options = array();
    2222
     
    211211
    212212    function delete($file, $recursive = false ) {
     213        if ( empty($file) )
     214            return false;
    213215        if ( $this->is_file($file) )
    214216            return $this->ftp->delete($file);
Note: See TracChangeset for help on using the changeset viewer.