﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
12278,3 year old bugs in wp-admin file uploading,tychay,,"They're relatively minor:

- in media.php, $overrides was supposed to be a passable parameter (so it can be sent upstream to file.php) but Andy forgot to put it in.

- in file.php, there are a number of $$ calls where call_user_func is more appropriate (after all, you can overrides with a object->method call, but that will break $$).

- there is another bug in file.php where if it errors out before extract the wrong error handler may be called (if overridden). I DID NOT PATCH THIS, but I made a note of it int he comments.

Two patch files are attached

WordPress.com reference:
https://wpcom.automattic.com/changeset/22464
https://wpcom.automattic.com/changeset/22365",defect (bug),closed,normal,3.0,Upload,2.9.2,minor,fixed,has-patch,
