*/
function miproduct_save_meta() {
global $post;
- if ( ! wp_verify_nonce( $_POST['miproductmeta-meta-noncename'], 'miproductmeta-meta-noncename' ) ) {
+ if ( !wp_verify_nonce( $_POST['miproductmeta-meta-noncename'], 'miproductmeta-meta-noncename' ) ) {
return $post->ID;
}
- if ( ! current_user_can( 'edit_post', $post->ID ) ) {
+ if ( !current_user_can( 'edit_post', $post->ID ) ) {
return $post->ID;
}
$features = filter_var( $_POST['miproduct_features'], FILTER_SANITIZE_STRING );