[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
Thu Jul 5 19:21:59 UTC 2012


#15036: Add 2nd boolean parameter of wp_error to wp_update_post() to allow passthru
to wp_insert_post()
------------------------------+---------------------
 Reporter:  mikeschinkel      |       Owner:  nacin
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  Post Types        |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21213]:
 {{{
 #!CommitTicketReference repository="" revision="21213"
 Allow wp_update_post() to accept the same second argument as
 wp_insert_post(), allowing for WP_Error return values on failure. props
 scribu, mikeschinkel. fixes #15036.
 }}}

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


More information about the wp-trac mailing list