Skip to content

Commit 44c441f

Browse files
committed
Lower multisite option management capability requirements
1 parent f653b67 commit 44c441f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/UI/Settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static function run(): void
2727
public static function register(): void
2828
{
2929
if (is_multisite()) {
30-
add_submenu_page('settings.php', __('Iframely', 'iframely'), __('Iframely', 'iframely'), 'install_plugins', 'iframely', [self::class, 'render']);
30+
add_submenu_page('settings.php', __('Iframely', 'iframely'), __('Iframely', 'iframely'), 'manage_network_options', 'iframely', [self::class, 'render']);
3131
} else {
3232
add_options_page(__('Iframely', 'iframely'), __('Iframely', 'iframely'), 'manage_options', 'iframely', [self::class, 'render']);
3333
}

0 commit comments

Comments
 (0)