[wp-meta] [Making WordPress.org] #2065: Add year to dates on http://central.wordcamp.org/schedule/

Making WordPress.org noreply at wordpress.org
Wed Oct 5 21:07:22 UTC 2016

#2065: Add year to dates on http://central.wordcamp.org/schedule/
 Reporter:  andreamiddleton           |       Owner:  iandunn
     Type:  enhancement               |      Status:  accepted
 Priority:  low                       |   Milestone:
Component:  WordCamp Site & Plugins   |  Resolution:
 Keywords:  good-first-bug has-patch  |

Comment (by iandunn):

 The patch looks great, thanks @frq!

 I'd make two suggestions to improve it:

 1) `the_wordcamp_date()` is called by multiple templates, so adding the
 year unconditionally will create side-effects for them. One way to avoid
 that would be by adding a `$year` parameter that defaults to `'excluded'`.
 If `'included'` is passed, then the year is shown.

 2) Add a header for each year, similar to the Past WordCamps template. You
 can use `group_wordcamps_by_year()` to make that easier.

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

More information about the wp-meta mailing list