Photo Gallery by Envira – Responsive Image Gallery for WordPress - Version 1.2.4

Version Description

  • Fix: This Post's Gallery was missing when using the Add Gallery button
Download this release

Release Info

Developer n7studios
Plugin Icon 128x128 Photo Gallery by Envira – Responsive Image Gallery for WordPress
Version 1.2.4
Comparing to
See all releases

Code changes from version 1.2.3 to 1.2.4

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.2.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.2.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.2.4
9
  * Text Domain: envira-gallery
10
  * Domain Path: languages
11
  *
54
  *
55
  * @var string
56
  */
57
+ public $version = '1.2.4';
58
 
59
  /**
60
  * The name of the plugin.
includes/admin/editor.php CHANGED
@@ -132,6 +132,18 @@ class Envira_Gallery_Editor_Lite {
132
  <div class="media-frame-content">
133
  <div class="attachments-browser">
134
  <ul class="envira-gallery-meta attachments" style="padding-left: 8px; top: 1em;">
 
 
 
 
 
 
 
 
 
 
 
 
135
  <?php foreach ( (array) $galleries as $gallery ) : if ( $post->ID == $gallery['id'] ) continue; ?>
136
  <li class="attachment" data-envira-gallery-id="<?php echo absint( $gallery['id'] ); ?>" style="margin: 8px;">
137
  <div class="attachment-preview landscape">
132
  <div class="media-frame-content">
133
  <div class="attachments-browser">
134
  <ul class="envira-gallery-meta attachments" style="padding-left: 8px; top: 1em;">
135
+ <li class="attachment" data-envira-gallery-id="<?php echo absint( $post->ID ); ?>" style="margin: 8px;">
136
+ <div class="attachment-preview landscape">
137
+ <div class="thumbnail" style="display: table;">
138
+ <div class="inside">
139
+ <h3 style="margin: 0;color: #7ad03a;"><?php _e( 'This Post\'s Gallery', 'envira-gallery' ); ?></h3>
140
+ <code style="color: #7ad03a;">[envira-gallery id="<?php echo absint( $post->ID ); ?>"]</code>
141
+ </div>
142
+ </div>
143
+ <a class="check" href="#"><div class="media-modal-icon"></div></a>
144
+ </div>
145
+ </li>
146
+
147
  <?php foreach ( (array) $galleries as $gallery ) : if ( $post->ID == $gallery['id'] ) continue; ?>
148
  <li class="attachment" data-envira-gallery-id="<?php echo absint( $gallery['id'] ); ?>" style="margin: 8px;">
149
  <div class="attachment-preview landscape">
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.2.3 =
61
  * Added: Mobile - lightbox arrows remain displayed on touchscreen devices, so it is clearer to the user how they can navigate through the images
62
 
57
 
58
  == Changelog ==
59
 
60
+ = 1.2.4 =
61
+ * Fix: This Post's Gallery was missing when using the Add Gallery button
62
+
63
  = 1.2.3 =
64
  * Added: Mobile - lightbox arrows remain displayed on touchscreen devices, so it is clearer to the user how they can navigate through the images
65