[wp-trac] [WordPress Trac] #20105: When inserting a draft post with wp_insert_post you can't query it on name

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 29 10:51:48 UTC 2012


#20105: When inserting a draft post with wp_insert_post you can't query it on name
-------------------------------+------------------------------
 Reporter:  markoheijnen       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Post Types         |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by markoheijnen):

 it should have been get_posts(). I will write a test for it so I can see
 if I can reproduce it again.

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


More information about the wp-trac mailing list