Make WordPress Core

Changeset 28849


Ignore:
Timestamp:
06/26/2014 03:20:07 PM (10 years ago)
Author:
SergeyBiryukov
Message:

XML-RPC: Add wp.deleteMediaItem as an alias to wp_deletePost.

props fahmiadib.
fixes #5310.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r28712 r28849  
    7979            'wp.newComment'         => 'this:wp_newComment',
    8080            'wp.getCommentStatusList' => 'this:wp_getCommentStatusList',
     81            'wp.deleteMediaItem'    => 'this:wp_deletePost',        // Alias
    8182            'wp.getMediaItem'       => 'this:wp_getMediaItem',
    8283            'wp.getMediaLibrary'    => 'this:wp_getMediaLibrary',
Note: See TracChangeset for help on using the changeset viewer.