From 16810d9d07eb04ae8939aee33b7dec4c5de37daf Mon Sep 17 00:00:00 2001 From: BAKKBONE Australia Date: Thu, 19 Oct 2023 12:53:52 +0800 Subject: [PATCH] fix syntax --- tags/3.2.2.1/src/admin-notices.php | 2 +- trunk/src/admin-notices.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tags/3.2.2.1/src/admin-notices.php b/tags/3.2.2.1/src/admin-notices.php index 6074891d..e218f065 100755 --- a/tags/3.2.2.1/src/admin-notices.php +++ b/tags/3.2.2.1/src/admin-notices.php @@ -20,7 +20,7 @@ function __construct(){ add_action("admin_notices", array($this, "installwoo")); } add_action('wp_dashboard_setup', array($this, 'dashwidgets')); - if(BKF_VERSION == "3.2.0" || BKF_VERSION == "3.2.1" || BKF_VERSION == "3.2.2" || BKF_VERSION "3.2.2.1"){ + if(BKF_VERSION == "3.2.0" || BKF_VERSION == "3.2.1" || BKF_VERSION == "3.2.2" || BKF_VERSION == "3.2.2.1"){ add_action("admin_notices", array($this, "upgrade_suburbs")); } add_action( 'admin_bar_menu', array($this, 'admin_bar_item'), 500 ); diff --git a/trunk/src/admin-notices.php b/trunk/src/admin-notices.php index 6074891d..e218f065 100755 --- a/trunk/src/admin-notices.php +++ b/trunk/src/admin-notices.php @@ -20,7 +20,7 @@ function __construct(){ add_action("admin_notices", array($this, "installwoo")); } add_action('wp_dashboard_setup', array($this, 'dashwidgets')); - if(BKF_VERSION == "3.2.0" || BKF_VERSION == "3.2.1" || BKF_VERSION == "3.2.2" || BKF_VERSION "3.2.2.1"){ + if(BKF_VERSION == "3.2.0" || BKF_VERSION == "3.2.1" || BKF_VERSION == "3.2.2" || BKF_VERSION == "3.2.2.1"){ add_action("admin_notices", array($this, "upgrade_suburbs")); } add_action( 'admin_bar_menu', array($this, 'admin_bar_item'), 500 );