* Plugin Name: GLM Associate - OpenSearchServer Add-On
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 2.0.3
+ * Version: 2.0.4
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabaseSearchAddOn
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 2.0.3
+ * @version 2.0.4
*/
// Check that we're being called by WordPress.
* so that we're sure the other add-ons see an up to date
* version from this plugin.
*/
-define('GLM_MEMBERS_SEARCH_PLUGIN_VERSION', '2.0.3');
+define('GLM_MEMBERS_SEARCH_PLUGIN_VERSION', '2.0.4');
+/**
+ * Db Version
+ */
define('GLM_MEMBERS_SEARCH_PLUGIN_DB_VERSION', '0.0.5');
// This is the minimum version of the GLM Members DB plugin require for this plugin.
The Gaslight Media Members Database Search Child Plugin is an add-on to the Gaslight Media Members Database,
which is required to install and run this plugin.
-This plugin provides a shortcode that can display a search form and search results on a page. You can also
+This plugin provides a shortcode that can display a search form and search results on a page. You can also
create a custom form anywhere on the site provided that the form action targets a search page that includes
the [glm-members-search] shortcode and includes the following submit parameters.
== Installation ==
-Use normal Wordpress plugin installation proceedures.
+Use normal Wordpress plugin installation proceedures.
e.g.
1. Activate the plugin through the 'Plugins' menu in WordPress
== Changelog ==
+= 2.0.3 =
+* Only update OSS crawler when Post or Pages are updated. No other post_types.
+
= 2.0.2 =
* Updated create database script to correct version.
so a search will return the updated results without having to wait for a re-crawl of the site.
* Updated filters for indexing or removing a URL
-The glm_member_db_common_search_indexurl and glm_member_db_common_search_removeurl filters have been
+The glm_member_db_common_search_indexurl and glm_member_db_common_search_removeurl filters have been
enhanced so that search results are immediately affected.
* Requires Open Search Server v1.5 or later
-This release has been tested with OpenSearchServer v1.5.14 and may not function properly with earlier versions.
+This release has been tested with OpenSearchServer v1.5.14 and may not function properly with earlier versions.
= 1.2.2 =
global $config;
- if ( $post_after->post_type == 'nav_menu_item' ) {
+ $type = $post_after->post_type;
+
+ if ( !in_array( $type, array( 'page', 'post' ) ) ) {
+ if ( GLM_MEMBERS_PLUGIN_ADMIN_DEBUG ) {
+ trigger_error( 'OSS Abort', E_USER_NOTICE );
+ }
return false;
}