Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#22617 closed defect (bug) (fixed)

In gallery shortcode, map "ids" to orderby and include prior to post_gallery filter

Reported by: nacin's profile nacin Owned by: nacin's profile nacin
Milestone: 3.5 Priority: high
Severity: major Version: 3.5
Component: Gallery Keywords: commit
Focuses: Cc:


A plugin using the post_gallery filter won't know what "ids" is. They shouldn't need to. As it is simply a shortcut for two existing properties, we should automatically take it and map it to orderby and include *before* the filter, not after.

Attachments (1)

22617.diff (1.1 KB) - added by nacin 12 years ago.

Download all attachments as: .zip

Change History (3)

12 years ago

#1 @ryan
12 years ago

  • Keywords commit added

#2 @nacin
12 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 22891:

In the gallery shortcode, handle mapping of "ids" to include and orderby before the post_gallery filter. see #21816. fixes #22617.

Note: See TracTickets for help on using tickets.