[wp-trac] Re: [WordPress Trac] #3020: Autosave
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 10 22:42:33 GMT 2006
#3020: Autosave
----------------------------+-----------------------------------------------
Reporter: masquerade | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.1
Component: Administration | Version: 2.1
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by ryan):
Maybe change write_post() to return WP_Error and leave it to the caller
how the error should be handled though. This change might break plugins
though, so how about have wp_write_post() return WP_Error and make
write_post() a wrapper around wp_write_post() that just wp_die()s with the
error.
--
Ticket URL: <http://trac.wordpress.org/ticket/3020>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list