Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#18529 closed defect (bug) (fixed)

Admin bar edit link for attachment says "Edit Post"

Reported by: johnbillion Owned by: dd32
Milestone: 3.3 Priority: normal
Severity: minor Version: 3.2.1
Component: Toolbar Keywords: has-patch commit
Focuses: Cc:


When you're viewing an attachment (eg. example.com/?attachment_id=123) the edit link in the admin bar says "Edit Post". The attachment post type lacks the edit_item label so it defaults to the non-hierarchical post type label.

Attachments (1)

18529.patch (384 bytes) - added by johnbillion 9 years ago.

Download all attachments as: .zip

Change History (6)

9 years ago

#1 @johnbillion
9 years ago

  • Keywords has-patch added


#2 @SergeyBiryukov
9 years ago

  • Milestone changed from Awaiting Review to 3.3

#3 @SergeyBiryukov
9 years ago

  • Keywords commit added

#4 @dd32
9 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In [18613]:

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

#5 @jane
9 years ago

  • Component changed from General to Admin Bar
Note: See TracTickets for help on using tickets.