Version Description
- Fixed bug with HTML being output on image hover for title attribute.
- Fixed bug with internal link dialog being shown below the edit metadata modal window.
Download this release
Release Info
Developer | griffinjt |
Plugin | Photo Gallery by Envira – Responsive Image Gallery for WordPress |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.9.1 to 1.1.0
- assets/js/metabox.js +6 -0
- envira-gallery-lite.php +2 -2
- includes/global/shortcode.php +2 -2
- readme.txt +5 -1
assets/js/metabox.js
CHANGED
@@ -306,12 +306,18 @@
|
|
306 |
e.preventDefault();
|
307 |
$('#' + formfield).appendTo('#' + attach_id).hide();
|
308 |
envira_main_frame = false;
|
|
|
309 |
};
|
310 |
$(document).on('click.enviraIframe', '.media-modal-close, .media-modal-backdrop', append_and_hide);
|
311 |
$(document).on('keydown.enviraIframe', function(e){
|
312 |
if ( 27 == e.keyCode && envira_main_frame )
|
313 |
append_and_hide(e);
|
314 |
});
|
|
|
|
|
|
|
|
|
|
|
315 |
});
|
316 |
|
317 |
// Save the gallery metadata.
|
306 |
e.preventDefault();
|
307 |
$('#' + formfield).appendTo('#' + attach_id).hide();
|
308 |
envira_main_frame = false;
|
309 |
+
$(document).off('click.enviraLink');
|
310 |
};
|
311 |
$(document).on('click.enviraIframe', '.media-modal-close, .media-modal-backdrop', append_and_hide);
|
312 |
$(document).on('keydown.enviraIframe', function(e){
|
313 |
if ( 27 == e.keyCode && envira_main_frame )
|
314 |
append_and_hide(e);
|
315 |
});
|
316 |
+
$(document).on('click.enviraLink', '.ed_button', function(){
|
317 |
+
// Set custom z-index for link dialog box.
|
318 |
+
$('#wp-link-backdrop').css('zIndex', '170100');
|
319 |
+
$('#wp-link-wrap').css('zIndex', '171005' );
|
320 |
+
});
|
321 |
});
|
322 |
|
323 |
// Save the gallery metadata.
|
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.0
|
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.0
|
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.1.0
|
9 |
* Text Domain: envira-gallery
|
10 |
* Domain Path: languages
|
11 |
*
|
54 |
*
|
55 |
* @var string
|
56 |
*/
|
57 |
+
public $version = '1.1.0';
|
58 |
|
59 |
/**
|
60 |
* The name of the plugin.
|
includes/global/shortcode.php
CHANGED
@@ -164,11 +164,11 @@ class Envira_Gallery_Shortcode_Lite {
|
|
164 |
|
165 |
if ( ! empty( $item['link'] ) ) {
|
166 |
$output = apply_filters( 'envira_gallery_output_before_link', $output, $id, $item, $data, $i );
|
167 |
-
$output .= '<a href="' . esc_url( $item['link'] ) . '" class="envira-gallery-' . sanitize_html_class( $data['id'] ) . ' envira-gallery-link" rel="enviragallery' . sanitize_html_class( $data['id'] ) . '" title="' .
|
168 |
}
|
169 |
|
170 |
$output = apply_filters( 'envira_gallery_output_before_image', $output, $id, $item, $data, $i );
|
171 |
-
$output .= '<img id="envira-gallery-image-' . sanitize_html_class( $id ) . '" class="envira-gallery-image envira-gallery-preload envira-gallery-image-' . $i . '" src="' . esc_url( plugins_url( 'assets/css/images/holder.gif', dirname( dirname( __FILE__ ) ) ) ) . '" data-envira-src="' . esc_url( $imagesrc ) . '" alt="' . esc_attr( $item['title'] ) . '" ' . apply_filters( 'envira_gallery_output_image_attr', '', $id, $item, $data, $i ) . ' />';
|
172 |
$output = apply_filters( 'envira_gallery_output_after_image', $output, $id, $item, $data, $i );
|
173 |
|
174 |
if ( ! empty( $item['link'] ) ) {
|
164 |
|
165 |
if ( ! empty( $item['link'] ) ) {
|
166 |
$output = apply_filters( 'envira_gallery_output_before_link', $output, $id, $item, $data, $i );
|
167 |
+
$output .= '<a href="' . esc_url( $item['link'] ) . '" class="envira-gallery-' . sanitize_html_class( $data['id'] ) . ' envira-gallery-link" rel="enviragallery' . sanitize_html_class( $data['id'] ) . '" title="' . strip_tags( html_entity_decode( $item['title'] ) ) . '" data-thumbnail="' . esc_url( $item['thumb'] ) . '">';
|
168 |
}
|
169 |
|
170 |
$output = apply_filters( 'envira_gallery_output_before_image', $output, $id, $item, $data, $i );
|
171 |
+
$output .= '<img id="envira-gallery-image-' . sanitize_html_class( $id ) . '" class="envira-gallery-image envira-gallery-preload envira-gallery-image-' . $i . '" src="' . esc_url( plugins_url( 'assets/css/images/holder.gif', dirname( dirname( __FILE__ ) ) ) ) . '" data-envira-src="' . esc_url( $imagesrc ) . '" alt="' . esc_attr( $item['title'] ) . '" title="' . strip_tags( html_entity_decode( $item['title'] ) ) . '" ' . apply_filters( 'envira_gallery_output_image_attr', '', $id, $item, $data, $i ) . ' />';
|
172 |
$output = apply_filters( 'envira_gallery_output_after_image', $output, $id, $item, $data, $i );
|
173 |
|
174 |
if ( ! empty( $item['link'] ) ) {
|
readme.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
=== Responsive WordPress Gallery - Envira Gallery Lite ===
|
2 |
Contributors: griffinjt
|
3 |
-
Tags: wordpress gallery, gallery, wordpress gallery plugin, gallery plugin, responsive, responsive gallery, image gallery, image gallery plugin, responsive gallery plugin, responsive image gallery, responsive image gallery plugin, custom post types, slideshow, responsive slideshow, slideshow plugin, responsive slideshow plugin, rotator, image rotator, responsive rotator, jquery gallery, javascript gallery, jquery rotator, javascript rotator, picture gallery, photo gallery, photo rotator, shortcode, template tag, custom post type, media uploader, ajax, wordpress galleries, responsive galleries, fullscreen, deeplinking, best wordpress gallery, best wordpress gallery plugin, best gallery plugin
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 3.9
|
6 |
Stable tag: trunk
|
@@ -55,6 +55,10 @@ Envira Gallery is absolutely, positively the <a href="http://enviragallery.com/?
|
|
55 |
|
56 |
== Changelog ==
|
57 |
|
|
|
|
|
|
|
|
|
58 |
= 1.0.9 =
|
59 |
* Fixed JS error issues with WordPress 3.9.
|
60 |
* Added ability to link to external URLs in images.
|
1 |
=== Responsive WordPress Gallery - Envira Gallery Lite ===
|
2 |
Contributors: griffinjt
|
3 |
+
Tags: wordpress gallery, gallery, wordpress gallery plugin, gallery plugin, responsive, responsive gallery, image gallery, image gallery plugin, responsive gallery plugin, responsive image gallery, responsive image gallery plugin, custom post types, slideshow, responsive slideshow, slideshow plugin, responsive slideshow plugin, rotator, image rotator, responsive rotator, jquery gallery, javascript gallery, jquery rotator, javascript rotator, picture gallery, photo gallery, photo rotator, shortcode, template tag, custom post type, media uploader, ajax, wordpress galleries, responsive galleries, fullscreen, deeplinking, best wordpress gallery, best wordpress gallery plugin, best gallery plugin, best gallery, best responsive gallery, best responsive wordpress gallery
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 3.9
|
6 |
Stable tag: trunk
|
55 |
|
56 |
== Changelog ==
|
57 |
|
58 |
+
= 1.1.0 =
|
59 |
+
* Fixed bug with HTML being output on image hover for title attribute.
|
60 |
+
* Fixed bug with internal link dialog being shown below the edit metadata modal window.
|
61 |
+
|
62 |
= 1.0.9 =
|
63 |
* Fixed JS error issues with WordPress 3.9.
|
64 |
* Added ability to link to external URLs in images.
|