mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
XML-RPC: Add wp.deleteMediaItem as an alias to wp_deletePost.
props fahmiadib. fixes #5310. Built from https://develop.svn.wordpress.org/trunk@28849 git-svn-id: http://core.svn.wordpress.org/trunk@28653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
901122689f
commit
d7f9b38c3e
@ -78,6 +78,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||||||
'wp.editComment' => 'this:wp_editComment',
|
'wp.editComment' => 'this:wp_editComment',
|
||||||
'wp.newComment' => 'this:wp_newComment',
|
'wp.newComment' => 'this:wp_newComment',
|
||||||
'wp.getCommentStatusList' => 'this:wp_getCommentStatusList',
|
'wp.getCommentStatusList' => 'this:wp_getCommentStatusList',
|
||||||
|
'wp.deleteMediaItem' => 'this:wp_deletePost', // Alias
|
||||||
'wp.getMediaItem' => 'this:wp_getMediaItem',
|
'wp.getMediaItem' => 'this:wp_getMediaItem',
|
||||||
'wp.getMediaLibrary' => 'this:wp_getMediaLibrary',
|
'wp.getMediaLibrary' => 'this:wp_getMediaLibrary',
|
||||||
'wp.getPostFormats' => 'this:wp_getPostFormats',
|
'wp.getPostFormats' => 'this:wp_getPostFormats',
|
||||||
|
Loading…
Reference in New Issue
Block a user