[wp-trac] [WordPress Trac] #35991: Adding support of terms meta to XML-RPC

WordPress Trac noreply at wordpress.org
Thu Mar 3 18:53:58 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                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by enrico.sorcinelli):

 I just submitted an updated patch with unit tests.


 Until the fine-grain taxnomony term will be developed/added to the core
 (see [/ticket/35614#comment:1 35614]), all the `current_user_can()`
 statements in the patch (relative to ''class-wp-xmlrpc-server.php'') are
 for demonstration purpose only and they can be replaced with
 `current_user_can( 'manage_categories' )`


 PS: I misspelled the related XML-RPC methods in the initial post, the
 correct ones are of course: `wp.newTerm`, `wp.getTerm`, `wp.editTerm`,
 `wp.getTerms` :-)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35991#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list