Skip to content

Commit

Permalink
Disable block on local requests when testing ajax. #2873
Browse files Browse the repository at this point in the history
  • Loading branch information
pippinsplugins committed Dec 15, 2014
1 parent 5f23ba3 commit a2ba535
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/ajax-functions.php
Expand Up @@ -35,6 +35,8 @@ function edd_is_ajax_enabled() {
*/
function edd_test_ajax_works() {

add_filter( 'block_local_requests', '__return_false' );

$params = array(
'sslverify' => false,
'timeout' => 30,
Expand Down

0 comments on commit a2ba535

Please sign in to comment.