[wp-trac] [WordPress Trac] #15036: Add 2nd boolean parameter of wp_error to wp_update_post() to allow passthru to wp_insert_post()

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 5 15:35:16 UTC 2010


#15036: Add 2nd boolean parameter of wp_error to wp_update_post() to allow passthru
to wp_insert_post()
--------------------------+-------------------------------------------------
 Reporter:  mikeschinkel  |       Owner:                 
     Type:  enhancement   |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Post Types    |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by scribu):

 The correct way to handle this would be for wp_insert_post() to throw an
 exception, which of course requires PHP 5.

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


More information about the wp-trac mailing list