WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 3 years ago

Last modified 3 years 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 5 years ago.
Add private to post_status clause
17859.2.diff (920 bytes) - added by kawauso 5 years ago.
Add all missing post statuses

Download all attachments as: .zip

Change History (7)

@kawauso
5 years ago

Add private to post_status clause

#1 @kawauso
5 years ago

  • Keywords has-patch added

#2 @agjmills
5 years ago

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

Also cannot attach media to scheduled posts/pages

@kawauso
5 years ago

Add all missing post statuses

#3 @kawauso
5 years ago

  • Keywords needs-patch removed

#4 @sillybean
3 years 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.

#5 @dd32
3 years ago

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