summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/wordads/wordads.php')
-rw-r--r--plugins/jetpack/modules/wordads/wordads.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/jetpack/modules/wordads/wordads.php b/plugins/jetpack/modules/wordads/wordads.php
index 3fc03fb1..fee0520d 100644
--- a/plugins/jetpack/modules/wordads/wordads.php
+++ b/plugins/jetpack/modules/wordads/wordads.php
@@ -174,6 +174,7 @@ class WordAds {
*/
$ads_txt_content = apply_filters( 'wordads_ads_txt', $ads_txt_transient );
+ http_response_code( 200 );
header( 'Content-Type: text/plain; charset=utf-8' );
echo esc_html( $ads_txt_content );
die();