WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/24/2017 02:21:42 PM (3 years ago)
Author:
azaozz
Message:

Retire Press This and extract it to a plugin. First run.

Props kraftbj, azaozz.
See #41689.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/admin-ajax.php

    r41120 r41584  
    6262    'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',
    6363    'save-user-color-scheme', 'update-widget', 'query-themes', 'parse-embed', 'set-attachment-thumbnail',
    64     'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'press-this-save-post',
    65     'press-this-add-category', 'crop-image', 'generate-password', 'save-wporg-username', 'delete-plugin',
    66     'search-plugins', 'search-install-plugins', 'activate-plugin', 'update-theme', 'delete-theme',
    67     'install-theme', 'get-post-thumbnail-html', 'get-community-events',
     64    'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'crop-image',
     65    'generate-password', 'save-wporg-username', 'delete-plugin', 'search-plugins',
     66    'search-install-plugins', 'activate-plugin', 'update-theme', 'delete-theme', 'install-theme',
     67    'get-post-thumbnail-html', 'get-community-events',
    6868);
    6969
    7070// Deprecated
    71 $core_actions_post[] = 'wp-fullscreen-save-post';
     71$core_actions_post_deprecated = array( 'wp-fullscreen-save-post', 'press-this-save-post', 'press-this-add-category' );
     72$core_actions_post = array_merge( $core_actions_post, $core_actions_post_deprecated );
    7273
    7374// Register core Ajax calls.
Note: See TracChangeset for help on using the changeset viewer.