[wp-trac] [WordPress Trac] #35991: Adding support of terms meta to XML-RPC
WordPress Trac
noreply at wordpress.org
Mon Feb 29 00:31:38 UTC 2016
#35991: Adding support of terms meta to XML-RPC
-------------------------------+-----------------------------
Reporter: enrico.sorcinelli | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
Since I'd need to do a batch custom taxonomy import (with additional meta
terms) via XML-RPC, unfortunately I noticed that it seems that the XML-
RPC doesn't allow to handle terms meta as introduced in 4.4.
This patch aims to add the support of terms meta to XML-RPC, specifically
for `wp.addTerm`, `wp.getTerms`, `wp.editTerm` and `wp.editTerms` methods,
in same way the API does with post custom fields.
The patch is a starting point and probably has to be revised since it
assumes the fine-grained caps for taxonomy terms (see [ticket:35614]).
Also, the patch add the new `has_term_meta()` function to ''taxonomy.php''
in order to return also meta term IDs that could be needed in subsequent
XMP-RPC `wp.editTerm` calls.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35991>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list