Fix warning in media.php. Show sidemenu. Props andy. fixes #6206

git-svn-id: http://svn.automattic.com/wordpress/trunk@7346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-17 18:28:43 +00:00
parent 8e7f26b498
commit 577f7f557a
2 changed files with 7 additions and 6 deletions

View File

@ -8,7 +8,7 @@ div#media-upload-header {
height: 2.5em;
}
ul#sidemenu {
body#media-upload ul#sidemenu {
font-weight: normal;
margin: 0 5px;
position: absolute;

View File

@ -8,8 +8,6 @@ $submenu_file = 'upload.php';
wp_reset_vars(array('action'));
switch( $action ) :
case 'upload' :
case 'delete' : break; // stubs
case 'editattachment' :
$errors = media_upload_form_handler();
if ( empty($errors) ) {
@ -78,10 +76,13 @@ case 'edit' :
require( 'admin-footer.php' );
break;
exit;
default:
wp_redirect( 'upload.php' );
exit;
endswitch;
wp_redirect( 'upload.php' );
exit;
?>