[wp-trac] [WordPress Trac] #18438: Create a new term in XMLRPC
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 15 02:21:18 UTC 2012
#18438: Create a new term in XMLRPC
----------------------------+-----------------------
Reporter: nprasath002 | Owner: westi
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 3.4
Component: XML-RPC | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+-----------------------
Comment (by maxcutler):
Replying to [comment:13 markoheijnen]:
> Did wonder if someone can explain why there is an assign term check for
wp_getTerm and wp_getTerms. Same for the edit taxonomy check for
wp_getTaxonomy and wp_getTaxonomies. I think those checks can be removed.
I think that was an attempt to restrict access so that not just ''any''
user can fetch the taxonomy information. I'm not sure if or what a better
cap check could be, or even what the data leakage concerns would be
without a cap check.
The new wp.getPost and wp.getPosts methods check the `edit_post` cap for
similar reasons, I assume.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18438#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list