Changeset 38334 for trunk/src/wp-includes/functions.php
- Timestamp:
- 08/23/2016 02:32:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r38308 r38334 2571 2571 } 2572 2572 2573 if ( defined( 'DOING_AJAX' ) && DOING_AJAX) {2573 if ( wp_doing_ajax() ) { 2574 2574 /** 2575 2575 * Filters the callback for killing WordPress execution for Ajax requests. … … 3065 3065 @header( 'Content-Type: application/json; charset=' . get_option( 'blog_charset' ) ); 3066 3066 echo wp_json_encode( $response ); 3067 if ( defined( 'DOING_AJAX' ) && DOING_AJAX)3067 if ( wp_doing_ajax() ) 3068 3068 wp_die(); 3069 3069 else
Note: See TracChangeset
for help on using the changeset viewer.