Make WordPress Core

Ticket #25669: 25669.3.2.patch

File 25669.3.2.patch, 582 bytes (added by sebastian.pisula, 9 years ago)

4.7-alpha-38274

  • wp-includes/functions.php

     
    51665166        // Strip timezone information
    51675167        return preg_replace( '/(?:Z|[+-]\d{2}(?::\d{2})?)$/', '', $formatted );
    51685168}
     5169
     5170/**
     5171 * Determine if the actual request is an AJAX request
     5172 *
     5173 * @return bool That request is an ajax request?
     5174 */
     5175function wp_is_ajax() {
     5176        return apply_filters( 'wp_is_ajax', defined( 'DOING_AJAX' ) && DOING_AJAX );
     5177}
     5178 No newline at end of file