[wp-trac] [WordPress Trac] #17455: Add $post_type argument to get_lastpostdate/get_lastpostmodified/_get_last_post_time

WordPress Trac noreply at wordpress.org
Tue Sep 15 15:24:09 UTC 2015


#17455: Add $post_type argument to
get_lastpostdate/get_lastpostmodified/_get_last_post_time
----------------------------------------+-----------------------------
 Reporter:  duck_                       |       Owner:  SergeyBiryukov
     Type:  enhancement                 |      Status:  accepted
 Priority:  normal                      |   Milestone:  4.4
Component:  Posts, Post Types           |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"34201"]:
 {{{
 #!CommitTicketReference repository="" revision="34201"
 Allow `get_lastpostdate()`, `get_lastpostmodified()`, and
 `_get_last_post_time()` to accept `$post_type` and cache separately.

 Props _duck, SergeyBiryukov.
 See #17455.
 }}}

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


More information about the wp-trac mailing list