Gallery – Photo Gallery and Images Gallery - Version 2.6.4

Version Description

  • Changed galleries management algorithm
  • Added additional galleries checks
Download this release

Release Info

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

Code changes from version 2.6.3 to 2.6.4

Files changed (3) hide show
  1. includes/rbs_gallery_init.php +1 -1
  2. readme.txt +9 -1
  3. robogallery.php +4 -4
includes/rbs_gallery_init.php CHANGED
@@ -114,7 +114,7 @@ if(!function_exists('rbs_gallery_main_init')){
114
  $n=1;
115
  $my_wp_query = new WP_Query();
116
  ++$n;
117
- $all_wp_pages = $my_wp_query->query(array( 'post_type' => ROBO_GALLERY_TYPE_POST ));
118
  if( count($all_wp_pages) >= ++$n ) wp_redirect( "edit.php?post_type=robo_gallery_table&showproinfo=1" );
119
  }
120
  add_action( 'load-post-new.php', 'rbs_gallery_redirect' );
114
  $n=1;
115
  $my_wp_query = new WP_Query();
116
  ++$n;
117
+ $all_wp_pages = $my_wp_query->query(array('post_type' => ROBO_GALLERY_TYPE_POST,'post_status' => array('any','trash')));
118
  if( count($all_wp_pages) >= ++$n ) wp_redirect( "edit.php?post_type=robo_gallery_table&showproinfo=1" );
119
  }
120
  add_action( 'load-post-new.php', 'rbs_gallery_redirect' );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://robosoft.co/robogallery
4
  Tags: gallery, photo gallery, images gallery, gallery images, 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.7
7
- Stable tag: 2.6.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -254,6 +254,10 @@ If any problem occurs, please contact us.
254
 
255
  == Changelog ==
256
 
 
 
 
 
257
  = 2.6.3 =
258
  * New gallery front end search functionality
259
  * Added search field in top menu block
@@ -344,6 +348,10 @@ If any problem occurs, please contact us.
344
 
345
  == Upgrade Notice ==
346
 
 
 
 
 
347
  = 2.6.3 =
348
  New gallery front end search functionality
349
  Added search field in top menu block
4
  Tags: gallery, photo gallery, images gallery, gallery images, 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.7
7
+ Stable tag: 2.6.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
254
 
255
  == Changelog ==
256
 
257
+ = 2.6.4 =
258
+ * Changed galleries management algorithm
259
+ * Added additional galleries checks
260
+
261
  = 2.6.3 =
262
  * New gallery front end search functionality
263
  * Added search field in top menu block
348
 
349
  == Upgrade Notice ==
350
 
351
+ = 2.6.4 =
352
+ Changed galleries management algorithm
353
+ Added additional galleries checks
354
+
355
  = 2.6.3 =
356
  New gallery front end search functionality
357
  Added search field in top menu block
robogallery.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Robo Gallery
4
  Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
5
- Version: 2.6.3
6
  Author: RoboSoft
7
  Plugin URI: http://robosoft.co/gallery
8
  Author URI: http://robosoft.co/gallery
@@ -15,13 +15,13 @@ if(!defined('WPINC'))die;
15
  if(!defined("ABSPATH"))exit;
16
 
17
  define("ROBO_GALLERY", 1);
18
- define("ROBO_GALLERY_VERSION", '2.6.3');
19
 
20
  if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
21
 
22
  define("ROBO_GALLERY_SPECIAL", 1);
23
- define("ROBO_GALLERY_EVENT_DATE", '2017-02-03');
24
- define("ROBO_GALLERY_EVENT_HOUR", 12);
25
 
26
  add_action( 'plugins_loaded', 'rbs_gallery_load_textdomain' );
27
  function rbs_gallery_load_textdomain() {
2
  /*
3
  Plugin Name: Robo Gallery
4
  Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
5
+ Version: 2.6.4
6
  Author: RoboSoft
7
  Plugin URI: http://robosoft.co/gallery
8
  Author URI: http://robosoft.co/gallery
15
  if(!defined("ABSPATH"))exit;
16
 
17
  define("ROBO_GALLERY", 1);
18
+ define("ROBO_GALLERY_VERSION", '2.6.4');
19
 
20
  if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
21
 
22
  define("ROBO_GALLERY_SPECIAL", 1);
23
+ define("ROBO_GALLERY_EVENT_DATE", '2017-02-11');
24
+ define("ROBO_GALLERY_EVENT_HOUR", 20);
25
 
26
  add_action( 'plugins_loaded', 'rbs_gallery_load_textdomain' );
27
  function rbs_gallery_load_textdomain() {