Skip to content

Commit

Permalink
Add missing ajax request headers
Browse files Browse the repository at this point in the history
  • Loading branch information
sheabunge committed Jul 24, 2018
1 parent 5137037 commit 6445251
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/manage.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

var request = new XMLHttpRequest();
request.open('POST', ajaxurl, true);
request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
request.send(query_string);
};

Expand Down

0 comments on commit 6445251

Please sign in to comment.