[wp-trac] [WordPress Trac] #18429: Create custom post types via XMLRPC
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 28 09:32:54 UTC 2012
#18429: Create custom post types via XMLRPC
----------------------------+------------------------
Reporter: nprasath002 | Owner: westi
Type: task (blessed) | Status: reviewing
Priority: normal | Milestone: 3.4
Component: XML-RPC | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------------
Comment (by westi):
Some feedback on the patch:
* It looks like maybe some post editing code slipped into wp.newPost - I
think we should only need to support the supplying of
{{{$post_data['ID']}}} for wp.editPost.
* In the Taxonomy/Terms section of the code it is unclear whether you
expect the client to pass in category/tag names or IDs - I think names are
preferable and it would be clearer to name things like {{term_id}} as
{{term_name}}
* Minor coding style variable naming issue - {{{$thisEnclosure}}}
Future:
* We should consider if we should auto-create new tags/cats based on what
the user has entered in the App UI so as to save on multiple requests - If
I want to tag my post with the tag "Awesome" then I don't think we should
reject that but instead create the tag as a result of the newPost call.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18429#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list