Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #2994, comment 8


Ignore:
Timestamp:
11/18/2017 07:00:18 PM (6 years ago)
Author:
metalandcoffee
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2994, comment 8

    initial v1  
    33I 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.
    44
     5The core ticket [https://core.trac.wordpress.org/ticket/41112] will still need some work I think. It still only shows 3 at a time but at least it'll have the local WordCamp in the array that it is given.
     6
    57Feedback would be great!