[wp-trac] [WordPress Trac] #24665: xml-rpc wp.newPost - A term with the name provided already exists.
WordPress Trac
noreply at wordpress.org
Tue Jul 2 08:17:27 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: reporter-feedback |
-------------------------------+------------------------------
Comment (by bigwolk):
Thanks for your replies. I analyzed
http://core.trac.wordpress.org/browser/trunk/wp-includes/class-wp-xmlrpc-
server.php#L1173 and I found where problem is. Method get_term_by( 'name',
$term_name, $taxonomy) on line 1178 don't manage with polish national
signs like ęąóżźć. I don`t know how about other languages like german
umlauts or others. For now only solution is use argument "terms" instead
of "terms_names" as markoheijnen wrote. Thanks a lot.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24665#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list