WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 9 months ago

Last modified 9 months ago

#17859 closed defect (bug) (worksforme)

Can't attach media to private posts

Reported by: knome Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.1
Component: Media Keywords: has-patch
Focuses: Cc:

Description

In the Media -page on the WordPress admin, one can attach unattached media to posts and pages.

However, the search does not show private posts, even with the master account.

Reproduce:

  1. Upload media
  2. Try to attach to a private post or page

Attachments (2)

17859.diff (899 bytes) - added by kawauso 3 years ago.
Add private to post_status clause
17859.2.diff (920 bytes) - added by kawauso 3 years ago.
Add all missing post statuses

Download all attachments as: .zip

Change History (7)

kawauso3 years ago

Add private to post_status clause

comment:1 kawauso3 years ago

  • Keywords has-patch added

comment:2 agjmills3 years ago

  • Keywords needs-patch added
  • Version changed from 3.1.3 to 3.1

Also cannot attach media to scheduled posts/pages

kawauso3 years ago

Add all missing post statuses

comment:3 kawauso3 years ago

  • Keywords needs-patch removed

comment:4 sillybean9 months ago

  • Resolution set to worksforme
  • Status changed from new to closed

This has been fixed sometime in the last couple of years. You can now attach unattached media to any post status.

comment:5 dd329 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.