WordPress.org

Make WordPress Core

Ticket #20038: 20038.diff

File 20038.diff, 989 bytes (added by jeremyfelt, 8 years ago)
  • wp-admin/admin-ajax.php

     
    3434
    3535do_action( 'admin_init' );
    3636
    37 $core_actions_get = array( 'fetch-list', 'ajax-tag-search', 'wp-compression-test', 'imgedit-preview', 'oembed_cache', 'autocomplete-user' );
     37$core_actions_get = array( 'fetch-list', 'ajax-tag-search', 'wp-compression-test', 'imgedit-preview', 'oembed-cache', 'autocomplete-user' );
    3838
    3939$core_actions_post = array(
    40         'oembed_cache', 'image-editor', 'delete-comment', 'delete-tag', 'delete-link',
     40        'oembed-cache', 'image-editor', 'delete-comment', 'delete-tag', 'delete-link',
    4141        'delete-meta', 'delete-post', 'trash-post', 'untrash-post', 'delete-page', 'dim-comment',
    4242        'add-link-category', 'add-tag', 'get-tagcloud', 'get-comments', 'replyto-comment',
    4343        'edit-comment', 'add-menu-item', 'add-meta', 'add-user', 'autosave', 'closed-postboxes',