WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/20/2014 02:01:35 PM (5 years ago)
Author:
westi
Message:

XMLRPC: Switch the file deletion alias to be deleteFile to more closely make uploadFile.

Fixes #5310 props SergeyBiryukov.

File:
1 edited

Legend:

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

    r29165 r29255  
    6767            'wp.suggestCategories'  => 'this:wp_suggestCategories',
    6868            'wp.uploadFile'         => 'this:mw_newMediaObject',    // Alias
     69            'wp.deleteFile'         => 'this:wp_deletePost',        // Alias
    6970            'wp.getCommentCount'    => 'this:wp_getCommentCount',
    7071            'wp.getPostStatusList'  => 'this:wp_getPostStatusList',
     
    7980            'wp.newComment'         => 'this:wp_newComment',
    8081            'wp.getCommentStatusList' => 'this:wp_getCommentStatusList',
    81             'wp.deleteMediaItem'    => 'this:wp_deletePost',        // Alias
    8282            'wp.getMediaItem'       => 'this:wp_getMediaItem',
    8383            'wp.getMediaLibrary'    => 'this:wp_getMediaLibrary',
Note: See TracChangeset for help on using the changeset viewer.