Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#2808 closed defect (bug) (fixed)

WordCamp 'organizers' shortcode does not accept an order attribute

Reported by: coreymckrill's profile coreymckrill Owned by: coreymckrill's profile coreymckrill
Milestone: Priority: normal
Component: WordCamp Site & Plugins Keywords: good-first-bug has-patch


Unlike some of its sibling shortcodes like speakers and sessions, the organizers shortcode has no way to sort the items it outputs in ascending order. It accepts an orderby attribute, but not order, so the resulting post query defaults to descending order.

Slack discussion here:

Attachments (1)

2808.diff (1.1 KB) - added by chandrapatel 7 years ago.

Download all attachments as: .zip

Change History (4)

7 years ago

#1 @chandrapatel
7 years ago

  • Keywords has-patch added; needs-patch removed

Hi @coreymckrill

I've added order attribute in organizers shortcode. Here, is the patch 2808.diff

Please check and let me know if it's fine.


#2 @coreymckrill
7 years ago

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

In 5567:

WordCamp Post Types: Add missing order attribute to [organizers]

Props chandrapatel
Fixes #2808

#3 @coreymckrill
7 years ago

Looks great @chandrapatel, thanks!

Note: See TracTickets for help on using tickets.