Ticket #25669: 25669.3.patch
File 25669.3.patch, 582 bytes (added by , 8 years ago) |
---|
-
wp-includes/functions.php
5166 5166 // Strip timezone information 5167 5167 return preg_replace( '/(?:Z|[+-]\d{2}(?::\d{2})?)$/', '', $formatted ); 5168 5168 } 5169 5170 /** 5171 * Determine if the actual request is an AJAX request 5172 * 5173 * @return bool That request is an ajax request? 5174 */ 5175 function wp_is_ajax() { 5176 return apply_filters( 'wp_is_ajax', defined( 'DOING_AJAX' ) && DOING_AJAX ); 5177 } 5178 No newline at end of file