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

git-svn-id: https://develop.svn.wordpress.org/trunk@7346 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-03-17 18:28:43 +00:00
parent 2c6b7b2b1f
commit 837bf2bd84
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;
?>