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

WordPress Trac noreply at wordpress.org
Thu Jun 9 14:13:35 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-patch needs-    |  Resolution:
  unit-tests                                     |     Focuses:
-------------------------------------------------+-------------------------
Description changed by boonebgorges:

Old description:

> The signatures of get_the_time and get_the_modified_time differ. Let's
> make them match
>
> The current signatures are:
>
> `get_the_time ( string $d = '', int|WP_Post $post = null )`
>
> `get_the_modified_time ( string $d = '' )`ne

New description:

 The signatures of get_the_time and get_the_modified_time differ. Let's
 make them match

 The current signatures are:

 `get_the_time ( string $d = '', int|WP_Post $post = null )`

 `get_the_modified_time ( string $d = '' )`

--

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


More information about the wp-trac mailing list