~canonical-sysadmins/wordpress/4.2.2

« back to all changes in this revision

Viewing changes to wp-admin/admin-ajax.php

  • Committer: Nick Moffitt
  • Date: 2015-01-15 11:05:37 UTC
  • mfrom: (1.1.1 wp4-upstream)
  • Revision ID: nick.moffitt@canonical.com-20150115110537-8bp1y42eyg0jsa7c
Tags: 4.1
MergeĀ upstreamĀ versionĀ 4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
        'parse-media-shortcode'
 
64
        'parse-media-shortcode', 'destroy-sessions'
65
65
);
66
66
 
67
67
// Register core Ajax calls.
77
77
        /**
78
78
         * Fires authenticated AJAX actions for logged-in users.
79
79
         *
80
 
         * The dynamic portion of the hook name, $_REQUEST['action'],
 
80
         * The dynamic portion of the hook name, `$_REQUEST['action']`,
81
81
         * refers to the name of the AJAX action callback being fired.
82
82
         *
83
83
         * @since 2.1.0
87
87
        /**
88
88
         * Fires non-authenticated AJAX actions for logged-out users.
89
89
         *
90
 
         * The dynamic portion of the hook name, $_REQUEST['action'],
 
90
         * The dynamic portion of the hook name, `$_REQUEST['action']`,
91
91
         * refers to the name of the AJAX action callback being fired.
92
92
         *
93
93
         * @since 2.8.0