* Plugin Name: GLM Members Database
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 2.1.26
+ * Version: 2.1.27
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
*
*/
-define('GLM_MEMBERS_PLUGIN_VERSION', '2.1.26');
+define('GLM_MEMBERS_PLUGIN_VERSION', '2.1.27');
define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.11');
// Check if plugin version is not current in WordPress option and if needed updated it
global $wpdb;
$GLOBALS['glmMembName'] = $wpdb->get_var( "SELECT name FROM ".GLM_MEMBERS_PLUGIN_DB_PREFIX . "members WHERE member_slug = '".$GLOBALS['glmDetailSlug']."'" );
- // Set the page title to the member name
- add_filter('wp_title', function() {
+ // Set the page title to the member name - Using low priority so it's the last to set the title!
+ add_filter('wp_title', function($title) {
return $GLOBALS['glmMembName'];
- });
+ }, 99, 1);
}
// Add memberslug query var