Gallery – Photo Gallery and Images Gallery - Version 2.7.9

Version Description

  • Fix of the notifications
Download this release

Release Info

Developer robosoft
Plugin Icon 128x128 Gallery – Photo Gallery and Images Gallery
Version 2.7.9
Comparing to
See all releases

Code changes from version 2.7.8 to 2.7.9

includes/frontend/rbs_gallery_class.php CHANGED
@@ -503,7 +503,7 @@ class roboGallery extends roboGalleryUtils{
503
 
504
  $descBoxData='';
505
 
506
- if(get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'lightboxDescPanel', true )){
507
 
508
  switch(get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'lightboxDescSource', true )){
509
  case 'caption':
@@ -523,18 +523,23 @@ class roboGallery extends roboGalleryUtils{
523
  if($descBoxData) $descBoxData = ' data-descbox="'.esc_attr($descBoxData).'" ';
524
  }
525
 
526
- $polaroidDesc = str_replace(
527
- array('@TITLE@','@CAPTION@','@DESC@', '@LINK@'),
528
- array(
529
- $img['data']->post_title,
530
- $img['data']->post_excerpt,
531
- $img['data']->post_content,
532
- $img['link']
533
- ),
534
- $polaroid_template
535
- );
536
-
537
- $link = $img['image'];
 
 
 
 
 
538
 
539
  if( $img['link'] && ( !$this->hover || ( $this->hover == 1 && !$this->linkIcon && !$this->zoomIcon ) ) ){
540
  $link = $img['link'].'" data-type="'.($img['typelink']?'blank':'').'link';
503
 
504
  $descBoxData='';
505
 
506
+ if( get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'lightboxDescPanel', true ) && isset($img['data'])){
507
 
508
  switch(get_post_meta( $this->id, ROBO_GALLERY_PREFIX.'lightboxDescSource', true )){
509
  case 'caption':
523
  if($descBoxData) $descBoxData = ' data-descbox="'.esc_attr($descBoxData).'" ';
524
  }
525
 
526
+ if( isset($img['data']) && isset($img['link']) ){
527
+ $polaroidDesc = str_replace(
528
+ array('@TITLE@','@CAPTION@','@DESC@', '@LINK@'),
529
+ array(
530
+ $img['data']->post_title,
531
+ $img['data']->post_excerpt,
532
+ $img['data']->post_content,
533
+ $img['link']
534
+ ),
535
+ $polaroid_template
536
+ );
537
+ } else {
538
+ $polaroidDesc = '';
539
+ }
540
+ if( isset( $img['image'] ) ){
541
+ $link = $img['image'];
542
+ } else $link = '';
543
 
544
  if( $img['link'] && ( !$this->hover || ( $this->hover == 1 && !$this->linkIcon && !$this->zoomIcon ) ) ){
545
  $link = $img['link'].'" data-type="'.($img['typelink']?'blank':'').'link';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://robosoft.co/robogallery
4
  Tags: gallery, photo gallery, images gallery, gallery images, wordpress gallery plugin, responsive gallery, categories gallery, Polaroid gallery, gallery lightbox, portfolio gallery, video gallery, Gallery Plugin, Robo Gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.9
7
- Stable tag: 2.7.8
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -259,6 +259,9 @@ If any problem occurs, please contact us.
259
 
260
  == Changelog ==
261
 
 
 
 
262
  = 2.7.8 =
263
  * Updated gallery interface icons and css fixes
264
 
@@ -447,6 +450,9 @@ If any problem occurs, please contact us.
447
 
448
  == Upgrade Notice ==
449
 
 
 
 
450
  = 2.7.8 =
451
  Updated gallery interface icons and css fixes
452
 
4
  Tags: gallery, photo gallery, images gallery, gallery images, wordpress gallery plugin, responsive gallery, categories gallery, Polaroid gallery, gallery lightbox, portfolio gallery, video gallery, Gallery Plugin, Robo Gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.9
7
+ Stable tag: 2.7.9
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
259
 
260
  == Changelog ==
261
 
262
+ = 2.7.9 =
263
+ * Fix of the notifications
264
+
265
  = 2.7.8 =
266
  * Updated gallery interface icons and css fixes
267
 
450
 
451
  == Upgrade Notice ==
452
 
453
+ = 2.7.9 =
454
+ Fix of the notifications
455
+
456
  = 2.7.8 =
457
  Updated gallery interface icons and css fixes
458
 
robogallery.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Robo Gallery
4
  Plugin URI: https://robosoft.co/wordpress-gallery-plugin
5
  Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
6
- Version: 2.7.8
7
  Author: RoboSoft
8
  Author URI: https://robosoft.co/wordpress-gallery-plugin
9
  License: GPLv3 or later
@@ -16,7 +16,7 @@ if(!defined("ABSPATH"))exit;
16
 
17
 
18
  define("ROBO_GALLERY", 1);
19
- define("ROBO_GALLERY_VERSION", '2.7.8');
20
 
21
  if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
22
 
3
  Plugin Name: Robo Gallery
4
  Plugin URI: https://robosoft.co/wordpress-gallery-plugin
5
  Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
6
+ Version: 2.7.9
7
  Author: RoboSoft
8
  Author URI: https://robosoft.co/wordpress-gallery-plugin
9
  License: GPLv3 or later
16
 
17
 
18
  define("ROBO_GALLERY", 1);
19
+ define("ROBO_GALLERY_VERSION", '2.7.9');
20
 
21
  if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
22