[wp-trac] [WordPress Trac] #25264: The "do_action"s in class-wp-xmlrpc-server.php do not pass in useable arguments.
WordPress Trac
noreply at wordpress.org
Mon Sep 9 13:53:04 UTC 2013
#25264: The "do_action"s in class-wp-xmlrpc-server.php do not pass in useable
arguments.
-----------------------------+-----------------------------
Reporter: jtsternberg | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.6
Severity: normal | Keywords: dev-feedback
-----------------------------+-----------------------------
It seems it should be possible to use hooks like `do_action(
'xmlrpc_call', 'wp.newPost' );` to manipulate xmlrpc-inserted posts,
terms, etc.
These would be infinitely more useable.
`do_action( 'xmlrpc_call', 'wp.newPost', $user, $content_struct );`
`do_action( 'xmlrpc_call', 'wp.editPost', $blog_id, $user, $post_id,
$content_struct );`
`do_action( 'xmlrpc_call', 'wp.newTerm', $user, $content_struct );`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25264>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list