Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#22723 closed defect (bug) (fixed)

"Uploaded to this post" Broken After Creating Gallery

Reported by: miqrogroove's profile miqrogroove Owned by: koopersmith's profile koopersmith
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.5
Component: Media Keywords: has-patch needs-testing
Focuses: Cc:

Description

To reproduce:

  1. Select images and click Create a new gallery.
  2. Click Add to Gallery
  3. Select "Uploaded to this post" from the drop down menu.

Expected result: Fewer items displayed.

Actual result: Nothing happens.

Attachments (1)

22723.diff (5.0 KB) - added by koopersmith 12 years ago.

Download all attachments as: .zip

Change History (5)

#1 @koopersmith
12 years ago

  • Milestone changed from Awaiting Review to 3.5
  • Owner set to koopersmith
  • Status changed from new to accepted

@koopersmith
12 years ago

#2 follow-up: @koopersmith
12 years ago

  • Keywords has-patch needs-testing added

Patch makes the "uploaded to this post" state in the "Add to Gallery" panel work correctly — it only shows attachments that have been uploaded to this post and are *not* currently in the gallery.

Patch also fixes #22722.

#3 in reply to: ↑ 2 @westi
12 years ago

Replying to koopersmith:

Patch makes the "uploaded to this post" state in the "Add to Gallery" panel work correctly — it only shows attachments that have been uploaded to this post and are *not* currently in the gallery.

Patch also fixes #22722.

Works fine in my testing to far.

#4 @markjaquith
12 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 23068:

Fix the "Uploaded to this post" filter in the "Add to gallery" state. fixes #22723

Also, use "images" wording instead of generic "media items" when in a gallery (images-only) context. fixes #22722

Both are props koopersmith

Note: See TracTickets for help on using tickets.