Version Description
Download this release
Release Info
Developer | contrid |
Plugin | Slideshow Gallery |
Version | 1.6.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.6.6 to 1.6.6.1
- readme.txt +1 -1
- slideshow-gallery-plugin.php +3 -3
- slideshow-gallery.php +4 -11
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://tribulant.com/
|
|
4 |
Tags: wordpress plugins, wordpress slideshow gallery, slides, slideshow, image gallery, images, gallery, featured content, content gallery, javascript, javascript slideshow, slideshow gallery
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 4.7.3
|
7 |
-
Stable tag: 1.6.6
|
8 |
|
9 |
Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website
|
10 |
|
4 |
Tags: wordpress plugins, wordpress slideshow gallery, slides, slideshow, image gallery, images, gallery, featured content, content gallery, javascript, javascript slideshow, slideshow gallery
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 4.7.3
|
7 |
+
Stable tag: 1.6.6.1
|
8 |
|
9 |
Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website
|
10 |
|
slideshow-gallery-plugin.php
CHANGED
@@ -4,7 +4,7 @@ if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
|
4 |
|
5 |
class GalleryPlugin extends GalleryCheckinit {
|
6 |
|
7 |
-
var $version = '1.6.6';
|
8 |
var $plugin_name;
|
9 |
var $plugin_base;
|
10 |
var $pre = 'Gallery';
|
@@ -302,10 +302,10 @@ class GalleryPlugin extends GalleryCheckinit {
|
|
302 |
$version = "1.5.3";
|
303 |
}
|
304 |
|
305 |
-
if (version_compare($cur_version, "1.6.6") < 0) {
|
306 |
$this -> initialize_options();
|
307 |
|
308 |
-
$version = "1.6.6";
|
309 |
}
|
310 |
|
311 |
//the current version is older.
|
4 |
|
5 |
class GalleryPlugin extends GalleryCheckinit {
|
6 |
|
7 |
+
var $version = '1.6.6.1';
|
8 |
var $plugin_name;
|
9 |
var $plugin_base;
|
10 |
var $pre = 'Gallery';
|
302 |
$version = "1.5.3";
|
303 |
}
|
304 |
|
305 |
+
if (version_compare($cur_version, "1.6.6.1") < 0) {
|
306 |
$this -> initialize_options();
|
307 |
|
308 |
+
$version = "1.6.6.1";
|
309 |
}
|
310 |
|
311 |
//the current version is older.
|
slideshow-gallery.php
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://tribulant.com/plugins/view/13/wordpress-slideshow-gallery
|
|
6 |
Author: Tribulant Software
|
7 |
Author URI: http://tribulant.com
|
8 |
Description: Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website. The slideshow is flexible and all aspects can easily be configured. Embedding or hardcoding the slideshow gallery is a breeze. To embed into a post/page, simply insert <code>[tribulant_slideshow]</code> into its content with an optional <code>post_id</code> parameter. To hardcode into any PHP file of your WordPress theme, simply use <code><?php if (function_exists('slideshow')) { slideshow($output = true, $post_id = false, $gallery_id = false, $params = array()); } ?></code>.
|
9 |
-
Version: 1.6.6
|
10 |
License: GNU General Public License v2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
Tags: slideshow gallery, slideshow, gallery, slider, jquery, bfithumb, galleries, photos, images
|
@@ -746,15 +746,7 @@ if (!class_exists('Gallery')) {
|
|
746 |
$orderfield = (empty($_GET['orderby'])) ? 'modified' : esc_html($_GET['orderby']);
|
747 |
$orderdirection = (empty($_GET['order'])) ? 'DESC' : strtoupper(esc_html($_GET['order']));
|
748 |
$order = array($orderfield, $orderdirection);
|
749 |
-
$data = $this -> paginate('Slide', false, false, false, false, $perpage, $order);
|
750 |
-
|
751 |
-
/*include_once($this -> plugin_base() . DS . 'vendors' . DS . 'class.slides-listtable.php');
|
752 |
-
$list_table = new Slideshow_List_Table();
|
753 |
-
$list_table -> data = $data[$this -> Slide() -> model];
|
754 |
-
$list_table -> per_page = $data['Paginate'] -> per_page;
|
755 |
-
$list_table -> total_items = $data['Paginate'] -> allcount;
|
756 |
-
$list_table -> prepare_items();*/
|
757 |
-
|
758 |
$this -> render('slides' . DS . 'index', array('list_table' => $list_table, 'slides' => $data[$this -> Slide() -> model], 'paginate' => $data['Paginate']), true, 'admin');
|
759 |
break;
|
760 |
}
|
@@ -811,7 +803,8 @@ if (!class_exists('Gallery')) {
|
|
811 |
$this -> render('galleries' . DS . 'hardcode', array('gallery' => $gallery), true, 'admin');
|
812 |
break;
|
813 |
case 'delete' :
|
814 |
-
|
|
|
815 |
if ($this -> Gallery() -> delete(esc_html($_GET['id']))) {
|
816 |
$msg_type = 'message';
|
817 |
$message = __('Gallery has been removed', $this -> plugin_name);
|
6 |
Author: Tribulant Software
|
7 |
Author URI: http://tribulant.com
|
8 |
Description: Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website. The slideshow is flexible and all aspects can easily be configured. Embedding or hardcoding the slideshow gallery is a breeze. To embed into a post/page, simply insert <code>[tribulant_slideshow]</code> into its content with an optional <code>post_id</code> parameter. To hardcode into any PHP file of your WordPress theme, simply use <code><?php if (function_exists('slideshow')) { slideshow($output = true, $post_id = false, $gallery_id = false, $params = array()); } ?></code>.
|
9 |
+
Version: 1.6.6.1
|
10 |
License: GNU General Public License v2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
Tags: slideshow gallery, slideshow, gallery, slider, jquery, bfithumb, galleries, photos, images
|
746 |
$orderfield = (empty($_GET['orderby'])) ? 'modified' : esc_html($_GET['orderby']);
|
747 |
$orderdirection = (empty($_GET['order'])) ? 'DESC' : strtoupper(esc_html($_GET['order']));
|
748 |
$order = array($orderfield, $orderdirection);
|
749 |
+
$data = $this -> paginate('Slide', false, false, false, false, $perpage, $order);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
750 |
$this -> render('slides' . DS . 'index', array('list_table' => $list_table, 'slides' => $data[$this -> Slide() -> model], 'paginate' => $data['Paginate']), true, 'admin');
|
751 |
break;
|
752 |
}
|
803 |
$this -> render('galleries' . DS . 'hardcode', array('gallery' => $gallery), true, 'admin');
|
804 |
break;
|
805 |
case 'delete' :
|
806 |
+
$id = esc_html($_GET['id']);
|
807 |
+
if (!empty($id)) {
|
808 |
if ($this -> Gallery() -> delete(esc_html($_GET['id']))) {
|
809 |
$msg_type = 'message';
|
810 |
$message = __('Gallery has been removed', $this -> plugin_name);
|