Version Description
- Fix: Force gallery ID on save, to ensure compat with WPML and duplication plugins
Download this release
Release Info
Developer | n7studios |
Plugin | Photo Gallery by Envira – Responsive Image Gallery for WordPress |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.0 to 1.3.1
- envira-gallery-lite.php +2 -2
- includes/admin/metaboxes.php +3 -4
- readme.txt +4 -1
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.
|
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.
|
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.1
|
9 |
* Text Domain: envira-gallery
|
10 |
* Domain Path: languages
|
11 |
*
|
54 |
*
|
55 |
* @var string
|
56 |
*/
|
57 |
+
public $version = '1.3.1';
|
58 |
|
59 |
/**
|
60 |
* The name of the plugin.
|
includes/admin/metaboxes.php
CHANGED
@@ -777,10 +777,9 @@ class Envira_Gallery_Metaboxes_Lite {
|
|
777 |
$settings = array();
|
778 |
}
|
779 |
|
780 |
-
//
|
781 |
-
|
782 |
-
|
783 |
-
}
|
784 |
|
785 |
// Save the config settings.
|
786 |
$settings['config']['columns'] = preg_replace( '#[^a-z0-9-_]#', '', $_POST['_envira_gallery']['columns'] );
|
777 |
$settings = array();
|
778 |
}
|
779 |
|
780 |
+
// Force gallery ID to match Post ID. This is deliberate; if a gallery is duplicated (either using a duplication)
|
781 |
+
// plugin or WPML, the ID remains as the original gallery ID, which breaks things for translations etc.
|
782 |
+
$settings['id'] = $post_id;
|
|
|
783 |
|
784 |
// Save the config settings.
|
785 |
$settings['config']['columns'] = preg_replace( '#[^a-z0-9-_]#', '', $_POST['_envira_gallery']['columns'] );
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
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, best wp gallery
|
4 |
Requires at least: 3.8
|
5 |
-
Tested up to: 4.
|
6 |
Stable tag: trunk
|
7 |
License: GNU General Public License v2.0 or later
|
8 |
|
@@ -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.0 =
|
61 |
* Fix: Sorting images in a gallery and not clicking Update would result in loss of gallery configuration
|
62 |
|
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, best wp gallery
|
4 |
Requires at least: 3.8
|
5 |
+
Tested up to: 4.3
|
6 |
Stable tag: trunk
|
7 |
License: GNU General Public License v2.0 or later
|
8 |
|
57 |
|
58 |
== Changelog ==
|
59 |
|
60 |
+
= 1.3.1 =
|
61 |
+
* Fix: Force gallery ID on save, to ensure compat with WPML and duplication plugins
|
62 |
+
|
63 |
= 1.3.0 =
|
64 |
* Fix: Sorting images in a gallery and not clicking Update would result in loss of gallery configuration
|
65 |
|