[wp-trac] [WordPress Trac] #26809: Errors from wp_update_post obscured in edit_post

WordPress Trac noreply at wordpress.org
Mon Jan 20 04:58:27 UTC 2014


#26809: Errors from wp_update_post obscured in edit_post
--------------------------+-----------------------------
 Reporter:  dllh          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Post Types    |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------
Changes (by nacin):

 * component:  General => Post Types
 * milestone:  Awaiting Review => Future Release


Comment:

 I definitely like the page template change. This is general to
 wp_imsert_post() and I believe duplicates another ticket (but ai like this
 patch in particular).

 As for edit_post(), given all the fun things that can be returned as an
 error, I don't love suddenly turning those into wp_die() situations. Open
 to suggestions.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26809#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list