[wp-trac] [WordPress Trac] #13771: get_the_date() to accept optional $post argument

WordPress Trac noreply at wordpress.org
Sat Mar 1 23:11:59 UTC 2014


#13771: get_the_date() to accept optional $post argument
------------------------------------+-----------------------------
 Reporter:  bigdawggi               |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Date/Time               |     Version:  3.0
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+-----------------------------

Comment (by adamsilverstein):

 Replying to [comment:12 nacin]:
 > Nice work, tanner and adam. It looks like $post should also be passed to
 the get_the_date filter.

 Thanks & good point! Added $post to the filter in
 [attachment:13771.3.diff] and added a doc block above the filter since I
 was touching it anyway.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/13771#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list