[wp-trac] [WordPress Trac] #30009: _wp_put_post_revision checks for errors incorrectly

WordPress Trac noreply at wordpress.org
Tue Oct 20 18:22:21 UTC 2015


#30009: _wp_put_post_revision checks for errors incorrectly
------------------------------------+------------------------------
 Reporter:  rmccue                  |       Owner:  rmccue
     Type:  defect (bug)            |      Status:  assigned
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Revisions               |     Version:  2.6
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------
Changes (by adamsilverstein):

 * keywords:  has-patch => has-patch dev-feedback


Comment:

 [attachment:30009.4.diff]
 * Refresh against trunk

 Lets keep this patch simple and stick to adding the `true` value to
 `wp_insert_post` so it will potentially return the WP_Error we are looking
 out for.

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


More information about the wp-trac mailing list