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:
parent
6ebdf41b50
commit
f1ac48873b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue