[wp-trac] [WordPress Trac] #11742: MU isn't fully compatible with custom content dir
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 3 20:09:51 UTC 2010
#11742: MU isn't fully compatible with custom content dir
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Upload | Version: 3.0
Severity: major | Keywords: multisite
-------------------------------+--------------------------------------------
Comment(by ocean90):
@nacin
Good job. I like the new ms-files.php.
But I have a suggestion.
{{{
if ( !is_file( $file ) ) {
status_header( 404 );
die( '404 — File not found.' );
}
}}}
I think we should do this more customizable. For example it should load
the 404 page template of the theme.
It's good for themes, which have a function in the 404 template, which
send an email to the admin, so that he can check what went wrong.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11742#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list