[wp-trac] [WordPress Trac] #14868: Inconsistent return type calling wp.newCategory method via XML-RPC

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 15 06:01:14 UTC 2010


#14868: Inconsistent return type calling wp.newCategory method via XML-RPC
--------------------------+-------------------------------------------------
 Reporter:  mwidmann      |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  XML-RPC       |     Version:  3.0.1          
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by mwidmann):

 Sure, but those clients must accept either int or string as well as the
 method returns an int with the ID if the category you want to create
 already exists for the given parent.

 It would be interesting to see how those clients behave if a category is
 created in the web administration interface and the same category is
 created using one of those clients. It could also be that this type
 inconsistency has been created with the fix for #14067

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


More information about the wp-trac mailing list