From aa2379513bbbb38b1a909265827eb5e65b960ffc Mon Sep 17 00:00:00 2001 From: Rebecca Hum <16962021+rebeccahum@users.noreply.github.com> Date: Thu, 28 Sep 2023 08:57:41 -0600 Subject: [PATCH] Remove piece of testing code that snuck in --- security/class-private-sites.php | 1 - 1 file changed, 1 deletion(-) diff --git a/security/class-private-sites.php b/security/class-private-sites.php index 70d9485159..35071a69a0 100644 --- a/security/class-private-sites.php +++ b/security/class-private-sites.php @@ -74,7 +74,6 @@ public function disable_core_feeds() { * Force the blog_public option to be -1 and disable UI */ public function force_blog_public_option() { - add_filter( 'blog_privacy_selector', '__return_true' ); add_filter( 'option_blog_public', array( $this, 'filter_restrict_blog_public' ) ); add_action( 'admin_enqueue_scripts', array( $this, 'disable_blog_public_ui' ) ); }