Version Description
Download this release
Release Info
Developer | webdorado |
Plugin | Photo Gallery by WD – Responsive Photo Gallery |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
admin/controllers/BWGControllerAlbums_bwg.php
CHANGED
@@ -139,7 +139,7 @@ class BWGControllerAlbums_bwg {
|
|
139 |
$description = (isset($_POST['description']) ? stripslashes($_POST['description']) : '');
|
140 |
$preview_image = ((isset($_POST['preview_image']) && esc_html(stripslashes($_POST['preview_image'])) != '') ? esc_html(stripslashes($_POST['preview_image'])) : '');
|
141 |
$order = ((isset($_POST['order']) && esc_html(stripslashes($_POST['order'])) != '') ? esc_html(stripslashes($_POST['order'])) : '');
|
142 |
-
$author = (
|
143 |
$published = ((isset($_POST['published']) && esc_html(stripslashes($_POST['published'])) != '') ? esc_html(stripslashes($_POST['published'])) : '');
|
144 |
$albums_galleries = (isset($_POST['albums_galleries']) ? esc_html(stripslashes($_POST['albums_galleries'])) : '');
|
145 |
if ($id != 0) {
|
139 |
$description = (isset($_POST['description']) ? stripslashes($_POST['description']) : '');
|
140 |
$preview_image = ((isset($_POST['preview_image']) && esc_html(stripslashes($_POST['preview_image'])) != '') ? esc_html(stripslashes($_POST['preview_image'])) : '');
|
141 |
$order = ((isset($_POST['order']) && esc_html(stripslashes($_POST['order'])) != '') ? esc_html(stripslashes($_POST['order'])) : '');
|
142 |
+
$author = get_current_user_id();
|
143 |
$published = ((isset($_POST['published']) && esc_html(stripslashes($_POST['published'])) != '') ? esc_html(stripslashes($_POST['published'])) : '');
|
144 |
$albums_galleries = (isset($_POST['albums_galleries']) ? esc_html(stripslashes($_POST['albums_galleries'])) : '');
|
145 |
if ($id != 0) {
|
admin/models/BWGModelAlbums_bwg.php
CHANGED
@@ -35,7 +35,7 @@ class BWGModelAlbums_bwg {
|
|
35 |
else {
|
36 |
$limit = 0;
|
37 |
}
|
38 |
-
$query = "SELECT table1.*,table2.display_name FROM " . $wpdb->prefix . "bwg_album as table1
|
39 |
$rows = $wpdb->get_results($query);
|
40 |
return $rows;
|
41 |
}
|
35 |
else {
|
36 |
$limit = 0;
|
37 |
}
|
38 |
+
$query = "SELECT table1.*,table2.display_name FROM " . $wpdb->prefix . "bwg_album as table1 LEFT JOIN " . $wpdb->prefix . "users as table2 ON table1.author=table2.id " . $where . $order_by . " LIMIT " . $limit . ",20";
|
39 |
$rows = $wpdb->get_results($query);
|
40 |
return $rows;
|
41 |
}
|
admin/models/BWGModelGalleries_bwg.php
CHANGED
@@ -63,7 +63,7 @@ class BWGModelGalleries_bwg {
|
|
63 |
else {
|
64 |
$limit = 0;
|
65 |
}
|
66 |
-
$query = "SELECT table1.*,table2.display_name FROM " . $wpdb->prefix . "bwg_gallery as table1
|
67 |
$rows = $wpdb->get_results($query);
|
68 |
return $rows;
|
69 |
}
|
63 |
else {
|
64 |
$limit = 0;
|
65 |
}
|
66 |
+
$query = "SELECT table1.*,table2.display_name FROM " . $wpdb->prefix . "bwg_gallery as table1 LEFT JOIN " . $wpdb->prefix . "users as table2 ON table1.author=table2.id " . $where . $order_by . " LIMIT " . $limit . ",20";
|
67 |
$rows = $wpdb->get_results($query);
|
68 |
return $rows;
|
69 |
}
|
photo-gallery.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: http://web-dorado.com/products/wordpress-photo-gallery-plugin.html
|
6 |
* Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
|
7 |
-
* Version: 1.0.
|
8 |
* Author: http://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: http://web-dorado.com/products/wordpress-photo-gallery-plugin.html
|
6 |
* Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
|
7 |
+
* Version: 1.0.3
|
8 |
* Author: http://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-photo-gallery-plugin.html
|
|
4 |
Tags: gallery, galleries, photo , photo gallery , image gallery, video gallery, wordpress gallery plugin, images gallery, album , photo albums, Simple gallery, best gallery plugin , free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, image, photogallery, widget gallery, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, Fotogalerie, Galleria, galerie, galeri
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.8
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
Tags: gallery, galleries, photo , photo gallery , image gallery, video gallery, wordpress gallery plugin, images gallery, album , photo albums, Simple gallery, best gallery plugin , free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, image, photogallery, widget gallery, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, Fotogalerie, Galleria, galerie, galeri
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.8
|
7 |
+
Stable tag: 1.0.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|