Version Description
- Fix: Made lightbox strings translatable for close, previous and next
Download this release
Release Info
Developer | n7studios |
Plugin | Photo Gallery by Envira – Responsive Image Gallery for WordPress |
Version | 1.3.4.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.4.1 to 1.3.4.2
- envira-gallery-lite.php +2 -2
- includes/global/shortcode.php +7 -1
- readme.txt +3 -0
envira-gallery-lite.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Envira Gallery is best responsive WordPress gallery plugin. This is the lite version.
|
6 |
* Author: Thomas Griffin
|
7 |
* Author URI: http://thomasgriffinmedia.com
|
8 |
-
* Version: 1.3.4.
|
9 |
* Text Domain: envira-gallery
|
10 |
* Domain Path: languages
|
11 |
*
|
@@ -54,7 +54,7 @@ class Envira_Gallery_Lite {
|
|
54 |
*
|
55 |
* @var string
|
56 |
*/
|
57 |
-
public $version = '1.3.4.
|
58 |
|
59 |
/**
|
60 |
* The name of the plugin.
|
5 |
* Description: Envira Gallery is best responsive WordPress gallery plugin. This is the lite version.
|
6 |
* Author: Thomas Griffin
|
7 |
* Author URI: http://thomasgriffinmedia.com
|
8 |
+
* Version: 1.3.4.2
|
9 |
* Text Domain: envira-gallery
|
10 |
* Domain Path: languages
|
11 |
*
|
54 |
*
|
55 |
* @var string
|
56 |
*/
|
57 |
+
public $version = '1.3.4.2';
|
58 |
|
59 |
/**
|
60 |
* The name of the plugin.
|
includes/global/shortcode.php
CHANGED
@@ -297,7 +297,13 @@ class Envira_Gallery_Shortcode_Lite {
|
|
297 |
$('.envira-gallery-<?php echo $data['id']; ?>').envirabox({
|
298 |
<?php do_action( 'envira_gallery_api_config', $data ); ?>
|
299 |
cyclic: true,
|
300 |
-
centerOnScroll: true,
|
|
|
|
|
|
|
|
|
|
|
|
|
301 |
<?php do_action( 'envira_gallery_api_config_callback', $data ); ?>
|
302 |
onStart: function(data, index, opts){
|
303 |
$(window).on({
|
297 |
$('.envira-gallery-<?php echo $data['id']; ?>').envirabox({
|
298 |
<?php do_action( 'envira_gallery_api_config', $data ); ?>
|
299 |
cyclic: true,
|
300 |
+
centerOnScroll: true,
|
301 |
+
tpl: {
|
302 |
+
error : '<p class="envirabox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',
|
303 |
+
closeBtn : '<a title="<?php _e( 'Close', 'envira-gallery' ); ?>" class="envirabox-item envirabox-close" href="javascript:;"></a>',
|
304 |
+
next : '<a title="<?php _e( 'Next', 'envira-gallery' ); ?>" class="envirabox-nav envirabox-next" href="javascript:;"><span></span></a>',
|
305 |
+
prev : '<a title="<?php _e( 'Previous', 'envira-gallery' ); ?>" class="envirabox-nav envirabox-prev" href="javascript:;"><span></span></a>'
|
306 |
+
},
|
307 |
<?php do_action( 'envira_gallery_api_config_callback', $data ); ?>
|
308 |
onStart: function(data, index, opts){
|
309 |
$(window).on({
|
readme.txt
CHANGED
@@ -57,6 +57,9 @@ Also, I'm an <a href="https://thomasgriffin.io" rel="me" title="WordPress Develo
|
|
57 |
|
58 |
== Changelog ==
|
59 |
|
|
|
|
|
|
|
60 |
= 1.3.4.1 =
|
61 |
* Fix: 4.3 compatibility for modal close icon
|
62 |
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
+
= 1.3.4.2 =
|
61 |
+
* Fix: Made lightbox strings translatable for close, previous and next
|
62 |
+
|
63 |
= 1.3.4.1 =
|
64 |
* Fix: 4.3 compatibility for modal close icon
|
65 |
|