Gallery – Photo Gallery – Image Gallery - Version 2.2.2

Version Description

Download this release

Release Info

Developer giucu91
Plugin Icon wp plugin Gallery – Photo Gallery – Image Gallery
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

Modula.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wp-modula.com/
5
  * Description: Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
6
  * Author: MachoThemes
7
- * Version: 2.2.1
8
  * Author URI: https://www.machothemes.com/
9
  * License: GPLv3 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -43,7 +43,7 @@
43
  *
44
  * @since 2.0.2
45
  */
46
- define( 'MODULA_LITE_VERSION', '2.2.1' );
47
  define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
48
  define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
49
  defined( 'MODULA_PRO_STORE_URL' ) || define( 'MODULA_PRO_STORE_URL', 'https://wp-modula.com' );
4
  * Plugin URI: https://wp-modula.com/
5
  * Description: Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
6
  * Author: MachoThemes
7
+ * Version: 2.2.2
8
  * Author URI: https://www.machothemes.com/
9
  * License: GPLv3 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
43
  *
44
  * @since 2.0.2
45
  */
46
+ define( 'MODULA_LITE_VERSION', '2.2.2' );
47
  define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
48
  define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
49
  defined( 'MODULA_PRO_STORE_URL' ) || define( 'MODULA_PRO_STORE_URL', 'https://wp-modula.com' );
README.txt CHANGED
@@ -4,7 +4,7 @@ Tags: best gallery plugin, image gallery, photo gallery, responsive gallery, wor
4
  Requires at least: 4.6
5
  Tested up to: 5.3
6
  Requires PHP: 5.6
7
- Stable tag: 2.2.1
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
4
  Requires at least: 4.6
5
  Tested up to: 5.3
6
  Requires PHP: 5.6
7
+ Stable tag: 2.2.2
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 2.2.1 - 31.12.2019 =
2
  Fixed Gutenberg block
3
 
1
+ = 2.2.2 - 31.12.2019 =
2
+ Fixed rate pop-up
3
+
4
  = 2.2.1 - 31.12.2019 =
5
  Fixed Gutenberg block
6
 
includes/libraries/class-modula-review.php CHANGED
@@ -95,7 +95,7 @@ class Modula_Review {
95
 
96
  if ( 'epsilon-rate' == $_POST['check'] ) {
97
  $time = time() + YEAR_IN_SECONDS * 5;
98
- }elseif ( 'epsilon-rate' == $_POST['check'] ) {
99
  $time = time() + WEEK_IN_SECONDS;
100
  }elseif ( 'epsilon-no-rate' == $_POST['check'] ) {
101
  $time = time() + YEAR_IN_SECONDS * 5;
@@ -123,7 +123,9 @@ class Modula_Review {
123
  var href = $(this).attr('href'),
124
  id = $(this).attr('id');
125
 
126
- // evt.preventDefault();
 
 
127
 
128
  var data = {
129
  action: 'epsilon_review',
95
 
96
  if ( 'epsilon-rate' == $_POST['check'] ) {
97
  $time = time() + YEAR_IN_SECONDS * 5;
98
+ }elseif ( 'epsilon-later' == $_POST['check'] ) {
99
  $time = time() + WEEK_IN_SECONDS;
100
  }elseif ( 'epsilon-no-rate' == $_POST['check'] ) {
101
  $time = time() + YEAR_IN_SECONDS * 5;
123
  var href = $(this).attr('href'),
124
  id = $(this).attr('id');
125
 
126
+ if ( 'epsilon-rate' != id ) {
127
+ evt.preventDefault();
128
+ }
129
 
130
  var data = {
131
  action: 'epsilon_review',