Automattic / Automattic/jetpack

Multisite / Protect: Network sites shown Protect Deactivated message when still enabled

Open
#3,377 3 comments 0 reactions 0 assignees View on GitHub
[Feature] Protect [Focus] FixTheFlows [Focus] Multisite [Pri] Low Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

When Protect is enabled on the main site, other sites in the network don't have the ability to disable Protect.

However, when a network site attempts to disable Protect, they still see the "Protect Deactivated! You can activate it again at any time using the activate link next to each module." message when they deactivate Protect, but the module is still enabled.

Instead, they should be shown a message explaining why Protect can't be disabled.

Reported here: https://wordpress.org/support/topic/jetpack-protect-plugin-row-color-indicates-it-is-active-even-after-deactivation

I've reproduced on Multisite network site using subdomains.
Screenshot:
![multisite_protect](https://cloud.githubusercontent.com/assets/4307088/12868328/e15c6d56-ccb8-11e5-8152-333667f501cd.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce this on a WordPress Multisite network with subdomains, enabling Protect on the main site and attempting to disable it on a network site. Verify that the network site explains why Protect cannot be disabled there instead of showing the deactivation message.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.