Version Description
- Fix of the Gutenberg editor id value problem
- Modification of the self images functionality
- Added new Images of the Current Gallery field logic
Download this release
Release Info
Developer | robosoft |
Plugin | Gallery – Photo Gallery and Images Gallery |
Version | 2.8.17 |
Comparing to | |
See all releases |
Code changes from version 2.8.16 to 2.8.17
- app/app.php +1 -1
- app/class.brand.php +1 -1
- app/class.listing.php +1 -1
- app/class.php +1 -1
- app/class.view.php +1 -1
- app/extensions/dashboard/assets/style.css +1 -1
- app/extensions/dashboard/class.dashboard.php +1 -1
- app/extensions/dashboard/init.php +1 -1
- app/extensions/dashboard/overview.php +1 -1
- app/extensions/dashboard/video_guide.php +1 -1
- app/extensions/manager/class.addons.action.php +1 -1
- app/extensions/manager/class.addons.php +1 -1
- app/extensions/manager/css/style.css +1 -1
- app/extensions/manager/init.php +1 -1
- app/extensions/manager/js/script.js +1 -1
- includes/extensions/block/src/init.php +1 -1
- includes/frontend/rbs_gallery_class.php +11 -4
- includes/options/rbs_gallery_options_button.php +24 -9
- readme.txt +11 -1
- robogallery.php +2 -2
app/app.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/*
|
4 |
* Robo Gallery
|
5 |
-
* Version: 2.8.
|
6 |
* By Robosoft
|
7 |
*
|
8 |
* Contact: https://robosoft.co/robogallery/
|
2 |
|
3 |
/*
|
4 |
* Robo Gallery
|
5 |
+
* Version: 2.8.18 - 73747
|
6 |
* By Robosoft
|
7 |
*
|
8 |
* Contact: https://robosoft.co/robogallery/
|
app/class.brand.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/*
|
4 |
* Robo Gallery
|
5 |
-
* Version: 2.8.
|
6 |
* By Robosoft
|
7 |
*
|
8 |
* Contact: https://robosoft.co/robogallery/
|
2 |
|
3 |
/*
|
4 |
* Robo Gallery
|
5 |
+
* Version: 2.8.18 - 73747
|
6 |
* By Robosoft
|
7 |
*
|
8 |
* Contact: https://robosoft.co/robogallery/
|
app/class.listing.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
-
* Version: 2.8.
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
+
* Version: 2.8.18 - 73747
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
app/class.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
-
* Version: 2.8.
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
+
* Version: 2.8.18 - 73747
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
app/class.view.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/*
|
4 |
* Robo Gallery
|
5 |
-
* Version: 2.8.
|
6 |
* By Robosoft
|
7 |
*
|
8 |
* Contact: https://robosoft.co/robogallery/
|
2 |
|
3 |
/*
|
4 |
* Robo Gallery
|
5 |
+
* Version: 2.8.18 - 73747
|
6 |
* By Robosoft
|
7 |
*
|
8 |
* Contact: https://robosoft.co/robogallery/
|
app/extensions/dashboard/assets/style.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
-
* Version: 2.8.
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
1 |
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
+
* Version: 2.8.18 - 73747
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
app/extensions/dashboard/class.dashboard.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
-
* Version: 2.8.
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
+
* Version: 2.8.18 - 73747
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
app/extensions/dashboard/init.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
-
* Version: 2.8.
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
+
* Version: 2.8.18 - 73747
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
app/extensions/dashboard/overview.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
-
* Version: 2.8.
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
+
* Version: 2.8.18 - 73747
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
app/extensions/dashboard/video_guide.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
-
* Version: 2.8.
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
+
* Version: 2.8.18 - 73747
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
app/extensions/manager/class.addons.action.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
-
* Version: 2.8.
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
+
* Version: 2.8.18 - 73747
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
app/extensions/manager/class.addons.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
-
* Version: 2.8.
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
+
* Version: 2.8.18 - 73747
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
app/extensions/manager/css/style.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*
|
2 |
* Robo Gallery
|
3 |
-
* Version: 2.8.
|
4 |
* By Robosoft
|
5 |
*
|
6 |
* Contact: https://robosoft.co/robogallery/
|
1 |
/*
|
2 |
* Robo Gallery
|
3 |
+
* Version: 2.8.18 - 73747
|
4 |
* By Robosoft
|
5 |
*
|
6 |
* Contact: https://robosoft.co/robogallery/
|
app/extensions/manager/init.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
-
* Version: 2.8.
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
1 |
<?php
|
2 |
/*
|
3 |
* Robo Gallery
|
4 |
+
* Version: 2.8.18 - 73747
|
5 |
* By Robosoft
|
6 |
*
|
7 |
* Contact: https://robosoft.co/robogallery/
|
app/extensions/manager/js/script.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*
|
2 |
* Robo Gallery
|
3 |
-
* Version: 2.8.
|
4 |
* By Robosoft
|
5 |
*
|
6 |
* Contact: https://robosoft.co/robogallery/
|
1 |
/*
|
2 |
* Robo Gallery
|
3 |
+
* Version: 2.8.18 - 73747
|
4 |
* By Robosoft
|
5 |
*
|
6 |
* Contact: https://robosoft.co/robogallery/
|
includes/extensions/block/src/init.php
CHANGED
@@ -54,7 +54,7 @@ if ( ! class_exists( 'RoboGallery_Blocks' ) ) {
|
|
54 |
'attributes' => array(
|
55 |
'galleryid' => array(
|
56 |
'type' => 'number',
|
57 |
-
'default' =>
|
58 |
),
|
59 |
),
|
60 |
) );
|
54 |
'attributes' => array(
|
55 |
'galleryid' => array(
|
56 |
'type' => 'number',
|
57 |
+
'default' => 0,
|
58 |
),
|
59 |
),
|
60 |
) );
|
includes/frontend/rbs_gallery_class.php
CHANGED
@@ -680,10 +680,17 @@ class roboGallery extends roboGalleryUtils{
|
|
680 |
}
|
681 |
}
|
682 |
} else {
|
683 |
-
$this->
|
684 |
-
|
685 |
-
|
686 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
687 |
return $this->returnHtml;
|
688 |
}
|
689 |
|
680 |
}
|
681 |
}
|
682 |
} else {
|
683 |
+
$checkOptionsSet = $this->options_id ? $this->options_id : $this->id;
|
684 |
+
|
685 |
+
$this->returnHtml = sprintf(
|
686 |
+
'<p><strong>%s</strong><br/>%s<br /><strong>%s</strong></p>',
|
687 |
+
__('No Images.', 'robo-gallery'),
|
688 |
+
__('Please upload images in images manager section. Click on Manage Images button on the right side of the gallery settings.', 'robo-gallery'),
|
689 |
+
get_post_meta( $checkOptionsSet, ROBO_GALLERY_PREFIX.'menuSelfImages', true ) ?
|
690 |
+
'' :
|
691 |
+
__("Please make sure that you didn't enabled option: Images of the Current Gallery. Option should have Show value to show images.", 'robo-gallery')
|
692 |
+
);
|
693 |
+
|
694 |
return $this->returnHtml;
|
695 |
}
|
696 |
|
includes/options/rbs_gallery_options_button.php
CHANGED
@@ -22,6 +22,29 @@ $button_group = new_cmb2_box( array(
|
|
22 |
'context' => 'normal',
|
23 |
));
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
$button_group->add_field( array(
|
26 |
'name' => __('Menu', 'robo-gallery' ),
|
27 |
'id' => ROBO_GALLERY_PREFIX . 'menu',
|
@@ -33,7 +56,7 @@ $button_group->add_field( array(
|
|
33 |
'depends' => '.rbs_menu_options',
|
34 |
'before_row' => '
|
35 |
<a id="rbs_menu_options_link"></a>
|
36 |
-
|
37 |
'after_row' => '
|
38 |
<div class="rbs_menu_options">',
|
39 |
));
|
@@ -73,14 +96,6 @@ $button_group->add_field( array(
|
|
73 |
</div>',
|
74 |
));
|
75 |
|
76 |
-
$button_group->add_field( array(
|
77 |
-
'name' => __('Self Images', 'robo-gallery' ),
|
78 |
-
'id' => ROBO_GALLERY_PREFIX . 'menuSelfImages',
|
79 |
-
'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
|
80 |
-
'type' => 'switch',
|
81 |
-
'showhide' => 1,
|
82 |
-
'bootstrap_style'=> 1,
|
83 |
-
));
|
84 |
|
85 |
|
86 |
|
22 |
'context' => 'normal',
|
23 |
));
|
24 |
|
25 |
+
$button_group->add_field( array(
|
26 |
+
'name' => __('Images of the Current Gallery', 'robo-gallery' ),
|
27 |
+
'id' => ROBO_GALLERY_PREFIX . 'menuSelfImages',
|
28 |
+
'default' => rbs_gallery_set_checkbox_default_for_new_post(1),
|
29 |
+
'type' => 'switch',
|
30 |
+
'showhide' => 1,
|
31 |
+
'bootstrap_style'=> 1,
|
32 |
+
'before_row' => '
|
33 |
+
<div class="rbs_block">
|
34 |
+
<br />',
|
35 |
+
'after_row' => '
|
36 |
+
<div class="row">
|
37 |
+
<div class="col-sm-10 col-sm-offset-2 ">
|
38 |
+
<span class="rbs_desc">
|
39 |
+
'.__('This option hide images of the current gallery. Very helpful in the case if you have structure of the root gallery with sub categories and you wish to hide root gallery images and show only images from sub categories.', 'robo-gallery' ).'
|
40 |
+
</span>
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
<br/>
|
44 |
+
'
|
45 |
+
));
|
46 |
+
|
47 |
+
|
48 |
$button_group->add_field( array(
|
49 |
'name' => __('Menu', 'robo-gallery' ),
|
50 |
'id' => ROBO_GALLERY_PREFIX . 'menu',
|
56 |
'depends' => '.rbs_menu_options',
|
57 |
'before_row' => '
|
58 |
<a id="rbs_menu_options_link"></a>
|
59 |
+
',
|
60 |
'after_row' => '
|
61 |
<div class="rbs_menu_options">',
|
62 |
));
|
96 |
</div>',
|
97 |
));
|
98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
|
101 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://robosoft.co/robogallery
|
|
4 |
Tags: gallery, photo gallery, image gallery, wordpress gallery plugin, responsive gallery
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 5.0
|
7 |
-
Stable tag: 2.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -203,6 +203,11 @@ If any problem occurs, please contact us.
|
|
203 |
|
204 |
== Changelog ==
|
205 |
|
|
|
|
|
|
|
|
|
|
|
206 |
= 2.8.16 =
|
207 |
* Fix of the Gutenberg block for the old Gutenberg version compatibility
|
208 |
|
@@ -483,6 +488,11 @@ If any problem occurs, please contact us.
|
|
483 |
|
484 |
== Upgrade Notice ==
|
485 |
|
|
|
|
|
|
|
|
|
|
|
486 |
= 2.8.16 =
|
487 |
Fix of the Gutenberg block for the old Gutenberg version compatibility
|
488 |
|
4 |
Tags: gallery, photo gallery, image gallery, wordpress gallery plugin, responsive gallery
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 5.0
|
7 |
+
Stable tag: 2.8.17
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
203 |
|
204 |
== Changelog ==
|
205 |
|
206 |
+
= 2.8.17 =
|
207 |
+
* Fix of the Gutenberg editor id value problem
|
208 |
+
* Modification of the self images functionality
|
209 |
+
* Added new Images of the Current Gallery field logic
|
210 |
+
|
211 |
= 2.8.16 =
|
212 |
* Fix of the Gutenberg block for the old Gutenberg version compatibility
|
213 |
|
488 |
|
489 |
== Upgrade Notice ==
|
490 |
|
491 |
+
= 2.8.17 =
|
492 |
+
Fix of the Gutenberg editor id value problem
|
493 |
+
Modification of the self images functionality
|
494 |
+
Added new Images of the Current Gallery field logic
|
495 |
+
|
496 |
= 2.8.16 =
|
497 |
Fix of the Gutenberg block for the old Gutenberg version compatibility
|
498 |
|
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.8.
|
7 |
Author: RoboSoft
|
8 |
Author URI: https://robosoft.co/wordpress-gallery-plugin
|
9 |
License: GPLv3 or later
|
@@ -15,7 +15,7 @@ if(!defined('WPINC'))die;
|
|
15 |
if(!defined("ABSPATH"))exit;
|
16 |
|
17 |
define("ROBO_GALLERY", 1);
|
18 |
-
define("ROBO_GALLERY_VERSION", '2.8.
|
19 |
|
20 |
define("ROBO_GALLERY_OPTIONS", 'rbs_opt_');
|
21 |
|
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.8.17
|
7 |
Author: RoboSoft
|
8 |
Author URI: https://robosoft.co/wordpress-gallery-plugin
|
9 |
License: GPLv3 or later
|
15 |
if(!defined("ABSPATH"))exit;
|
16 |
|
17 |
define("ROBO_GALLERY", 1);
|
18 |
+
define("ROBO_GALLERY_VERSION", '2.8.17');
|
19 |
|
20 |
define("ROBO_GALLERY_OPTIONS", 'rbs_opt_');
|
21 |
|