-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.17 - Activation/Deactivation with the filters #6878
Comments
Otherwise, for AC 3, Scope a solutionIn
$all_not_allowed = true;
foreach ($this->factories as $factory) {
if ($factory->get_context()->is_allowed()) {
$all_not_allowed = false;
break;
}
}
if ($all_not_allowed) {
return;
} In this case, if every factories return Also, for AC 2, it will shows the option if at least one feature is enabled. |
The
[Edit] wp-rocket/inc/Engine/Admin/Settings/AdminBarMenuTrait.php Lines 134 to 136 in 1f82fa0
lrc_factory in the serviceprovider class
|
@Miraeld Yes, that's correct |
@Miraeld I can see factories is being added, what we need to do will be to test this scenarios esp AC 3 to confirm everything is fine |
Yes, For AC 1 & 2, its already working like we want. Also, for all three scenarios, we need to implement tests to make sure it's working as expected. |
@jeawhanlee spot on. I think we're good on that. The data cleared as expected. Moving this to QA |
Video recording showing the filter activation and deactivation |
Context
We need to have filters to enable/disable both OCI and LRC features
Acceptance Criteria
The text was updated successfully, but these errors were encountered: