Gallery – Photo Gallery and Images Gallery - Version 2.8.25

Version Description

  • Modification of the configuration fields, fix of the shortcode
Download this release

Release Info

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

Code changes from version 2.8.24 to 2.8.25

app/class.listing.php CHANGED
@@ -107,17 +107,4 @@ class rbsGalleryListing extends roboGalleryClass{
107
  new rbsGalleryListing();
108
 
109
 
110
- /*add_action( 'load-edit.php', function() {
111
- add_filter( 'views_edit-'.ROBO_GALLERY_TYPE_POST, 'robo_gallery_listing_tabs' );
112
- });
113
-
114
- function robo_gallery_listing_tabs() {
115
- echo '
116
- <br/>
117
- <h2 class="nav-tab-wrapper">
118
- <a class="nav-tab" href="admin.php?page=gallery">Gallery</a>
119
- <a class="nav-tab nav-tab-active" href="edit.php?post_type=statistics">Statistics</a>
120
- <a class="nav-tab" href="edit.php?post_type=backup">Backup</a>
121
- </h2><br/>
122
- ';
123
- }*/
107
  new rbsGalleryListing();
108
 
109
 
110
+
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/options/rbs_gallery_options_images.php CHANGED
@@ -23,13 +23,6 @@ $images_group = new_cmb2_box( array(
23
  'show_names' => false,
24
  ));
25
 
26
- /*$images_group->add_field(array(
27
- 'name' => __( 'cache_id', 'robo-gallery' ),
28
- 'id' => ROBO_GALLERY_PREFIX . 'cache_id',
29
- 'type' => 'hidden',
30
- 'default' => uniqid(),
31
- ));
32
- */
33
  $images_group->add_field(array(
34
  'name' => __( 'Manage Images', 'robo-gallery' ),
35
  'desc' => __( 'Click on Manage Images button to open Images Manager where you can upload, edit or delete images from gallery. Also here you can edit settings of every particular image, define alt, links, description text', 'robo-gallery' ),
@@ -37,17 +30,4 @@ $images_group->add_field(array(
37
  'id' => ROBO_GALLERY_PREFIX . 'galleryImages',
38
  'type' => 'robo_gallery_images_field',
39
  'sanitization_cb' => 'robo_gallery_images_field_sanitise'
40
- ));
41
-
42
-
43
-
44
- /* $hover_group->add_field(
45
- array(
46
- 'name' => 'Add Image to Gallery',
47
- 'desc' => 'ctrl to select many',
48
- 'id' => ROBO_GALLERY_PREFIX . 'file_list',
49
- 'type' => 'file_list',
50
- 'preview_size' => array( 50, 50 )
51
- // Default: array( 50, 50 )
52
- )
53
- );*/
23
  'show_names' => false,
24
  ));
25
 
 
 
 
 
 
 
 
26
  $images_group->add_field(array(
27
  'name' => __( 'Manage Images', 'robo-gallery' ),
28
  'desc' => __( 'Click on Manage Images button to open Images Manager where you can upload, edit or delete images from gallery. Also here you can edit settings of every particular image, define alt, links, description text', 'robo-gallery' ),
30
  'id' => ROBO_GALLERY_PREFIX . 'galleryImages',
31
  'type' => 'robo_gallery_images_field',
32
  'sanitization_cb' => 'robo_gallery_images_field_sanitise'
33
+ ));
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/options/rbs_gallery_options_shortcode.php CHANGED
@@ -22,7 +22,7 @@ $shortcode_group = new_cmb2_box( array(
22
  'priority' => 'low',
23
  ));
24
 
25
- if(isset($_GET['post'])){
26
  $shortcode_group->add_field( array(
27
  'id' => ROBO_GALLERY_PREFIX.'short_desc',
28
  'type' => 'title',
22
  'priority' => 'low',
23
  ));
24
 
25
+ if( isset($_GET['post']) && (int) $_GET['post'] ){
26
  $shortcode_group->add_field( array(
27
  'id' => ROBO_GALLERY_PREFIX.'short_desc',
28
  'type' => 'title',
includes/rbs_gallery_list.php CHANGED
@@ -102,23 +102,6 @@ if(!function_exists('add_rbs_table_columns')){
102
  }
103
 
104
 
105
-
106
- /*add_action( 'load-edit.php', function() {
107
- add_filter( 'views_edit-'.ROBO_GALLERY_TYPE_POST, 'robo_gallery_listing_tabs' );
108
- });
109
-
110
- # echo the tabs
111
- function robo_gallery_listing_tabs() {
112
- echo '
113
- <h2 class="nav-tab-wrapper">
114
- <a class="nav-tab" href="admin.php?page=gallery">Gallery</a>
115
- <a class="nav-tab nav-tab-active" href="edit.php?post_type=statistics">Statistics</a>
116
- <a class="nav-tab" href="edit.php?post_type=backup">Backup</a>
117
- </h2>
118
- ';
119
- }*/
120
-
121
-
122
  if(!function_exists('rbs_gallery_robogalleryList')){
123
  function rbs_gallery_robogalleryList (){
124
  wp_enqueue_script('robo-gallery-lising-js', ROBO_GALLERY_URL.'js/admin/listing.js', array( 'jquery' ), ROBO_GALLERY_VERSION, true );
102
  }
103
 
104
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  if(!function_exists('rbs_gallery_robogalleryList')){
106
  function rbs_gallery_robogalleryList (){
107
  wp_enqueue_script('robo-gallery-lising-js', ROBO_GALLERY_URL.'js/admin/listing.js', array( 'jquery' ), ROBO_GALLERY_VERSION, true );
includes/rbs_gallery_widget.php CHANGED
@@ -31,16 +31,6 @@ class rbs_widget extends WP_Widget {
31
  'numberposts' => 1,
32
  'post_type' => ROBO_GALLERY_TYPE_POST,
33
  'post_status' => 'publish',
34
- /* 'hierarchical' => 1,
35
- 'exclude' => '',
36
- 'include' => '',
37
- 'authors' => '',
38
- 'child_of' => 0,
39
- 'exclude_tree' => '',
40
- 'number' => '',
41
- 'offset' => 0,
42
- 'category' => 0,
43
- 'suppress_filters' => true */
44
  );
45
 
46
 
31
  'numberposts' => 1,
32
  'post_type' => ROBO_GALLERY_TYPE_POST,
33
  'post_status' => 'publish',
 
 
 
 
 
 
 
 
 
 
34
  );
35
 
36
 
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.2
7
- Stable tag: 2.8.24
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -203,6 +203,9 @@ If any problem occurs, please contact us.
203
 
204
  == Changelog ==
205
 
 
 
 
206
  = 2.8.24 =
207
  * Fixed Elementor editor conflict in image widget mode
208
  * Prepared Elementor page builder block
@@ -512,6 +515,9 @@ If any problem occurs, please contact us.
512
 
513
  == Upgrade Notice ==
514
 
 
 
 
515
  = 2.8.24 =
516
  Fixed Elementor editor conflict in image widget mode
517
  Prepared Elementor page builder block
4
  Tags: gallery, photo gallery, image gallery, wordpress gallery plugin, responsive gallery
5
  Requires at least: 3.3
6
  Tested up to: 5.2
7
+ Stable tag: 2.8.25
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.25 =
207
+ * Modification of the configuration fields, fix of the shortcode
208
+
209
  = 2.8.24 =
210
  * Fixed Elementor editor conflict in image widget mode
211
  * Prepared Elementor page builder block
515
 
516
  == Upgrade Notice ==
517
 
518
+ = 2.8.25 =
519
+ Modification of the configuration fields, fix of the shortcode
520
+
521
  = 2.8.24 =
522
  Fixed Elementor editor conflict in image widget mode
523
  Prepared Elementor page builder block
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.24
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.24');
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.25
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.25');
19
 
20
  define("ROBO_GALLERY_OPTIONS", 'rbs_opt_');
21