WordPress.org

Make WordPress Core

Ticket #25669: 25669.patch

File 25669.patch, 592 bytes (added by Mte90, 4 years ago)

rmccue suggestion

  • 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 is_ajax_request() {
     5176        return apply_filters( 'is_ajax_request', defined( 'DOING_AJAX' ) && DOING_AJAX );
     5177}
     5178 No newline at end of file