[wp-trac] [WordPress Trac] #24665: xml-rpc wp.newPost - A term with the name provided already exists.
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Jul  1 10:40:21 UTC 2013
    
    
  
#24665: xml-rpc wp.newPost - A term with the name provided already exists.
--------------------------+------------------------------
 Reporter:  bigwolk       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  XML-RPC       |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Comment (by markoheijnen):
 I think you use the argument "term_names" for adding terms to a post.
 Since it is a hierarchical taxonomy you should probably use the argument
 "terms" instead of "terms_names". Passing ID's is saver.
 I'm not sure why you get the error. Can you tell what exact arguments you
 use and if that term name exists multiple times? The code already tries to
 find the id's for the posts. See
 http://core.trac.wordpress.org/browser/trunk/wp-includes/class-wp-xmlrpc-
 server.php#L1173. But somehow in your case something goes wrong.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24665#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list