Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#20625 closed defect (bug)

Attachment editing shouldn't allow you to edit other post types — at Version 1

Reported by: helenyhou Owned by:
Milestone: 3.4 Priority: normal
Severity: normal Version: 2.5
Component: Media Keywords: has-patch commit
Focuses: Cc:

Description (last modified by helenyhou)

It is possible to edit a non-attachment post in the media editor by changing the attachment_id in the URL, e.g. to 1. Nothing is particularly broken, but it looks a bit strange.


Change History (3)

@helenyhou3 years ago

comment:1 @helenyhou3 years ago

  • Description modified (diff)

20625.diff just adds a wp_die() with a brief message, much as it does for trashed items.

(Look everybody, no CSS!)

Note: See TracTickets for help on using tickets.