[wp-trac] [WordPress Trac] #18436: Retrieve post type information in XML-RPC

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 8 11:42:30 UTC 2012


#18436: Retrieve post type information in XML-RPC
-----------------------------+------------------------------
 Reporter:  nprasath002      |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  XML-RPC          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by westi):

 The patch in [attachment:wp.getPostType.5.patch] looks good.

 It would be nice to have some unit tests before we commit the new
 functions `wp.getPostType` and `wp.getPostTypes` adding the extra "option"
 seems like a no-brainer.

 Would you be able to write some test cases for the new functions?

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


More information about the wp-trac mailing list