Can just call the wordpress function instead of apply_filter.
* Plugin Name: GLM Associate - Members Plugin
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media GLM Associate core plugin and Members database.
- * Version: 2.11.1
+ * Version: 2.11.2
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabase
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 2.11.1
+ * @version 2.11.2
*/
$GLOBALS['glmAssociateMemTracker'] = memory_get_usage();
*
*/
-define('GLM_MEMBERS_PLUGIN_VERSION', '2.11.1');
+define('GLM_MEMBERS_PLUGIN_VERSION', '2.11.2');
define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.46');
// Check if plugin version is not current in WordPress option and if needed updated it
(none)
== Changelog ==
+= 2.11.1 - 2 =
+* Bug fixes in the smarty templates.
+
= 2.11.0 =
* Now locking out other processes from database update on an Add-On when one process is doing the update.
* Added parameter to glmMembersConfigArraySetup() in glmPluginSupport.php to use names for resulting array if needed.
{/if} {* haveFeaturedMembers *}
+ {$isSearchPage = is_page('search')}
+
{if $showSettings.list_show_list && !$blankStart}
{if $settings.list_header_text}
<h3 class="glm-member-db-list-header-title">{$settings.list_header_text}</h3>
- {elseif apply_filters('is_page', 'search')}
+ {elseif $isSearchPage}
<h1 class="glm-member-db-list-header-title member-search-page-title">List of {$terms.term_member_plur_cap}</h1>
{else}
<h3 class="glm-member-db-list-header-title">List of {$terms.term_member_plur_cap}</h3>
{* Alpha List *}
- {if $showSettings.list_show_search_alpha && !apply_filters("is_page", 'search')}
+ {if $showSettings.list_show_search_alpha && !$isSearchPage}
<div class="glm-alpha-links">
<a href="{$thisUrl}?glm_action=list&textSearch={$textSearch}{if isset($smarty.request.s) && $smarty.request.s}&s={$smarty.request.s|escape}{/if}&categorySearch={$catSearchSelected}®ionSearch={$regionSearchSelected}#glm-member-list-filters-button" class="glm-alpha-link{if !$alphaSelected} glm-alpha-link-selected{/if}">All</a>
{foreach $alphaList as $a}