WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 2 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:

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

Download all attachments as: .zip

Change History (6)

johnbillion3 years ago

comment:1 johnbillion3 years ago

  • Keywords has-patch added

Patch.

comment:2 SergeyBiryukov3 years ago

  • Milestone changed from Awaiting Review to 3.3

comment:3 SergeyBiryukov3 years ago

  • Keywords commit added

comment:4 dd323 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

comment:5 jane2 years ago

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