[wp-trac] [WordPress Trac] #34093: New filter: `get_calendar_post_type` in get_calendar()

WordPress Trac noreply at wordpress.org
Fri Oct 7 20:09:04 UTC 2016

#34093: New filter: `get_calendar_post_type` in get_calendar()
 Reporter:  sebastian.pisula            |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Widgets                     |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
Changes (by swissspidy):

 * keywords:  has-patch => has-patch needs-unit-tests
 * version:  trunk =>
 * component:  General => Widgets
 * milestone:  Awaiting Review => Future Release


 `Version` is for indicating when a bug was first introduced.

 The patch is coming along nicely, thanks @dwainm!

 I'm changing milestone to Future Release for now. Also changing the
 component as `get_calendar()` is only used in the calendar widget right
 now. The patch might benefit from some unit tests.

 At first glance, the function's docblock needs to be updated. `$args`
 should probably be passed to the `get_calendar` filter.

 See https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/ for our PHP Documentation Standards.

Ticket URL: <https://core.trac.wordpress.org/ticket/34093#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list