﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
21292	XML-RPC: wp_upload_bits should act like wp_handle_upload	markoheijnen	westi	"At this moment there isn't a check for file size when uploading an image through the XML-RPC. The reason is that the method wp_upload_bits is used. This only checks it does is if the file size is to big for a network installation.

The function check_upload_size() is something what you want except that it will use wp_die() if there is an error like this. The function is used as a filter: wp_handle_upload_prefilter. Which only get applied in the function wp_handle_upload. 

We should probably change check_upload_size() a bit so it doesn't use wp_die() but does it somewhere else.

related: #6559 and #21085"	defect (bug)	assigned	normal	Future Release	XML-RPC	3.0	normal		has-patch 3.7-early	ercoli@… Viper007Bond lol@…
