From 2042f0bcb9fc11831283f637de9b439fc0c84827 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Mon, 8 Aug 2016 12:28:25 -0400 Subject: [PATCH] Fixed errant isarray (should be is_array) in admin controller. --- controllers/admin.php | 2 +- index.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/controllers/admin.php b/controllers/admin.php index 018948df..69b04bfa 100644 --- a/controllers/admin.php +++ b/controllers/admin.php @@ -285,7 +285,7 @@ class glmMembersAdmin extends GlmPluginSupport $results = $model->modelAction(); // If no results array were passed back (no need for template output), die here - if (!isarray($results)) { + if (!is_array($results)) { wp_die(); } diff --git a/index.php b/index.php index dfb5344f..9d0118d0 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 2.4.0 + * Version: 2.4.1 * Author: Gaslight Media * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmMembersDatabase * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 2.4.0 + * @version 2.4.1 */ /* @@ -38,7 +38,7 @@ * */ -define('GLM_MEMBERS_PLUGIN_VERSION', '2.4.0'); +define('GLM_MEMBERS_PLUGIN_VERSION', '2.4.1'); define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.13'); // Check if plugin version is not current in WordPress option and if needed updated it -- 2.17.1