From ff6adfd8991d8c95a98aa507138829b9a0c2a976 Mon Sep 17 00:00:00 2001 From: Phil Tyler Date: Fri, 17 Jan 2025 11:41:33 -0800 Subject: [PATCH] [BUGS-9130] Don't add network setup if network already setup --- inc/pantheon-network-setup.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inc/pantheon-network-setup.php b/inc/pantheon-network-setup.php index 1c9d261..2f83764 100644 --- a/inc/pantheon-network-setup.php +++ b/inc/pantheon-network-setup.php @@ -25,6 +25,10 @@ function pantheon_remove_network_setup() { * Register the Pantheon network setup submenu page. */ function pantheon_add_network_setup() { + if ( defined( 'MULTISITE' ) && MULTISITE ) { + return; + } + add_management_page( __( 'Create a Network of WordPress Sites', 'network-setup' ), __( 'Network Setup', 'network-setup' ),