[wp-trac] Re: [WordPress Trac] #3876: New template tag - get_latest_post

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 9 08:22:33 GMT 2007


#3876: New template tag - get_latest_post
-------------------------+--------------------------------------------------
 Reporter:  drmike       |        Owner:  anonymous
     Type:  enhancement  |       Status:  closed   
 Priority:  lowest       |    Milestone:           
Component:  Template     |      Version:           
 Severity:  trivial      |   Resolution:  wontfix  
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by rob1n):

  * status:  new => closed
  * resolution:  => wontfix
  * milestone:  2.3 =>

Comment:

 I don't see the need for this. Just do:

 {{{
 get_posts('orderby=post_date&count=1');
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3876#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list