Skip to content

Commit

Permalink
Merge pull request #45 from gravityview/develop
Browse files Browse the repository at this point in the history
Fix plugin update issue
  • Loading branch information
zackkatz authored Jul 31, 2022
2 parents b966087 + 6a89e84 commit d7883d1
Show file tree
Hide file tree
Showing 5 changed files with 502 additions and 160 deletions.
4 changes: 2 additions & 2 deletions gravityview-az-filters-extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function __construct() {
$this->_text_domain = 'gravityview-az-filters';
$this->_path = __FILE__ ;
$this->_item_id = 266;
$this->plugin_file = __FILE__;
$this->plugin_file = GRAVITYVIEW_AZ_FILTER_FILE;
$this->plugin_version = GRAVITYVIEW_AZ_FILTER_VERSION;

parent::__construct();
Expand Down Expand Up @@ -97,4 +97,4 @@ function print_styles() {

} // A_Z_Entry_Filter_Extension

new A_Z_Entry_Filter_Extension;
new A_Z_Entry_Filter_Extension;
23 changes: 14 additions & 9 deletions gravityview-az-filters.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
<?php
/**
* Plugin Name: GravityView - A-Z Filters Extension
* Plugin URI: https://gravityview.co/extensions/a-z-filter/
* Plugin URI: https://www.gravitykit.com/extensions/a-z-filter/
* Description: Filter your entries by letters of the alphabet.
* Version: 1.3.1
* Author: GravityView
* Author URI: https://gravityview.co
* Author Email: hello@gravityview.co
* Version: 1.3.2
* Author: GravityKit
* Author URI: https://www.gravitykit.com
* Author Email: hello@gravitykit.com
* Requires at least: 4.4
* Tested up to: 5.9.2
* Tested up to: 6.0.1
* Text Domain: gravityview-az-filters
* Domain Path: languages
*/

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

/** @since 1.2 */
define( 'GRAVITYVIEW_AZ_FILTER_VERSION', '1.3.1' );
define( 'GRAVITYVIEW_AZ_FILTER_VERSION', '1.3.2' );

/** @since 1.3.2 */
define( 'GRAVITYVIEW_AZ_FILTER_FILE', __FILE__ );

add_action( 'plugins_loaded', 'gv_extension_az_entry_filtering_load' );

Expand All @@ -42,5 +45,7 @@ function gv_extension_az_entry_filtering_load() {
* @return void
*/
function gv_extension_az_entry_filtering_noload() {
echo esc_html( 'GravityView A-Z Filters Extension was not loaded. GravityView 2.0 core files not found!' );
}
echo '<div id="message" class="error"><p>';
printf( esc_html__( 'Could not activate the %s Extension; GravityView is not active.', 'gravityview-az-filters' ), 'A–Z Filters' );
echo '</p></div>';
}
Loading

0 comments on commit d7883d1

Please sign in to comment.