Gallery – Photo Gallery and Images Gallery - Version 2.7.13

Version Description

  • fixed of the outdated code elements, modification of the general structure of some gallery interface elements
Download this release

Release Info

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

Code changes from version 2.7.12 to 2.7.13

includes/extensions/{zip → zipdd}/Core/AbstractException.php RENAMED
File without changes
includes/extensions/{zip → zipdd}/Core/AbstractZipArchive.php RENAMED
File without changes
includes/extensions/{zip → zipdd}/Core/ZipUtils.php RENAMED
File without changes
includes/extensions/{zip → zipdd}/Core/index.html RENAMED
File without changes
includes/extensions/{zip → zipdd}/Exception/BufferNotEmpty.php RENAMED
File without changes
includes/extensions/{zip → zipdd}/Exception/HeaderPositionError.php RENAMED
File without changes
includes/extensions/{zip → zipdd}/Exception/HeadersSent.php RENAMED
File without changes
includes/extensions/{zip → zipdd}/Exception/IncompatiblePhpVersion.php RENAMED
File without changes
includes/extensions/{zip → zipdd}/Exception/InvalidPhpConfiguration.php RENAMED
File without changes
includes/extensions/{zip → zipdd}/Exception/LengthMismatch.php RENAMED
File without changes
includes/extensions/{zip → zipdd}/Exception/index.html RENAMED
File without changes
includes/extensions/{zip → zipdd}/File/Zip.php RENAMED
File without changes
includes/extensions/{zip → zipdd}/File/index.html RENAMED
File without changes
includes/extensions/{zip → zipdd}/Listener/ZipArchiveListener.php RENAMED
File without changes
includes/extensions/{zip → zipdd}/Listener/index.html RENAMED
File without changes
includes/extensions/{zip → zipdd}/Stream/ZipStream.php RENAMED
File without changes
includes/extensions/{zip → zipdd}/Stream/index.html RENAMED
File without changes
includes/extensions/{zip → zipdd}/index.html RENAMED
File without changes
includes/options/rbs_gallery_options_shortcode.php CHANGED
@@ -26,7 +26,7 @@ if(isset($_GET['post'])){
26
  $shortcode_group->add_field( array(
27
  'id' => ROBO_GALLERY_PREFIX.'short_desc',
28
  'type' => 'title',
29
- 'before_row' => '<div class="rbs_shortcode">[robo-gallery id="'.$_GET['post'].'"]</div>',
30
  'after_row' => '<div class="desc">'.__('use this shortcode to insert this gallery into page, post or widget','rbs_gallery')."</div>",
31
  ));
32
  }
26
  $shortcode_group->add_field( array(
27
  'id' => ROBO_GALLERY_PREFIX.'short_desc',
28
  'type' => 'title',
29
+ 'before_row' => '<div class="rbs_shortcode">[robo-gallery id="'.(int) $_GET['post'].'"]</div>',
30
  'after_row' => '<div class="desc">'.__('use this shortcode to insert this gallery into page, post or widget','rbs_gallery')."</div>",
31
  ));
32
  }
