We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dfe2f3 commit a1b8cd0Copy full SHA for a1b8cd0
postmark.php
@@ -75,7 +75,7 @@ function send_test_email() {
75
}
76
77
// We check that the current user is allowed to update settings.
78
- if ( ! current_user_can('manage_options') ) {
+ if ( ( is_multisite() && ! current_user_can('manage_network_options') ) || ! current_user_can('manage_options') ) {
79
wp_die(__('Cheatin’ uh?'));
80
81
@@ -140,7 +140,7 @@ function save_settings() {
140
141
142
143
144
145
146
0 commit comments