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

WIP: Add multisite support for admin page #94

Closed
wants to merge 1 commit into from

Conversation

vishalkakadiya
Copy link

Adds multisite support for admin page

Closes #64

@vishalkakadiya vishalkakadiya linked an issue Feb 28, 2023 that may be closed by this pull request
@vishalkakadiya vishalkakadiya changed the title Add multisite support for admin page WIP: Add multisite support for admin page Feb 28, 2023
@vishalkakadiya vishalkakadiya marked this pull request as draft February 28, 2023 15:57
'settings.php',
__( 'Plugin Check', 'plugin-check' ),
__( 'Plugin Check', 'plugin-check' ),
'activate_plugins',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'activate_plugins',
'manage_network_plugins',

manage_network_plugins

Base automatically changed from feature/add-ajax-check-trigger to trunk March 13, 2023 17:57
$hook = add_management_page(
__( 'Plugin Check', 'plugin-check' ),
__( 'Plugin Check', 'plugin-check' ),
'activate_plugins',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'activate_plugins',
'manage_network_plugins',

@spacedmonkey
Copy link
Member

I would look into this line as well
https://github.com/10up/plugin-check/blob/08df399884b13ecefde47a896892f6a29f200845/includes/Admin/Admin_Page.php#L147
and maybe also check for can activate network plugins.

@spacedmonkey
Copy link
Member

Screenshot 2023-03-17 at 11 48 06

Should this button be styled?

@spacedmonkey
Copy link
Member

I would consider adding a property to the class to stop repeated code. See spacedmonkey@f4d2244

@swissspidy
Copy link
Member

Closing this one for now as it's stale and has conflicts. It can be reopened / forked when the issue gets picked up again.

@swissspidy swissspidy closed this Jul 3, 2024
@swissspidy swissspidy deleted the feature/add-network-admin-tool-page branch July 3, 2024 07: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.

3 participants