﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
14658	image_downsize filter always gets only false argument, other are not passed	mariokostelac		"I'm in progress of developing some theme for WordPress and realized that:

{{{
add_filter( 'image_downsize', 'mk_image_downsize' );
	function mk_image_downsize()
	{
		var_dump( func_get_args() );
	}
}}}

always prints false. image_downsize returns right values, but arguments are not passed to the filter functions.
I think this is caused by line 142 in wp-includes/media.php file.

{{{
if ( $out = apply_filters('image_downsize', false, $id, $size) )
}}}

False is passed to filter function, but $id and $size are not.

"	defect (bug)	closed	normal		General	3.0.1	normal	invalid	image_downsize	
