56
56
'hidden-columns', 'update-welcome-panel', 'menu-get-metabox', 'wp-link-ajax',
57
57
'menu-locations-save', 'menu-quick-search', 'meta-box-order', 'get-permalink',
58
58
'sample-permalink', 'inline-save', 'inline-save-tax', 'find_posts', 'widgets-order',
59
'save-widget', 'set-post-thumbnail', 'date_format', 'time_format', 'wp-fullscreen-save-post',
59
'save-widget', 'set-post-thumbnail', 'date_format', 'time_format',
60
60
'wp-remove-post-lock', 'dismiss-wp-pointer', 'upload-attachment', 'get-attachment',
61
61
'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor',
62
62
'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',
63
63
'save-user-color-scheme', 'update-widget', 'query-themes', 'parse-embed', 'set-attachment-thumbnail',
64
64
'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'press-this-save-post',
65
'press-this-add-category',
65
'press-this-add-category', 'crop-image',
69
$core_actions_post[] = 'wp-fullscreen-save-post';
68
71
// Register core Ajax calls.
69
72
if ( ! empty( $_GET['action'] ) && in_array( $_GET['action'], $core_actions_get ) )
70
73
add_action( 'wp_ajax_' . $_GET['action'], 'wp_ajax_' . str_replace( '-', '_', $_GET['action'] ), 1 );