From 3c730050b76dd1101acadecd739fc384bcd3511d Mon Sep 17 00:00:00 2001 From: Django Doucet Date: Mon, 18 May 2020 17:36:17 -0400 Subject: [PATCH] remove irrelevent option --- includes/rest/class-nodeinfo.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/rest/class-nodeinfo.php b/includes/rest/class-nodeinfo.php index aa3671c..bc48f0d 100644 --- a/includes/rest/class-nodeinfo.php +++ b/includes/rest/class-nodeinfo.php @@ -92,9 +92,6 @@ class Nodeinfo { 'email' => \get_option( 'admin_email' ), ); - $nodeinfo['blog_public'] = array( - 'blog_public' => \get_option('blog_public') ); - return new \WP_REST_Response( $nodeinfo, 200 ); }