Making WordPress.org

Opened 8 years ago

Closed 8 years ago

Last modified 8 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
Cc:

Description

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: https://wordpress.slack.com/archives/C08M59V3P/p1493841000894509

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

@chandrapatel
8 years ago

#1 @chandrapatel
8 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.

Thanks,

#2 @coreymckrill
8 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
8 years ago

Looks great @chandrapatel, thanks!

Note: See TracTickets for help on using tickets.