WordPress.org

Make WordPress Core

Ticket #6206: media.php.diff

File media.php.diff, 429 bytes (added by darkfate, 7 years ago)

assume this is what is intended?

  • media.php

     
    99 
    1010switch( $action ) : 
    1111case 'upload' : 
     12        wp_redirect( 'upload.php' ); 
     13        break; 
    1214case 'delete' : break; // stubs 
    1315case 'editattachment' : 
    1416        $errors = media_upload_form_handler(); 
     
    8183        break; 
    8284endswitch; 
    8385 
    84 wp_redirect( 'upload.php' ); 
    8586exit; 
    8687 
    8788?>