[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:11:56 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:
-------------------------------------------------+-------------------------
Changes (by boonebgorges):

 * keywords:   => good-first-bug needs-patch needs-unit-tests
 * component:  General => Posts, Post Types
 * milestone:  Awaiting Review => Future Release


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 = '' )`

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 = '' )`ne

--

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


More information about the wp-trac mailing list