From f1ac48873b8bfe995c0071ce2702f84827d92222 Mon Sep 17 00:00:00 2001 From: dd32 Date: Sun, 28 Aug 2011 03:39:06 +0000 Subject: [PATCH] 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 --- wp-includes/post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/post.php b/wp-includes/post.php index 5eae599cc0..cf087028e1 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -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,