WordPress / plugin-check

A repository for the new Plugin Check plugin from the WordPress Performance and Plugins Team.
https://wordpress.org/plugins/plugin-check/
GNU General Public License v2.0
265 stars 54 forks source link

Add multisite support for admin page #64

Open felixarntz opened 1 year ago

felixarntz commented 1 year ago

Is your enhancement related to a problem? Please describe.

The admin screen from #32 and the plugin action link from #36 are not fully working in multisite yet, or rather, they are limited to the individual site's WP Admin UI. We should expand that so that the same admin screen works in the Network Admin UI as well.

This is particularly critical, since on some multisite configurations regular administrators are not allowed to control plugins.

Acceptance Criteria

Test Coverage

felixarntz commented 1 year ago

@jjgrainger Opened this additional issue for the future, with ACs to review.

eclarke1 commented 1 year ago

Would it be possible to please assign an estimate to this one @jjgrainger ?

vishalkakadiya commented 1 year ago

@felixarntz @joemcgill @jjgrainger I have raised PR for this task here. Thanks!

felixarntz commented 1 year ago

@vishalkakadiya @jjgrainger @eclarke1 Apologies for just spotting now that this is in milestone 1. I'm not sure that's a good idea because adding multisite support will entail more than this (e.g. making the AJAX requests correctly), and some of those other things will be more complicated. So if we only implement this issue, we would have a broken multisite support, which is probably worse than no multisite support at all.

I think we should focus on this only after we have a first working version and the repo is in the WordPress organization.

eclarke1 commented 1 year ago

Thanks @felixarntz I have removed Milestone 1 and added Milestone 2, presumably this can sit in CR until such a time it's needed. Or do you think it may need additional work, and therefore should be moved back to AC?

felixarntz commented 1 year ago

@eclarke1 I think it can remain in CR, it's just that we will need to work on additional issues to get full multisite support, and those need to be explored and defined eventually. Maybe we can eventually work on it in a feature branch.

vishalkakadiya commented 1 year ago

I have updated the PR status from open to draft so we don't merge it accidentally. 🙂

vishalkakadiya commented 1 year ago

I'm assigning this to @jjgrainger, so he can continue on this once we unblock. Thanks!

davidperezgar commented 1 month ago

Hey, I've recored this issue to continue the development from last time.