diff --git a/inc/managers/class-site-manager.php b/inc/managers/class-site-manager.php index 46813f6a4..1a6952ad0 100644 --- a/inc/managers/class-site-manager.php +++ b/inc/managers/class-site-manager.php @@ -690,6 +690,7 @@ public function lock_site(): void { ) ), esc_html__('Site in Demo Mode', 'ultimate-multisite'), + ['response' => 403] ); } @@ -731,6 +732,7 @@ public function lock_site(): void { // translators: %s: link to the login page sprintf(wp_kses_post(__('This site is not available at the moment.
If you are the site admin, click here to login.', 'ultimate-multisite')), esc_attr(wp_login_url())), esc_html__('Site not available', 'ultimate-multisite'), + ['response' => 403] ); } }