|
@@ -126,8 +126,8 @@ |
|
126
|
126
|
return false; |
|
127
|
127
|
} |
|
128
|
128
|
|
|
129
|
129
|
return isset( $_POST['wp_coder_snippet'] ) && wp_verify_nonce( $_POST[ $nonce_name ], |
|
130
|
|
- $nonce_action ) && current_user_can( 'unfiltered_html' ); |
|
130
|
+ $nonce_action ) && WPCoder::user_can_manage(); |
|
131
|
131
|
} |
|
132
|
132
|
|
|
133
|
133
|
} |