Changeset 34928 for trunk/src/wp-includes/default-filters.php
- Timestamp:
- 10/08/2015 02:30:18 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-filters.php
r34903 r34928 204 204 205 205 add_filter( 'http_request_host_is_external', 'allowed_http_request_hosts', 10, 2 ); 206 207 // REST API filters. 208 add_action( 'xmlrpc_rsd_apis', 'rest_output_rsd' ); 209 add_action( 'wp_head', 'rest_output_link_wp_head', 10, 0 ); 210 add_action( 'template_redirect', 'rest_output_link_header', 11, 0 ); 211 add_action( 'auth_cookie_malformed', 'rest_cookie_collect_status' ); 212 add_action( 'auth_cookie_expired', 'rest_cookie_collect_status' ); 213 add_action( 'auth_cookie_bad_username', 'rest_cookie_collect_status' ); 214 add_action( 'auth_cookie_bad_hash', 'rest_cookie_collect_status' ); 215 add_action( 'auth_cookie_valid', 'rest_cookie_collect_status' ); 216 add_filter( 'rest_authentication_errors', 'rest_cookie_check_errors', 100 ); 206 217 207 218 // Actions … … 348 359 add_action( 'edit_user_created_user', 'wp_send_new_user_notifications' ); 349 360 361 // REST API actions. 362 add_action( 'init', 'rest_api_init' ); 363 add_action( 'rest_api_init', 'rest_api_default_filters', 10, 1 ); 364 add_action( 'parse_request', 'rest_api_loaded' ); 365 350 366 /** 351 367 * Filters formerly mixed into wp-includes
Note: See TracChangeset
for help on using the changeset viewer.