From c370cd58f136f5de8d3c5661c25d4e564bc5a44e Mon Sep 17 00:00:00 2001 From: Dion Hulse 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: https://develop.svn.wordpress.org/trunk@18613 602fd350-edb4-49c9-b593-d223f7449a82 --- 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,