﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
18725	Wordpress Auto-Update - FTP: FAILURE	href		"'''FS_CHMOD_FILE and FS_CHMOD_DIR empty! in: /wp-admin/includes/class-wp-filesystem-ftpext.php'''

{{{
function chmod($file, $mode = false, $recursive = false) {
		if ( ! $mode ) {
			if ( $this->is_file($file) )
				$mode = FS_CHMOD_FILE;
			elseif ( $this->is_dir($file) )
				$mode = FS_CHMOD_DIR;
			else
				return false;
		}
}}}

'''FIX:'''[taken from:'/wp-admin/includes/file.php']

{{{
	// Set the permission constants if not already set.
	if ( ! defined('FS_CHMOD_DIR') )
		define('FS_CHMOD_DIR', 0755 );
	if ( ! defined('FS_CHMOD_FILE') )
		define('FS_CHMOD_FILE', 0644 );
}}}
"	defect (bug)	closed	normal		Filesystem	3.2	normal	invalid	reporter-feedback	
