Gallery – Photo Gallery – Image Gallery - Version 1.3.7

Version Description

  • fixed dismiss button from beta testing notice.
Download this release

Release Info

Developer machothemes
Plugin Icon wp plugin Gallery – Photo Gallery – Image Gallery
Version 1.3.7
Comparing to
See all releases

Code changes from version 1.3.6 to 1.3.7

Files changed (2) hide show
  1. Modula.php +23 -3
  2. README.txt +4 -1
Modula.php CHANGED
@@ -5,14 +5,14 @@
5
* Description: Modula is one of the best & most creative WordPress gallery plugins. Use it to create a great grid or
6
* masonry image gallery.
7
* Author: Macho Themes
8
- * Version: 1.3.6
9
* Author URI: https://www.machothemes.com/
10
*/
11
12
define( 'MODULA_PLUGIN_DIR_PATH', plugin_dir_path( __FILE__ ) );
13
define( 'MODULA_PLUGIN_DIR_URL', plugin_dir_url( __FILE__ ) );
14
15
- define( 'MODULA_VERSION', '1.3.6' );
16
define( 'MODULA_PLUGIN_BASE', plugin_basename( __FILE__ ) );
17
define( 'MODULA_PREVIOUS_PLUGIN_VERSION', '1.3.3' );
18
define( 'MODULA_FILE_', __FILE__ );
@@ -1362,14 +1362,34 @@ function modula_beta_notices() {
1362
margin-left: 15px;
1363
}
1364
</style>
1365
- <div id="modula-beta-testing" class="notice notice-success is-dismissible">
1366
<h3>Try Modula 2.0 !!</h3>
1367
<p>We’ve been working on an awesome update to Modula over the last few months and can’t wait to release it to the public. But, before that can happen, we need the help of amazing users in the WordPress community (just like you) to improve Modula 2.0’s first beta.</p>
1368
<p class="actions">
1369
<a id="modula-beta-testing-dwn" href="https://machothemes.com/downloads/modula-2.0.0.zip" target="_blank" class="button button-primary modula-beta-testing-button"><?php echo __( 'Download Modula 2.0 Beta', 'modula-gallery' ); ?></a>
1370
<a id="modula-beta-testing-info" href="<?php echo admin_url( 'admin.php?page=modula-lite-gallery-v2' ) ?>" target="_blank" class="modula-beta-testing-button"><?php echo __( 'Find more', 'modula-gallery' ); ?></a>
1371
</p>
1372
</div>
1373
<?php
1374
}
1375
5
* Description: Modula is one of the best & most creative WordPress gallery plugins. Use it to create a great grid or
6
* masonry image gallery.
7
* Author: Macho Themes
8
+ * Version: 1.3.7
9
* Author URI: https://www.machothemes.com/
10
*/
11
12
define( 'MODULA_PLUGIN_DIR_PATH', plugin_dir_path( __FILE__ ) );
13
define( 'MODULA_PLUGIN_DIR_URL', plugin_dir_url( __FILE__ ) );
14
15
+ define( 'MODULA_VERSION', '1.3.7' );
16
define( 'MODULA_PLUGIN_BASE', plugin_basename( __FILE__ ) );
17
define( 'MODULA_PREVIOUS_PLUGIN_VERSION', '1.3.3' );
18
define( 'MODULA_FILE_', __FILE__ );
1362
margin-left: 15px;
1363
}
1364
</style>
1365
+ <div id="modula-beta-testing" class="notice notice-success" style="position:relative;">
1366
<h3>Try Modula 2.0 !!</h3>
1367
<p>We’ve been working on an awesome update to Modula over the last few months and can’t wait to release it to the public. But, before that can happen, we need the help of amazing users in the WordPress community (just like you) to improve Modula 2.0’s first beta.</p>
1368
<p class="actions">
1369
<a id="modula-beta-testing-dwn" href="https://machothemes.com/downloads/modula-2.0.0.zip" target="_blank" class="button button-primary modula-beta-testing-button"><?php echo __( 'Download Modula 2.0 Beta', 'modula-gallery' ); ?></a>
1370
<a id="modula-beta-testing-info" href="<?php echo admin_url( 'admin.php?page=modula-lite-gallery-v2' ) ?>" target="_blank" class="modula-beta-testing-button"><?php echo __( 'Find more', 'modula-gallery' ); ?></a>
1371
</p>
1372
+ <button type="button" class="notice-dismiss" style="cursoir:pointer;"><span class="screen-reader-text">Dismiss this notice.</span></button>
1373
</div>
1374
+ <script>
1375
+ jQuery(document).ready(function(){
1376
+ jQuery( '#modula-beta-testing .notice-dismiss' ).click(function( evt ){
1377
+ evt.preventDefault();
1378
+ var ajaxData = {
1379
+ 'action' : 'modula_beta_testing',
1380
+ 'security' : '<?php echo wp_create_nonce( 'modula-beta-testing' ) ?>'
1381
+ }
1382
+ jQuery.ajax({
1383
+ url: "<?php echo admin_url('admin-ajax.php'); ?>",
1384
+ method: "POST",
1385
+ data: ajaxData,
1386
+ dataType: "html"
1387
+ }).done(function(){
1388
+ jQuery("#modula-beta-testing").hide();
1389
+ });
1390
+ });
1391
+ })
1392
+ </script>
1393
<?php
1394
}
1395
README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: machothemes, silkalns
3
Tags: best gallery plugin, image gallery, photo gallery, responsive gallery, wordpress gallery plugin, wordpress portfolio plugin, masonry gallery, fancy gallery, media gallery, mosaic gallery, polaroid gallery, portfolio gallery
4
Requires at least: 3.8
5
Tested up to: 4.9
6
- Stable tag: 1.3.6
7
License: GPLv3 or later
8
License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
@@ -173,6 +173,9 @@ Free support is included only with a PRO license: [Buy Modula PRO](https://wp-mo
173
174
== Changelog ==
175
176
= 1.3.6 =
177
* removed custom js field.
178
3
Tags: best gallery plugin, image gallery, photo gallery, responsive gallery, wordpress gallery plugin, wordpress portfolio plugin, masonry gallery, fancy gallery, media gallery, mosaic gallery, polaroid gallery, portfolio gallery
4
Requires at least: 3.8
5
Tested up to: 4.9
6
+ Stable tag: 1.3.7
7
License: GPLv3 or later
8
License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
173
174
== Changelog ==
175
176
+ = 1.3.7 =
177
+ * fixed dismiss button from beta testing notice.
178
+
179
= 1.3.6 =
180
* removed custom js field.
181