Version Description
- Fix: Remove HTML tags from image title attribute on hover
Download this release
Release Info
Developer | n7studios |
Plugin | Photo Gallery by Envira – Responsive Image Gallery for WordPress |
Version | 1.3.4.7 |
Comparing to | |
See all releases |
Code changes from version 1.3.4.6 to 1.3.4.7
- envira-gallery-lite.php +2 -2
- includes/global/shortcode.php +7 -7
- 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.7
|
9 |
* Text Domain: envira-gallery
|
10 |
* Domain Path: languages
|
11 |
*
|
54 |
*
|
55 |
* @var string
|
56 |
*/
|
57 |
+
public $version = '1.3.4.7';
|
58 |
|
59 |
/**
|
60 |
* The name of the plugin.
|
includes/global/shortcode.php
CHANGED
@@ -167,14 +167,14 @@ class Envira_Gallery_Shortcode_Lite {
|
|
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="' . esc_attr( $item['title'] ) . '" data-thumbnail="' . esc_url( $item['thumb'] ) . '">';
|
168 |
}
|
169 |
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
|
179 |
$output .= '</div>';
|
180 |
$output = apply_filters( 'envira_gallery_output_single_item', $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="' . esc_attr( $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['alt'] ) . '" title="' . esc_attr( strip_tags( $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'] ) ) {
|
175 |
+
$output .= '</a>';
|
176 |
+
$output = apply_filters( 'envira_gallery_output_after_link', $output, $id, $item, $data, $i );
|
177 |
+
}
|
178 |
|
179 |
$output .= '</div>';
|
180 |
$output = apply_filters( 'envira_gallery_output_single_item', $output, $id, $item, $data, $i );
|
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.6 =
|
61 |
* Fix: Optimized theme images
|
62 |
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
+
= 1.3.4.7 =
|
61 |
+
* Fix: Remove HTML tags from image title attribute on hover
|
62 |
+
|
63 |
= 1.3.4.6 =
|
64 |
* Fix: Optimized theme images
|
65 |
|