Parsed: 107638
<?php /** * Administration API: Core Ajax handlers * * @package WordPress * @subpackage Administration * @since 2.1.0 */ // // No-privilege Ajax handlers. // /* function wp_ajax_nopriv_heartbeat() – Ajax handler for the Heartbeat API in the no-privilege context. */ // // GET-based Ajax handlers. // /* function wp_ajax_fetch_list() – Ajax handler for fetching a list table. */ /* function wp_ajax_ajax_tag_search() – Ajax handler for tag search. */ /* function wp_ajax_wp_compression_test() – Ajax handler for compression testing. */ /* function wp_ajax_imgedit_preview() – Ajax handler for image editor previews. */ /* function wp_ajax_oembed_cache() – Ajax handler for oEmbed caching. */ /* function wp_ajax_autocomplete_user() – Ajax handler for user autocomplete. */ /* function wp_ajax_get_community_events() – Handles Ajax requests for community events */ /* function wp_ajax_dashboard_widgets() – Ajax handler for dashboard widgets. */ /* function wp_ajax_logged_in() – Ajax handler for Customizer preview logged-in status. */ // // Ajax helpers. // /* function _wp_ajax_delete_comment_response() – Sends back current comment total and new page links if they need to be updated. */ // // POST-based Ajax handlers. // /* function _wp_ajax_add_hierarchical_term() – Ajax handler for adding a hierarchical term. */ /* function wp_ajax_delete_comment() – Ajax handler for deleting a comment. */ /* function wp_ajax_delete_tag() – Ajax handler for deleting a tag. */ /* function wp_ajax_delete_link() – Ajax handler for deleting a link. */ /* function wp_ajax_delete_meta() – Ajax handler for deleting meta. */ /* function wp_ajax_delete_post() – Ajax handler for deleting a post. */ /* function wp_ajax_trash_post() – Ajax handler for sending a post to the Trash. */ /* function wp_ajax_untrash_post() – Ajax handler to restore a post from the trash. */ /* function wp_ajax_delete_page() – Ajax handler to delete a page. */ /* function wp_ajax_dim_comment() – Ajax handler to dim a comment. */ /* function wp_ajax_add_link_category() – Ajax handler for adding a link category. */ /* function wp_ajax_add_tag() – Ajax handler to add a tag. */ /* function wp_ajax_get_tagcloud() – Ajax handler for getting a tagcloud. */ /* function wp_ajax_get_comments() – Ajax handler for getting comments. */ /* function wp_ajax_replyto_comment() – Ajax handler for replying to a comment. */ /* function wp_ajax_edit_comment() – Ajax handler for editing a comment. */ /* function wp_ajax_add_menu_item() – Ajax handler for adding a menu item. */ /* function wp_ajax_add_meta() – Ajax handler for adding meta. */ /* function wp_ajax_add_user() – Ajax handler for adding a user. */ /* function wp_ajax_closed_postboxes() – Ajax handler for closed post boxes. */ /* function wp_ajax_hidden_columns() – Ajax handler for hidden columns. */ /* function wp_ajax_update_welcome_panel() – Ajax handler for updating whether to display the welcome panel. */ /* function wp_ajax_menu_get_metabox() – Ajax handler for retrieving menu meta boxes. */ /* function wp_ajax_wp_link_ajax() – Ajax handler for internal linking. */ /* function wp_ajax_menu_locations_save() – Ajax handler for menu locations save. */ /* function wp_ajax_meta_box_order() – Ajax handler for saving the meta box order. */ /* function wp_ajax_menu_quick_search() – Ajax handler for menu quick searching. */ /* function wp_ajax_get_permalink() – Ajax handler to retrieve a permalink. */ /* function wp_ajax_sample_permalink() – Ajax handler to retrieve a sample permalink. */ /* function wp_ajax_inline_save() – Ajax handler for Quick Edit saving a post from a list table. */ /* function wp_ajax_inline_save_tax() – Ajax handler for quick edit saving for a term. */ /* function wp_ajax_find_posts() – Ajax handler for querying posts for the Find Posts modal. */ /* function wp_ajax_widgets_order() – Ajax handler for saving the widgets order. */ /* function wp_ajax_save_widget() – Ajax handler for saving a widget. */ /* function wp_ajax_update_widget() – Ajax handler for saving a widget. */ /* function wp_ajax_delete_inactive_widgets() – Ajax handler for removing inactive widgets. */ /* function wp_ajax_media_create_image_subsizes() – Ajax handler for creating missing image sub-sizes for just uploaded images. */ /* function wp_ajax_upload_attachment() – Ajax handler for uploading attachments */ /* function wp_ajax_image_editor() – Ajax handler for image editing. */ /* function wp_ajax_set_post_thumbnail() – Ajax handler for setting the featured image. */ /* function wp_ajax_get_post_thumbnail_html() – Ajax handler for retrieving HTML for the featured image. */ /* function wp_ajax_set_attachment_thumbnail() – Ajax handler for setting the featured image for an attachment. */ /* function wp_ajax_date_format() – Ajax handler for date formatting. */ /* function wp_ajax_time_format() – Ajax handler for time formatting. */ /* function wp_ajax_wp_fullscreen_save_post() – Ajax handler for saving posts from the fullscreen editor. */ /* function wp_ajax_wp_remove_post_lock() – Ajax handler for removing a post lock. */ /* function wp_ajax_dismiss_wp_pointer() – Ajax handler for dismissing a WordPress pointer. */ /* function wp_ajax_get_attachment() – Ajax handler for getting an attachment. */ /* function wp_ajax_query_attachments() – Ajax handler for querying attachments. */ /* function wp_ajax_save_attachment() – Ajax handler for updating attachment attributes. */ /* function wp_ajax_save_attachment_compat() – Ajax handler for saving backward compatible attachment attributes. */ /* function wp_ajax_save_attachment_order() – Ajax handler for saving the attachment order. */ /* function wp_ajax_send_attachment_to_editor() – Ajax handler for sending an attachment to the editor. */ /* function wp_ajax_send_link_to_editor() – Ajax handler for sending a link to the editor. */ /* function wp_ajax_heartbeat() – Ajax handler for the Heartbeat API. */ /* function wp_ajax_get_revision_diffs() – Ajax handler for getting revision diffs. */ /* function wp_ajax_save_user_color_scheme() – Ajax handler for auto-saving the selected color scheme for a user’s own profile. */ /* function wp_ajax_query_themes() – Ajax handler for getting themes from themes_api(). */ /* function wp_ajax_parse_embed() – Apply [embed] Ajax handlers to a string. */ /* function wp_ajax_parse_media_shortcode() – */ /* function wp_ajax_destroy_sessions() – Ajax handler for destroying multiple open sessions for a user. */ /* function wp_ajax_crop_image() – Ajax handler for cropping an image. */ /* function wp_ajax_generate_password() – Ajax handler for generating a password. */ /* function wp_ajax_nopriv_generate_password() – Ajax handler for generating a password in the no-privilege context. */ /* function wp_ajax_save_wporg_username() – Ajax handler for saving the user’s WordPress.org username. */ /* function wp_ajax_install_theme() – Ajax handler for installing a theme. */ /* function wp_ajax_update_theme() – Ajax handler for updating a theme. */ /* function wp_ajax_delete_theme() – Ajax handler for deleting a theme. */ /* function wp_ajax_install_plugin() – Ajax handler for installing a plugin. */ /* function wp_ajax_update_plugin() – Ajax handler for updating a plugin. */ /* function wp_ajax_delete_plugin() – Ajax handler for deleting a plugin. */ /* function wp_ajax_search_plugins() – Ajax handler for searching plugins. */ /* function wp_ajax_search_install_plugins() – Ajax handler for searching plugins to install. */ /* function wp_ajax_edit_theme_plugin_file() – Ajax handler for editing a theme or plugin file. */ /* function wp_ajax_wp_privacy_export_personal_data() – Ajax handler for exporting a user’s personal data. */ /* function wp_ajax_wp_privacy_erase_personal_data() – Ajax handler for erasing personal data. */ /* function wp_ajax_health_check_dotorg_communication() – Ajax handler for site health checks on server communication. */ /* function wp_ajax_health_check_background_updates() – Ajax handler for site health checks on background updates. */ /* function wp_ajax_health_check_loopback_requests() – Ajax handler for site health checks on loopback requests. */ /* function wp_ajax_health_check_site_status_result() – Ajax handler for site health check to update the result status. */ /* function wp_ajax_health_check_get_sizes() – Ajax handler for site health check to get directories and database sizes. */ /* function wp_ajax_rest_nonce() – Ajax handler to renew the REST API nonce. */ /* function wp_ajax_toggle_auto_updates() – Ajax handler to enable or disable plugin and theme auto-updates. */ /* function wp_ajax_send_password_reset() – Ajax handler sends a password reset link. */