From a1f612d1a4ee4f2443f5a9ffd1dfa49c8edac404 Mon Sep 17 00:00:00 2001 From: Paul Schreiber Date: Mon, 22 Jun 2015 17:36:28 -0400 Subject: [PATCH] fix PHPCS errors (yoda condition, xss) --- mathjax-latex-admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mathjax-latex-admin.php b/mathjax-latex-admin.php index 375bbaf..32373ee 100644 --- a/mathjax-latex-admin.php +++ b/mathjax-latex-admin.php @@ -50,7 +50,7 @@ function admin_page_init() { function plugin_options_menu() { if ( ! current_user_can( 'manage_options' ) ) { - wp_die( __( 'You do not have sufficient permissions to access this page.' ) ); + wp_die( __( 'You do not have sufficient permissions to access this page.' ) ); //xss ok } $this->table_head(); @@ -126,7 +126,7 @@ function plugin_options_menu() { $select_string = "