Skip to content

Commit

Permalink
Fix so status header is set to 200
Browse files Browse the repository at this point in the history
  • Loading branch information
frozzare committed Sep 1, 2015
1 parent b9bf3ab commit 6fce08b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/includes/admin/class-papi-admin-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ public function handle_papi_ajax() {
define( 'DOING_PAPI_AJAX', true );
}

status_header( 200 );

do_action( $this->action_prefix . sanitize_text_field( $ajax_action ) );
wp_die();
}
Expand Down

0 comments on commit 6fce08b

Please sign in to comment.