[wp-trac] [WordPress Trac] #37059: Allow post to be passed to get_the_modified_time & get_the_modified_date

WordPress Trac noreply at wordpress.org
Tue Jun 14 17:59:49 UTC 2016


#37059: Allow post to be passed to get_the_modified_time & get_the_modified_date
-------------------------------------------------+-------------------------
 Reporter:  peterwilsoncc                        |       Owner:
     Type:  enhancement                          |  peterwilsoncc
 Priority:  normal                               |      Status:  reviewing
Component:  Posts, Post Types                    |   Milestone:  4.6
 Severity:  normal                               |     Version:
 Keywords:  good-first-bug has-patch has-unit-   |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------
Changes (by DrewAPicture):

 * milestone:  Future Release => 4.6


Comment:

 @Soean: Thanks for the update. Here are some further notes on
 [attachment:37059.4.diff]:

 * Let's add backticks around `$post` in the changelog entries for both
 functions. The should also be structured as sentences, albeit short:
 {{{
 * @since 4.6.0 The `$post` parameter was added.
 }}}

 * We also need changelog entries for the new parameters added to the two
 filters

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


More information about the wp-trac mailing list