Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#18529 closed defect (bug) (fixed)

Admin bar edit link for attachment says "Edit Post"

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

Description

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 14 years ago.

Download all attachments as: .zip

Change History (6)

@johnbillion
14 years ago

#1 @johnbillion
14 years ago

  • Keywords has-patch added

Patch.

#2 @SergeyBiryukov
14 years ago

  • Milestone changed from Awaiting Review to 3.3

#3 @SergeyBiryukov
14 years ago

  • Keywords commit added

#4 @dd32
14 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
14 years ago

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