10up/10up-experience

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

Opened this issue · 0 comments

Describe the bug

On the network plugin screen, 2 update messages appear for plugins which have an update available.

From VIP Support

We have potentially identified the source of the duplication. We do not rely on core's notice since users cannot update plugins from the plugin dashboard but we add the notification manually here:

https://github.com/Automattic/vip-go-mu-plugins/blob/develop/codebase-manager/plugins/plugins-manager.php#L17

And at the same time it seems like 10up is doing the same here:
https://github.com/wpcomvip/gus-wp/blob/trunk-built/plugins/10up-experience/includes/classes/Plugins/Plugins.php#L181

Steps to Reproduce

n/a

Screenshots, screen recording, code snippet

Screenshot 2024-04-18 at 09 01 21

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct