[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 09:37:22 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
--------------------------+-------------------------------------------------
Changes (by mikeschinkel):

 * cc: mikeschinkel@… (added)


Comment:

 Replying to [comment:1 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.

 Cool. Wasn't really expecting it for 3.0, just wanted to get it into the
 queue... :-)

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


More information about the wp-trac mailing list