[wp-trac] [WordPress Trac] #12727: Allow get_post*() and get_page*() functions to query by more than ID or using an post object.

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 27 06:13:53 UTC 2010


#12727: Allow get_post*() and get_page*() functions to query by more than ID or
using an post object.
--------------------------+-------------------------------------------------
 Reporter:  mikeschinkel  |       Owner:                   
     Type:  enhancement   |      Status:  new              
 Priority:  normal        |   Milestone:  Unassigned       
Component:  Post Types    |     Version:  3.0              
 Severity:  normal        |    Keywords:  posts, post types
--------------------------+-------------------------------------------------

Comment(by nacin):

 We have a get_user_by() function. Emulating that for
 pages/posts/post_types I think is what you're trying to get at with this
 ticket and #12726. Sounds like a good idea in theory, though strong doubts
 on 3.0 for it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12727#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list