[wp-trac] [WordPress Trac] #14452: Duplicate check for comments: Inappropriate errorhandling for xmlrpc

WordPress Trac noreply at wordpress.org
Tue Oct 11 09:27:04 UTC 2016


#14452: Duplicate check for comments: Inappropriate errorhandling for xmlrpc
----------------------------------------+-----------------------------
 Reporter:  mrutz                       |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  XML-RPC                     |     Version:  3.0
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+-----------------------------
Changes (by websupporter):

 * keywords:  needs-patch needs-unit-tests => needs-unit-tests has-patch


Comment:

 With https://core.trac.wordpress.org/ticket/36901 in core,
 `wp_new_comment()` returns the comment ID, false or a `WP_Error`.
 14452.diff takes this into account.

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


More information about the wp-trac mailing list