From 5ec40b5f61085013c34a2420369625ff2c10a355 Mon Sep 17 00:00:00 2001 From: Michael Torbert Date: Sun, 19 Jun 2016 17:40:12 -0400 Subject: [PATCH] remove duplicated condition in performance class --- modules/aioseop_performance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aioseop_performance.php b/modules/aioseop_performance.php index 49f889bde..8ed0a1f34 100644 --- a/modules/aioseop_performance.php +++ b/modules/aioseop_performance.php @@ -299,7 +299,7 @@ function get_serverinfo() { echo "
" . __( 'Form submission error: verification check failed.', 'all-in-one-seo-pack' ) . '
'; break; } - if ( ! empty( $_REQUEST['sfwd_update_check'] ) && $_REQUEST['sfwd_update_check'] ) { + if ( $_REQUEST['sfwd_update_check'] ) { global $aioseop_update_checker; $aioseop_update_checker->checkForUpdates(); echo "
" . sprintf( __( '%s has checked for updates.', 'all-in-one-seo-pack' ), AIOSEOP_PLUGIN_NAME ) . '
';