Make WordPress Core

Ticket #5310: 5310.diff

File 5310.diff, 1.0 KB (added by SergeyBiryukov, 12 years ago)
  • src/wp-includes/class-wp-xmlrpc-server.php

     
    6666                        'wp.deleteCategory'             => 'this:wp_deleteCategory',
    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',
    7172                        'wp.getPageStatusList'  => 'this:wp_getPageStatusList',
     
    7879                        'wp.editComment'                => 'this:wp_editComment',
    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',
    8484                        'wp.getPostFormats'     => 'this:wp_getPostFormats',