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

Don’t render the plugin update notices on VIP as they’re duplicated #172

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

darylldoyle
Copy link
Contributor

Description of the Change

VIP have their own plugin update notification notifications, see: https://github.com/Automattic/vip-go-mu-plugins/blob/develop/codebase-manager/plugins/plugins-manager.php#L65-L77

As they run theirs on the same hook as us, it results in duplicate notices being shown. As such, we should bail early from our logic and use theirs.

Before

image

After

image

Closes #160

How to test the Change

Ensure that update notices are only shown once on VIP sites.

Changelog Entry

  • Fixed - Issue with duplicate update notices in VIP.

Credits

Props @darylldoyle

Checklist:

@darylldoyle darylldoyle self-assigned this Dec 17, 2024
@darylldoyle darylldoyle requested a review from tlovett1 December 17, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When deployed on WordPress VIP, duplicate plugin update messages are visible in the network admin
2 participants