WordPress.org

Make WordPress Core

Changeset 7346


Ignore:
Timestamp:
03/17/2008 06:28:43 PM (12 years ago)
Author:
ryan
Message:

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

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/media.css

    r7262 r7346  
    99}
    1010
    11 ul#sidemenu {
     11body#media-upload ul#sidemenu {
    1212    font-weight: normal;
    1313    margin: 0 5px;
  • trunk/wp-admin/media.php

    r7262 r7346  
    99
    1010switch( $action ) :
    11 case 'upload' :
    12 case 'delete' : break; // stubs
    1311case 'editattachment' :
    1412    $errors = media_upload_form_handler();
     
    7977    require( 'admin-footer.php' );
    8078
    81     break;
     79    exit;
     80
     81default:
     82    wp_redirect( 'upload.php' );
     83    exit;
     84
    8285endswitch;
    8386
    84 wp_redirect( 'upload.php' );
    85 exit;
    8687
    8788?>
Note: See TracChangeset for help on using the changeset viewer.