Display 'Edit Media' instead of 'Edit Post' for Attachments/Media in the admin bar. Props johnbillion. Fixes #18529

git-svn-id: http://svn.automattic.com/wordpress/trunk@18613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2011-08-28 03:39:06 +00:00
parent 6ebdf41b50
commit f1ac48873b
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ function create_initial_post_types() {
register_post_type( 'attachment', array(
'labels' => array(
'name' => __( 'Media' ),
'edit_item' => __( 'Edit Media' ),
),
'public' => true,
'show_ui' => false,