[wp-trac] [WordPress Trac] #10854: Can't post comments by XMLRPC using wp.newComment and having WP_DEBUG enabled
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 26 00:38:46 UTC 2009
#10854: Can't post comments by XMLRPC using wp.newComment and having WP_DEBUG
enabled
--------------------------+-------------------------------------------------
Reporter: filipegiusti | Owner: josephscott
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: XML-RPC | Version: 2.8.4
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
When posting a comment by XMLRPC with all errors enable you get
<br /> Notice: Undefined variable: comment_type in XXX/wordpress/wp-
includes/comment.php on line 433<br />
<br /> Notice: Undefined index: comment_type in XXX/wordpress/wp-
includes/comment.php on line 1006<br />
Some warnings about rewriting the header and then the right xml response.
Tracking down the problem it seems that comment_type isn't set nowhere in
XXX/wordpress/xmlrpc.php at wp_newComment (line 1253)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10854>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list