includes/rbs_gallery_ajax.php CHANGED
@@ -18,6 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
18
  if(!function_exists('rbs_gallery_ajax_init')){
19
  function rbs_gallery_ajax_init(){
20
  function rbs_gallery_ajax_callback(){
 
21
  if( !isset($_POST['function']) || !$_POST['function'] ) return ;
22
  $functionName = $_POST['function'];
23
  if ( preg_match("[^a-z_]", $functionName) ) return ;
18
  if(!function_exists('rbs_gallery_ajax_init')){
19
  function rbs_gallery_ajax_init(){
20
  function rbs_gallery_ajax_callback(){
21
+
22
  if( !isset($_POST['function']) || !$_POST['function'] ) return ;
23
  $functionName = $_POST['function'];
24
  if ( preg_match("[^a-z_]", $functionName) ) return ;
includes/rbs_gallery_menu.php CHANGED
@@ -34,30 +34,6 @@ if(!function_exists('robo_gallery_fix_menu')){
34
  add_action( 'init', 'robo_gallery_fix_menu' );
35
  }
36
 
37
- if(!function_exists('robo_gallery_settings_submenu_page') && 2==3){
38
- add_action('admin_menu', 'robo_gallery_settings_submenu_page');
39
- function robo_gallery_settings_submenu_page() {
40
- add_submenu_page( 'edit.php?post_type=robo_gallery_table', 'Settings Robo Gallery', 'Settings', 'manage_options', 'robo-gallery-settings', 'robo_gallery_settings_submenu_page_render' );
41
- }
42
- function robo_gallery_settings_submenu_page_render(){
43
- rbs_gallery_include('rbs_gallery_settings.php', ROBO_GALLERY_INCLUDES_PATH);
44
- }
45
-
46
- add_action( 'admin_init', 'robo_gallery_settings_init' );
47
- function robo_gallery_settings_init() {
48
- register_setting( 'rbs_gallery_settings', ROBO_GALLERY_PREFIX.'jqueryVersion' );
49
- /*register_setting( 'rbs_gallery_settings', ROBO_GALLERY_PREFIX.'switchStyle' );*/
50
- register_setting( 'rbs_gallery_settings', ROBO_GALLERY_PREFIX.'delay' );
51
- register_setting( 'rbs_gallery_settings', ROBO_GALLERY_PREFIX.'postShowText' );
52
- register_setting( 'rbs_gallery_settings', ROBO_GALLERY_PREFIX.'debugEnable' );
53
- register_setting( 'rbs_gallery_settings', ROBO_GALLERY_PREFIX.'categoryShow' );
54
- register_setting( 'rbs_gallery_settings', ROBO_GALLERY_PREFIX.'seo' );
55
- register_setting( 'rbs_gallery_settings', ROBO_GALLERY_PREFIX.'expressPanel' );
56
- register_setting( 'rbs_gallery_settings', ROBO_GALLERY_PREFIX.'fontLoad' );
57
-
58
- register_setting( 'rbs_gallery_settings', ROBO_GALLERY_PREFIX.'cloneBlock' );
59
- }
60
- }
61
 
62
  if(!function_exists('robo_gallery_about_submenu_page')){
63
  add_action('admin_menu', 'robo_gallery_about_submenu_page');
34
  add_action( 'init', 'robo_gallery_fix_menu' );
35
  }
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
  if(!function_exists('robo_gallery_about_submenu_page')){
39
  add_action('admin_menu', 'robo_gallery_about_submenu_page');
includes/rbs_gallery_settings.php CHANGED
@@ -83,7 +83,7 @@ class Robo_Gallery_Settings {
83
 
84
  $this->enqueue();
85
 
86
- $this->active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'cache';
87
 
88
  echo '
89
  <div class="wrap">
@@ -128,6 +128,7 @@ class Robo_Gallery_Settings {
128
 
129
  function cacheOptions(){
130
  $option_cache = (int) get_option(ROBO_GALLERY_PREFIX.'cache', '12');
 
131
  if(!$option_cache) $option_cache = 12;
132
  ?>
133
  <tr>
83
 
84
  $this->enqueue();
85
 
86
+ $this->active_tab = sanitize_title( isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'cache' );
87
 
88
  echo '
89
  <div class="wrap">
128
 
129
  function cacheOptions(){
130
  $option_cache = (int) get_option(ROBO_GALLERY_PREFIX.'cache', '12');
131
+
132
  if(!$option_cache) $option_cache = 12;
133
  ?>
134
  <tr>
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.12
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.12 =
263
  * fixed gallery swipe inverted direction, add new option for swipe direction switch to the left or to the right
264
 
@@ -459,6 +462,9 @@ If any problem occurs, please contact us.
459
 
460
  == Upgrade Notice ==
461
 
 
 
 
462
  = 2.7.12 =
463
  fixed gallery swipe inverted direction, add new option for swipe direction switch to the left or to the right
464
 
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.13
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.13 =
263
+ * fixed of the outdated code elements, modification of the general structure of some gallery interface elements
264
+
265
  = 2.7.12 =
266
  * fixed gallery swipe inverted direction, add new option for swipe direction switch to the left or to the right
267
 
462
 
463
  == Upgrade Notice ==
464
 
465
+ = 2.7.13 =
466
+ fixed of the outdated code elements, modification of the general structure of some gallery interface elements
467
+
468
  = 2.7.12 =
469
  fixed gallery swipe inverted direction, add new option for swipe direction switch to the left or to the right
470
 
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.12
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.7.12');
19
 
20
  if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
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.7.13
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.7.13');
19
 
20
  if( !defined("ROBO_GALLERY_PATH") ) define("ROBO_GALLERY_PATH", plugin_dir_path( __FILE__ ));
21