Merge pull request #5690 from BFTrick/parenthesis
Adding Brackets Around if Statement
This commit is contained in:
commit
4187a2465a
|
@ -102,8 +102,9 @@ class WC_Admin {
|
||||||
*/
|
*/
|
||||||
public function preview_emails() {
|
public function preview_emails() {
|
||||||
if ( isset( $_GET['preview_woocommerce_mail'] ) ) {
|
if ( isset( $_GET['preview_woocommerce_mail'] ) ) {
|
||||||
if ( ! wp_verify_nonce( $_REQUEST['_wpnonce'], 'preview-mail') )
|
if ( ! wp_verify_nonce( $_REQUEST['_wpnonce'], 'preview-mail') ) {
|
||||||
die( 'Security check' );
|
die( 'Security check' );
|
||||||
|
}
|
||||||
|
|
||||||
global $email_heading;
|
global $email_heading;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue