From 64452519cb16f007a34bd06a826e46571bef1a4f Mon Sep 17 00:00:00 2001 From: Shea Bunge Date: Tue, 24 Jul 2018 22:32:23 +1000 Subject: [PATCH] Add missing ajax request headers --- js/manage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/manage.js b/js/manage.js index 9a2c6090..43218c53 100644 --- a/js/manage.js +++ b/js/manage.js @@ -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); };