Skip to content

Commit cc21383

Browse files
committed
Only allow super admin on multisites
Fixes #57
1 parent cf94cc7 commit cc21383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rt-plugin-report.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function register_settings_page() {
7070
add_plugins_page(
7171
esc_html_x( 'Plugin Report', 'Page and menu title', 'plugin-report' ),
7272
esc_html_x( 'Plugin Report', 'Page and menu title', 'plugin-report' ),
73-
'manage_options',
73+
is_multisite() ? 'manage_sites' : 'manage_options',
7474
'plugin_report',
7575
array( $this, 'settings_page' )
7676
);

0 commit comments

Comments
 (0)