[wp-trac] [WordPress Trac] #14783: Incorrect/missing PHPDoc

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 4 20:37:08 UTC 2010


#14783: Incorrect/missing PHPDoc
-------------------------+--------------------------------------------------
 Reporter:  duck_        |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.1
Component:  Inline Docs  |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------

Comment(by duck_):

 Note in 14783.001.diff there is the removal of the default array() for the
 $postarr parameter in wp_insert_post. This strikes me (also discussed
 briefly with nacin) as very odd since leaving out $postarr makes
 wp_insert_post useless and it will always return 0.

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


More information about the wp-trac mailing list