[wp-trac] [WordPress Trac] #16003: XMLRPC should use category ids instead of names

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 10 19:37:01 UTC 2011


#16003: XMLRPC should use category ids instead of names
-------------------------+------------------------------
 Reporter:  koke         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  XML-RPC      |     Version:  3.1
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by ericmann):

 Replying to [comment:3 josephscott]:
 > allow metaWeblog.newPost and friends to grow support for that using a
 new field.  category_ids ?

 That seems like a fair compromise, and would be easier to implement than
 creating a full set of new methods.

 The complexity comes in if a user specifies both categories by name and
 categories by ID ... would we accept only one over the other?  Accept and
 filter on both?

 And would we return both `categories` and `category_ids` as arrays with
 similar information?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16003#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list