Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18529 closed defect (bug) (fixed)

Admin bar edit link for attachment says "Edit Post"

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

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

Download all attachments as: .zip

Change History (6)

@johnbillion
15 years ago

#1 @johnbillion
15 years ago

  • Keywords has-patch added

Patch.

#2 @SergeyBiryukov
15 years ago

  • Milestone Awaiting Review3.3

#3 @SergeyBiryukov
15 years ago

  • Keywords commit added

#4 @dd32
15 years ago

  • Owner set to dd32
  • Resolutionfixed
  • Status newclosed

In [18613]:

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

#5 @jane
15 years ago

  • Component GeneralAdmin Bar
Note: See TracTickets for help on using tickets.