From 89fcab9a269604d3176ef59ff96c1d942c6be100 Mon Sep 17 00:00:00 2001 From: TangRufus Date: Thu, 11 Jun 2020 16:23:05 +0800 Subject: [PATCH] test; this build should fail --- web/app/mu-plugins/disallow-indexing.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/mu-plugins/disallow-indexing.php b/web/app/mu-plugins/disallow-indexing.php index e414dd637b..c6dfe049fc 100644 --- a/web/app/mu-plugins/disallow-indexing.php +++ b/web/app/mu-plugins/disallow-indexing.php @@ -9,6 +9,7 @@ * License: MIT License */ -if (defined('WP_ENV') && WP_ENV !== 'production' && !is_admin()) { +if (defined('WP_ENV') && WP_ENV !== 'production' && !is_admin()) +{ add_action('pre_option_blog_public', '__return_zero'); }