[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 09:50:01 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 | Keywords:
--------------------------+-----------------------------
Hi,
I'm creating posts using wp.newPost method via xml-rpc api. I published
many posts on that way and there were no problems until now. For some
reasons xml-rpc api send back message: "A term with the name provided
already exists.". This message should be back only if there is a try to
create new term with same name and slug. But if I'm creating post with
terms which already exists wp should search if these terms exists and use
their ids. It always works in this way. When I create this same post
directly on wp it publish with no problems. A terms in post structure I'm
sending to wp looks like:
$note = array('terms_names' =>
array('post_tag'=>array('tag1','0'),'category'=>array('some category')));
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24665>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list