[wpmu-trac] Re: [WordPress MU Trac] #378: Max Upload file size not
working
WordPress MU Trac
wpmu-trac at lists.automattic.com
Wed Aug 22 05:32:32 GMT 2007
#378: Max Upload file size not working
----------------------------------+-----------------------------------------
Reporter: nims | Owner: somebody
Type: defect | Status: new
Priority: high | Milestone: WPMU 1.0
Component: component1 | Version:
Severity: normal | Resolution:
Keywords: Max Upload file size |
----------------------------------+-----------------------------------------
Comment (by macgruder):
This would seem to be a fix
Go to
/wp-admin/upload-functions.php
In function wp_upload_tab_upload_action() at around Line 211 AFTER
{{{
$file = wp_handle_upload($_FILES['image'], $overrides);
}}}
ADD these TWO lines:
{{{
if( isset( $file[ 'error' ] ) == false )
$file[ 'error' ] = apply_filters( "check_uploaded_file", $file[ 'error' ]
);
}}}
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/378#comment:2>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list