| @@ -173,9 +173,9 @@ | ||
| 173 | 173 | |
| 174 | 174 | $name = WPCoder::PREFIX . '_list_action'; |
| 175 | 175 | $nonce_action = WPCoder::PREFIX . '_nonce'; |
| 176 | 176 | |
| 177 | - if( ! isset( $_POST[ $name ] ) || ! wp_verify_nonce( $_POST[ $name ], $nonce_action ) || ! current_user_can( 'unfiltered_html' ) ) { | |
| 177 | + if( ! isset( $_POST[ $name ] ) || ! wp_verify_nonce( $_POST[ $name ], $nonce_action ) || ! WPCoder::user_can_manage() ) { | |
| 178 | 178 | return false; |
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | $ids = isset( $_POST['ID'] ) ? ( map_deep( $_POST['ID'], 'absint' ) ) : false; |