Skip to content
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

Blueprints: Re-activate single-file plugins when enabling a multisite #1435

Merged
merged 1 commit into from
May 20, 2024

Conversation

adamziel
Copy link
Collaborator

@adamziel adamziel commented May 20, 2024

What is this PR doing?

In Blueprints, enabling a multisite deactivates all the plugins and then re-activates them. There was a slight bug that prevented single-file plugins from being reactivated - only plugins living in subdirectories were. This PR solves it.

Testing Instructions

  1. Setup playground.test proxy with Laravel Valet as described in dev docs
  2. Go to https://playground.test/website-server/?multisite=yes&url=/wp-admin/plugins.php&plugin=hello-dolly
  3. Confirm the hello-dolly plugin is active

@adamziel adamziel added [Type] Bug An existing feature does not function as intended [Package][@wp-playground] Blueprints labels May 20, 2024
@adamziel adamziel merged commit 350a374 into trunk May 20, 2024
5 checks passed
@adamziel adamziel deleted the reactivate-file-plugins-when-enabling-multisite branch May 20, 2024 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package][@wp-playground] Blueprints [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant