diff --git a/wp-includes/js/wp-ajax-response.js b/wp-includes/js/wp-ajax-response.js index 56f8eb2449..95558536d2 100644 --- a/wp-includes/js/wp-ajax-response.js +++ b/wp-includes/js/wp-ajax-response.js @@ -46,8 +46,8 @@ wpAjax = jQuery.extend( { } if ( isNaN(x) ) { return !re.html('

' + x + '

'); } x = parseInt(x,10); - if ( -1 == x ) { return !re.html('

' + this.noPerm + '

'); } - else if ( 0 === x ) { return !re.html('

' + this.broken + '

'); } + if ( -1 == x ) { return !re.html('

' + wpAjax.noPerm + '

'); } + else if ( 0 === x ) { return !re.html('

' + wpAjax.broken + '

'); } return true; }, invalidateForm: function ( selector ) {