[wp-meta] [Making WordPress.org] #2994: Make WordCamps sticky in the Events API

Making WordPress.org noreply at wordpress.org
Sat Nov 18 18:58:37 UTC 2017

#2994: Make WordCamps sticky in the Events API
 Reporter:  iandunn                   |       Owner:
     Type:  enhancement               |      Status:  assigned
 Priority:  high                      |   Milestone:
Component:  API                       |  Resolution:
 Keywords:  good-first-bug has-patch  |
Changes (by metalandcoffee):

 * keywords:  needs-patch good-first-bug => good-first-bug has-patch


 Hello 🌻

 I submitted a patch for this ticket. I added a separate query near the end
 of the get_events function to look for the next local WordCamp within the
 upcoming 6 weeks. If one is found, it'll go ahead and add it to the
 events[] array (removing duplicates in the process - just in case it was
 already in there to begin with). Then it checks to see if the events array
 count is less than the specified limit previously given and if it's
 greater, it cuts out meetup(s) with the date furthest away. That's just my
 way of making sure the limit/number parameter is met.

 Feedback would be great!

Ticket URL: <https://meta.trac.wordpress.org/ticket/2994#comment:8>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list