Make WordPress Core


Ignore:
Timestamp:
06/06/2011 12:40:00 PM (13 years ago)
Author:
westi
Message:

Link the Media item in the Add New menu to the Upload New Media form correctly. Props hew.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r18157 r18164  
    188188
    189189    if ( current_user_can( 'upload_files' ) )
    190         $actions[ 'upload.php' ] = array( __( 'Media' ), 'upload_files', 'new-media' );
     190        $actions[ 'media-new.php' ] = array( __( 'Media' ), 'upload_files', 'new-media' );
    191191
    192192    if ( current_user_can( 'manage_links' ) )
Note: See TracChangeset for help on using the changeset viewer.