Ticket #9274: wordpress_admin_plugin_ftp.patch
File wordpress_admin_plugin_ftp.patch, 472 bytes (added by , 16 years ago) |
---|
-
wp-admin/includes/class-wp-filesystem-ftpext.php
old new 146 146 $mode = $this->permission; 147 147 if( ! $mode ) 148 148 return false; 149 if ( ! $this->exists($file) )149 if ( ! $this->exists($file) && ! $this->is_dir($file) ) 150 150 return false; 151 151 if ( ! $recursive || ! $this->is_dir($file) ) { 152 152 if ( ! function_exists('ftp_chmod') )