Skip to content

Commit

Permalink
Fix jQuery dependency; Set version to 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbcode committed Jun 12, 2022
1 parent 12118a0 commit 800d521
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion includes/class-rotaract-club-finder.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function __construct() {
if ( defined( 'ROTARACT_CLUB_FINDER_VERSION' ) ) {
$this->version = ROTARACT_CLUB_FINDER_VERSION;
} else {
$this->version = '2.1.0';
$this->version = '2.1.1';
}
$this->plugin_name = 'rotaract-club-finder';

Expand Down
2 changes: 1 addition & 1 deletion public/class-rotaract-club-finder-public.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function club_finder_shortcode(): string {
return '';
}

wp_enqueue_script( $this->rotaract_club_finder, plugins_url( 'js/public.js', __FILE__ ), array(), $this->version, false );
wp_enqueue_script( $this->rotaract_club_finder, plugins_url( 'js/public.js', __FILE__ ), array( 'jquery' ), $this->version, false );
wp_localize_script(
$this->rotaract_club_finder,
'scriptData',
Expand Down
4 changes: 2 additions & 2 deletions rotaract-club-finder.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Plugin Name: Rotaract Club Finder
* Plugin URI: https://github.com/rotaract/rotaract-club-finder
* Description: Plugin for Google store locator integration with advanced search.
* Version: 2.1.0
* Version: 2.1.1
* Author: Ressort IT-Entwicklung - Rotaract Deutschland
* Author URI: https://rotaract.de/ueber-rotaract/rdk/
* License: EUPL-1.2
Expand All @@ -35,7 +35,7 @@
* Start at version 1.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define( 'ROTARACT_CLUB_FINDER_VERSION', '2.1.0' );
define( 'ROTARACT_CLUB_FINDER_VERSION', '2.1.1' );

/**
* The core plugin class that is used to define internationalization,
Expand Down

0 comments on commit 800d521

Please sign in to comment.