WordPress.org

Make WordPress Core

Ticket #8654: explicitly-declare-wpajax.diff

File explicitly-declare-wpajax.diff, 392 bytes (added by projct, 5 years ago)
  • wp-includes/js/wp-ajax-response.js

    diff --git a/wp-includes/js/wp-ajax-response.js b/wp-includes/js/wp-ajax-response.js
    index 9555853..d941f21 100644
    a b  
    1 wpAjax = jQuery.extend( { 
     1var wpAjax = jQuery.extend( { 
    22        unserialize: function( s ) { 
    33                var r = {}; if ( !s ) { return r; } 
    44                var q = s.split('?'); if ( q[1] ) { s = q[1]; }