Skip to content

Commit c6a189f

Browse files
committed
Render methods tested
1 parent 6feb1c6 commit c6a189f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

includes/MslsMain.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,7 @@ public function is_autosave( $post_id ) {
123123
* @return boolean
124124
*/
125125
public function verify_nonce() {
126-
return (
127-
MslsRequest::has_var( MslsFields::FIELD_MSLS_NONCENAME ) &&
128-
wp_verify_nonce( MslsRequest::get_var( MslsFields::FIELD_MSLS_NONCENAME ), MslsPlugin::path() )
129-
);
126+
return MslsRequest::has_var( MslsFields::FIELD_MSLS_NONCENAME ) && wp_verify_nonce( MslsRequest::get_var( MslsFields::FIELD_MSLS_NONCENAME ), MslsPlugin::path() );
130127
}
131128

132129
/**

0 commit comments

Comments
 (0)