*** Catalog Visibility Options Changelog ***
2015.04.05 - version 2.5.9
	* Update:  Adds a workaround to the taxonomy filter to resolve a bug in how wp_get_term_args handles include and exclude values. 
			This allows us to filter the categories which are shown in the product category shortcode. 
	
2015.03.8 - version 2.5.8
	* Update:  PHP tag cleanup. 
	* Update:  Added filter to category widget to filter out categories the user does not have access to. 
	
2015.02.20 - version 2.5.7
	* Feature: Adds option to use Geo Location lib to automatically select a users location. Default is Yes. 
	* Fix: Make sure the WC Session object is initialized before accessing it. 
	* Fix: Make sure the session is not accessed on WP_CRON jobs. 
	
2015.02.13 - version 2.5.6
	* Adds option to clear the cart when a user changes their location. 
	
2015.02.12 - version 2.5.5
	* Only check and set session variables on front end requests. 
	
2014.12.03 - version 2.5.4
	* Use compatibility class to load the woocommerce object in the query filters. 
	* Add very agressive session checks to ensure a session object is available before attempting to reterive the customer ID. 

2014.12.01 - version 2.5.3
	* Clear cached visibility options when a user registers. 
	* Added filter to allow modification of the redirect URL after a user selects a location. 
		* woocommerce_catalog_restrictions_redirect_on_location
			* $url : The url where the user will be redirected after choosing their location. 
	
2014.11.25 - version 2.5.2
	* Enhancement:  Added filter to allow filtering of the roles gathered for a user.  This filter is usually used to give both logged in users in a specific role
		or unauthenticated users the rights to see a specific product category.  
		* woocommerce_catalog_restrictions_get_roles_for_current_user($roles);
			* $roles:  array key, value set of roles used to determine which products can be viewed. 

2014.10.30 - version 2.5.1
	* Additional action added for Wishlist Compatibility 
	* Fixes warning in the installer of a missing file in WooCommerce 2.2x

2014.09.03 - version 2.5.0
	* WC 2.2 compatibility. 
	* Fix location selector loop by forcing WooCommerce to actually start a session when a session starts. 
	* Added new option which disables the selection of new location after first selection has been made.  
	  This is configurable on the Visibility Options settings page. 
	
2014.07.23 - version 2.4.7
	* Fix to prevent products with restrictions from effecting other products when viewed on archive pages. 
	
2014.05.22 - version 2.4.6
	* Fix to allow shortcodes with quoted attributes. 

2014.02.12 - version 2.4.5
	* CSS Tweaks for WC 2.1x

2014.02.11 - version 2.4.4
	* WC2.1 Compat, fix Call to undefined function wc_create_page()
	
2014.01.25 - version 2.4.3
	* Store user location selection in user meta, not just in session data. 
	* Added User Profile fields to allow selection of location. 
	* Added User Profile fields to allow administrators to enable or disable user's changing of location. 

2014.01.16 - version 2.4.2 
	* Fix incorrect check for WooCommerce 2.1 in installation script. 

2014.01.09 - version 2.4.1
	* Added compatibility with WooCommerce Wishlists.  Users can add items they can not purchase to a WishList. 

2014.01.05 - version 2.4.0
	* Added compatibility for WooCommerce 2.1x
	* Change location filter to be off by default. 

2013.10.29 - version 2.3.2
	* Update: Use generic get_price_html filter to allow better compatibility with some plugins. 
	
2013.08.28 - version 2.3.1
	* Fix: Do not save empty restrictions to the term meta table
	* Fix: DB update script to remove invalid restrictions from the term meta table on activation. 
	* Update: Clear filter transients on plugin update / activation. 

2013.07.26 - version 2.3.0
	* Update: Remove variable price HTML when users can not view prices. 

2013.07.11 - version 2.2.9
	* Update:  Text domain and minior loclization updates. 

2013.06.29 - version 2.2.8
	* Update: Compatibility with Bulk Variations

2013.06.23 - version 2.2.7
	* Update: Use WooCommerce Sessions for hosts that are not compatibile with starndard PHP sessions. 
	* Update: Moved location picker post handler to woocommerce_init to fire sooner. 
	* Fix: SQL query syntax update to prevent WPML SQL conflicts.
 
2013.06.06 - version 2.2.6
	*Update:  Product specific rules will now override the global settings.  

2013.06.03 - version 2.2.5
	*Update: Version number changes only.  

2013.05.25 - version 2.2.3
  * Fix: When both simple and advanced rules prevented purchases, the "View Product" button was displayed twice. 

2013.05.07 - version 2.2.2
  * Fix: Unable to remove alternate content in settings
  * Fix: AJAX add to cart

2013.04.22 - version 2.2.1
  * Update:  Set priority on filters to filter gravity forms and product add on options. 

2013.04.02 - version 2.2.0
 * Performance Tweaks

2013.03.12 - version 2.1.1
 * Tweak output buffering for compatibility with WP SEO
 * More updates to the way the logon form shortcode is handled, covering more situations now. 

2013.03.08 - version 2.1
 *Fixes javascript error with chosen select
 *Update to use before and after form filters so the entire form is filtered, not just the add to cart button.
    Allows use of logon form directly on product pages. 

2013.01.01 - version 2.0
 * Added Location Filters
 * Added options to completely remove products or product categories from the shop for specific roles
 * Added price visibility options for specific roles to products and product categories
 * Added purchase options for specific roles to products and product categories
 * Fixes for HTML in settings area

2012.12.04 - version 1.1.3
 * New updater

2012.11.09 - version 1.1.2
 * Don't strip html from content field

2012.04.02 - version 1.1.1
 * Allow variable products to display price, but hide cart

2012.03.02 - version 1.1
 *Added filter to allow theme developers to control when users should see prices and be able to make purchases.
    catalog_visibility_user_has_access
 *Added filters to allow theme developers to modify the alternate contents
    catalog_visibility_alternate_content
    catalog_visibility_alternate_price_html
    catalog_visibility_alternate_add_to_cart_link
    catalog_visibility_alternate_add_to_cart_button

2012.02.25 - version 1.0.1
 * Tweaked WC detection

2012.02.16 - version 1.0
 * First release
