[wp-trac] [WordPress Trac] #18436: Retrieve post type information in XML-RPC
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 29 18:22:53 UTC 2011
#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 |
-----------------------------+------------------------------
Changes (by maxcutler):
* cc: max@… (added)
Comment:
This and the plural version (#18437) should probably include the 'name'
field in the returned array. The name may be supplied as a method
parameter (or an array key in the plural version), but that forces the API
consumer to keep track of it separately. It would be much easier if all
the fields were returned in the same struct.
I'm also curious as to how you selected the subset of fields to return.
Some that could be useful like 'public', 'export', 'menu_icon' are
missing. If you don't want to add them by default, it might be nice to
have the list of fields be put through a filter so that plugins can modify
what gets returned.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18436#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list