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

WordPress Trac noreply at wordpress.org
Thu Jun 9 16:26:13 UTC 2016


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

 * keywords:  good-first-bug needs-patch needs-unit-tests => good-first-bug
     needs-unit-tests has-patch


Comment:

 Same difference in the time functions.

 {{{
 get_the_time( $d = '', $post = null )
 get_the_modified_time($d = '')
 }}}

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


More information about the wp-trac mailing list