Version Description
- Fixed: Minor bug.
Download this release
Release Info
Developer | 10web |
Plugin | Photo Gallery by WD – Responsive Photo Gallery |
Version | 1.5.62 |
Comparing to | |
See all releases |
Code changes from version 1.5.61 to 1.5.62
- admin/controllers/Albums.php +11 -4
- admin/controllers/Galleries.php +10 -4
- admin/controllers/Themes.php +5 -2
- admin/models/Albums.php +7 -3
- admin/models/Galleries.php +19 -7
- admin/models/Themes.php +10 -3
- frontend/models/BWGModelGalleryBox.php +6 -1
- frontend/models/model.php +19 -8
- photo-gallery.php +3 -3
- readme.txt +4 -1
admin/controllers/Albums.php
CHANGED
@@ -265,8 +265,11 @@ class AlbumsController_bwg {
|
|
265 |
public function publish( $id, $bulk = FALSE, $all = FALSE ) {
|
266 |
global $wpdb;
|
267 |
$where = ($all ? '' : ' WHERE id=%d');
|
268 |
-
|
269 |
-
|
|
|
|
|
|
|
270 |
$message = 2;
|
271 |
if ($updated) {
|
272 |
$message = 9;
|
@@ -295,8 +298,12 @@ class AlbumsController_bwg {
|
|
295 |
public function unpublish( $id, $bulk = FALSE, $all = FALSE ) {
|
296 |
global $wpdb;
|
297 |
$where = ($all ? '' : ' WHERE id=%d');
|
298 |
-
|
299 |
-
|
|
|
|
|
|
|
|
|
300 |
$message = 2;
|
301 |
if ($updated) {
|
302 |
$message = 10;
|
265 |
public function publish( $id, $bulk = FALSE, $all = FALSE ) {
|
266 |
global $wpdb;
|
267 |
$where = ($all ? '' : ' WHERE id=%d');
|
268 |
+
if ( $where != '' ) {
|
269 |
+
$updated = $wpdb->query($wpdb->prepare('UPDATE `' . $wpdb->prefix . 'bwg_album` SET published=1' . $where, $id));
|
270 |
+
} else {
|
271 |
+
$updated = $wpdb->query('UPDATE `' . $wpdb->prefix . 'bwg_album` SET published=1' . $where);
|
272 |
+
}
|
273 |
$message = 2;
|
274 |
if ($updated) {
|
275 |
$message = 9;
|
298 |
public function unpublish( $id, $bulk = FALSE, $all = FALSE ) {
|
299 |
global $wpdb;
|
300 |
$where = ($all ? '' : ' WHERE id=%d');
|
301 |
+
if ( $where != '' ) {
|
302 |
+
$updated = $wpdb->query($wpdb->prepare('UPDATE `' . $wpdb->prefix . 'bwg_album` SET published=0' . $where, $id));
|
303 |
+
} else {
|
304 |
+
$updated = $wpdb->query('UPDATE `' . $wpdb->prefix . 'bwg_album` SET published=0' . $where);
|
305 |
+
|
306 |
+
}
|
307 |
$message = 2;
|
308 |
if ($updated) {
|
309 |
$message = 10;
|
admin/controllers/Galleries.php
CHANGED
@@ -211,8 +211,11 @@ class GalleriesController_bwg {
|
|
211 |
|
212 |
global $wpdb;
|
213 |
$where = ($all ? '' : ' WHERE id=%d');
|
214 |
-
|
215 |
-
|
|
|
|
|
|
|
216 |
|
217 |
if ( $updated !== FALSE ) {
|
218 |
$message = 9;
|
@@ -245,9 +248,12 @@ class GalleriesController_bwg {
|
|
245 |
public function unpublish( $id, $bulk = FALSE, $all = FALSE ) {
|
246 |
global $wpdb;
|
247 |
$where = ($all ? '' : ' WHERE id=%d');
|
248 |
-
$format = ($all ? '' : $id);
|
249 |
|
250 |
-
|
|
|
|
|
|
|
|
|
251 |
|
252 |
if ( $updated !== FALSE ) {
|
253 |
$message = 10;
|
211 |
|
212 |
global $wpdb;
|
213 |
$where = ($all ? '' : ' WHERE id=%d');
|
214 |
+
if( $where != '' ) {
|
215 |
+
$updated = $wpdb->query($wpdb->prepare('UPDATE `' . $wpdb->prefix . 'bwg_gallery` SET published=1' . $where, $id));
|
216 |
+
} else {
|
217 |
+
$updated = $wpdb->query('UPDATE `' . $wpdb->prefix . 'bwg_gallery` SET published=1' . $where);
|
218 |
+
}
|
219 |
|
220 |
if ( $updated !== FALSE ) {
|
221 |
$message = 9;
|
248 |
public function unpublish( $id, $bulk = FALSE, $all = FALSE ) {
|
249 |
global $wpdb;
|
250 |
$where = ($all ? '' : ' WHERE id=%d');
|
|
|
251 |
|
252 |
+
if( $where != '' ) {
|
253 |
+
$updated = $wpdb->query($wpdb->prepare('UPDATE `' . $wpdb->prefix . 'bwg_gallery` SET published=0' . $where, $id));
|
254 |
+
} else {
|
255 |
+
$updated = $wpdb->query('UPDATE `' . $wpdb->prefix . 'bwg_gallery` SET published=0' . $where);
|
256 |
+
}
|
257 |
|
258 |
if ( $updated !== FALSE ) {
|
259 |
$message = 10;
|
admin/controllers/Themes.php
CHANGED
@@ -156,8 +156,11 @@ class ThemesController_bwg {
|
|
156 |
else {
|
157 |
global $wpdb;
|
158 |
$where = ($all ? '' : ' WHERE id=%d');
|
159 |
-
|
160 |
-
|
|
|
|
|
|
|
161 |
if ( $delete ) {
|
162 |
$message = 3;
|
163 |
}
|
156 |
else {
|
157 |
global $wpdb;
|
158 |
$where = ($all ? '' : ' WHERE id=%d');
|
159 |
+
if( $where != '' ) {
|
160 |
+
$delete = $wpdb->query($wpdb->prepare('DELETE FROM `' . $wpdb->prefix . 'bwg_theme`' . $where, $id));
|
161 |
+
} else {
|
162 |
+
$delete = $wpdb->query('DELETE FROM `' . $wpdb->prefix . 'bwg_theme`' . $where);
|
163 |
+
}
|
164 |
if ( $delete ) {
|
165 |
$message = 3;
|
166 |
}
|
admin/models/Albums.php
CHANGED
@@ -98,9 +98,13 @@ class AlbumsModel_bwg {
|
|
98 |
}
|
99 |
}
|
100 |
|
101 |
-
|
102 |
-
|
103 |
-
|
|
|
|
|
|
|
|
|
104 |
if ( $delete ) {
|
105 |
if ( $all ) {
|
106 |
$message = 5;
|
98 |
}
|
99 |
}
|
100 |
|
101 |
+
if( !empty($prepareArgs) ) {
|
102 |
+
$delete = $wpdb->query($wpdb->prepare('DELETE FROM `' . $wpdb->prefix . 'bwg_album`' . $where, $prepareArgs));
|
103 |
+
$wpdb->query($wpdb->prepare('DELETE FROM `' . $wpdb->prefix . 'bwg_album_gallery` WHERE is_album="1"' . $alb_gal_where, $prepareArgs));
|
104 |
+
} else {
|
105 |
+
$delete = $wpdb->query('DELETE FROM `' . $wpdb->prefix . 'bwg_album`' . $where, $prepareArgs);
|
106 |
+
$wpdb->query('DELETE FROM `' . $wpdb->prefix . 'bwg_album_gallery` WHERE is_album="1"' . $alb_gal_where, $prepareArgs);
|
107 |
+
}
|
108 |
if ( $delete ) {
|
109 |
if ( $all ) {
|
110 |
$message = 5;
|
admin/models/Galleries.php
CHANGED
@@ -116,9 +116,15 @@ class GalleriesModel_bwg {
|
|
116 |
}
|
117 |
}
|
118 |
|
119 |
-
|
120 |
-
|
121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
if ( $delete ) {
|
123 |
if ( $all ) {
|
124 |
$message = 5;
|
@@ -1086,8 +1092,11 @@ class GalleriesModel_bwg {
|
|
1086 |
$where .= ' AND `filename` LIKE %s';
|
1087 |
$prepareArgs[] = "%" . $search . "%";
|
1088 |
}
|
1089 |
-
|
1090 |
-
|
|
|
|
|
|
|
1091 |
@ini_set('memory_limit', '-1');
|
1092 |
foreach ( $images_data as $image_data ) {
|
1093 |
$image_data->image_url = stripcslashes($image_data->image_url);
|
@@ -1190,8 +1199,11 @@ class GalleriesModel_bwg {
|
|
1190 |
$prepareArgs[] = $image_id;
|
1191 |
}
|
1192 |
}
|
1193 |
-
|
1194 |
-
|
|
|
|
|
|
|
1195 |
$search = WDWLibrary::get('s');
|
1196 |
if ( $search ) {
|
1197 |
$where .= ' AND `filename` LIKE %s';
|
116 |
}
|
117 |
}
|
118 |
|
119 |
+
if( !empty($prepareArgs) ) {
|
120 |
+
$delete = $wpdb->query($wpdb->prepare('DELETE FROM `' . $wpdb->prefix . 'bwg_gallery`' . $where, $prepareArgs));
|
121 |
+
$wpdb->query($wpdb->prepare('DELETE FROM `' . $wpdb->prefix . 'bwg_image`' . $image_where, $prepareArgs));
|
122 |
+
$wpdb->query($wpdb->prepare('DELETE FROM `' . $wpdb->prefix . 'bwg_album_gallery` WHERE is_album="0"' . $alb_gal_where, $prepareArgs));
|
123 |
+
} else {
|
124 |
+
$delete = $wpdb->query('DELETE FROM `' . $wpdb->prefix . 'bwg_gallery`' . $where);
|
125 |
+
$wpdb->query('DELETE FROM `' . $wpdb->prefix . 'bwg_image`' . $image_where);
|
126 |
+
$wpdb->query('DELETE FROM `' . $wpdb->prefix . 'bwg_album_gallery` WHERE is_album="0"' . $alb_gal_where);
|
127 |
+
}
|
128 |
if ( $delete ) {
|
129 |
if ( $all ) {
|
130 |
$message = 5;
|
1092 |
$where .= ' AND `filename` LIKE %s';
|
1093 |
$prepareArgs[] = "%" . $search . "%";
|
1094 |
}
|
1095 |
+
if( !empty($prepareArgs) ) {
|
1096 |
+
$images_data = $wpdb->get_results($wpdb->prepare('SELECT id, image_url, thumb_url, resolution_thumb FROM `' . $wpdb->prefix . 'bwg_image` WHERE ' . $where, $prepareArgs));
|
1097 |
+
} else {
|
1098 |
+
$images_data = $wpdb->get_results('SELECT id, image_url, thumb_url, resolution_thumb FROM `' . $wpdb->prefix . 'bwg_image` WHERE ' . $where);
|
1099 |
+
}
|
1100 |
@ini_set('memory_limit', '-1');
|
1101 |
foreach ( $images_data as $image_data ) {
|
1102 |
$image_data->image_url = stripcslashes($image_data->image_url);
|
1199 |
$prepareArgs[] = $image_id;
|
1200 |
}
|
1201 |
}
|
1202 |
+
if( !empty($prepareArgs) ) {
|
1203 |
+
$img_ids = $wpdb->get_results($wpdb->prepare('SELECT id, thumb_url FROM `' . $wpdb->prefix . 'bwg_image` WHERE ' . $where, $prepareArgs));
|
1204 |
+
} else {
|
1205 |
+
$img_ids = $wpdb->get_results('SELECT id, thumb_url FROM `' . $wpdb->prefix . 'bwg_image` WHERE ' . $where);
|
1206 |
+
}
|
1207 |
$search = WDWLibrary::get('s');
|
1208 |
if ( $search ) {
|
1209 |
$where .= ' AND `filename` LIKE %s';
|
admin/models/Themes.php
CHANGED
@@ -38,12 +38,19 @@ class ThemesModel_bwg {
|
|
38 |
$prepareArgs[] = $page_num;
|
39 |
$prepareArgs[] = $page_per;
|
40 |
}
|
41 |
-
|
42 |
if ( !$total ) {
|
43 |
-
|
|
|
|
|
|
|
|
|
44 |
}
|
45 |
else {
|
46 |
-
|
|
|
|
|
|
|
|
|
47 |
}
|
48 |
return $rows;
|
49 |
}
|
38 |
$prepareArgs[] = $page_num;
|
39 |
$prepareArgs[] = $page_per;
|
40 |
}
|
|
|
41 |
if ( !$total ) {
|
42 |
+
if ( !empty($prepareArgs) ) {
|
43 |
+
$rows = $wpdb->get_results( $wpdb->prepare( $query, $prepareArgs ) );
|
44 |
+
} else {
|
45 |
+
$rows = $wpdb->get_results($query);
|
46 |
+
}
|
47 |
}
|
48 |
else {
|
49 |
+
if ( !empty($prepareArgs) ) {
|
50 |
+
$rows = $wpdb->get_var($wpdb->prepare($query, $prepareArgs));
|
51 |
+
} else {
|
52 |
+
$rows = $wpdb->get_var($query);
|
53 |
+
}
|
54 |
}
|
55 |
return $rows;
|
56 |
}
|
frontend/models/BWGModelGalleryBox.php
CHANGED
@@ -62,6 +62,7 @@ class BWGModelGalleryBox {
|
|
62 |
}
|
63 |
|
64 |
$where = '';
|
|
|
65 |
if ( $filter_search_name !== '' ) {
|
66 |
$bwg_search_keys = explode(' ', $filter_search_name);
|
67 |
$alt_search = '(';
|
@@ -114,7 +115,11 @@ class BWGModelGalleryBox {
|
|
114 |
|
115 |
$query = 'SELECT image.*, rates.rate FROM ' . $wpdb->prefix . 'bwg_image as image LEFT JOIN (SELECT rate, image_id FROM ' . $wpdb->prefix . 'bwg_image_rate WHERE ip="' . $_SERVER['REMOTE_ADDR'] . '") as rates ON image.id=rates.image_id ' . $join . ' WHERE image.published=1 ' . $where;
|
116 |
$query .= ' ORDER BY ' . str_replace('RAND()', 'RAND(' . $bwg_random_seed . ')', $sort_by) . ' ' . $order_by . ', image.id asc';
|
117 |
-
|
|
|
|
|
|
|
|
|
118 |
|
119 |
$images = array();
|
120 |
if ( !empty($rows) ) {
|
62 |
}
|
63 |
|
64 |
$where = '';
|
65 |
+
$prepareArgs = array();
|
66 |
if ( $filter_search_name !== '' ) {
|
67 |
$bwg_search_keys = explode(' ', $filter_search_name);
|
68 |
$alt_search = '(';
|
115 |
|
116 |
$query = 'SELECT image.*, rates.rate FROM ' . $wpdb->prefix . 'bwg_image as image LEFT JOIN (SELECT rate, image_id FROM ' . $wpdb->prefix . 'bwg_image_rate WHERE ip="' . $_SERVER['REMOTE_ADDR'] . '") as rates ON image.id=rates.image_id ' . $join . ' WHERE image.published=1 ' . $where;
|
117 |
$query .= ' ORDER BY ' . str_replace('RAND()', 'RAND(' . $bwg_random_seed . ')', $sort_by) . ' ' . $order_by . ', image.id asc';
|
118 |
+
if( !empty($prepareArgs) ) {
|
119 |
+
$rows = $wpdb->get_results($wpdb->prepare($query, $prepareArgs));
|
120 |
+
} else {
|
121 |
+
$rows = $wpdb->get_results($query);
|
122 |
+
}
|
123 |
|
124 |
$images = array();
|
125 |
if ( !empty($rows) ) {
|
frontend/models/model.php
CHANGED
@@ -191,7 +191,8 @@ class BWGModelSite {
|
|
191 |
$where = 'image.gallery_id IN (SELECT alb_gal_id FROM `' . $wpdb->prefix . 'bwg_album_gallery` as albgal WHERE albgal.album_id=%d AND (SELECT gal.published from `' . $wpdb->prefix . 'bwg_gallery` as gal WHERE gal.id=albgal.alb_gal_id))';
|
192 |
$format = intval( $album_id );
|
193 |
} else {
|
194 |
-
$where = '(SELECT gal.published from `' . $wpdb->prefix . 'bwg_gallery` as gal WHERE gal.id=image.gallery_id)
|
|
|
195 |
}
|
196 |
|
197 |
$query = 'SELECT image.* FROM `' . $wpdb->prefix . 'bwg_image` as image WHERE image.published=1 AND ' . $where;
|
@@ -200,11 +201,11 @@ class BWGModelSite {
|
|
200 |
|
201 |
public function get_tags_rows_data($gallery_id) {
|
202 |
global $wpdb;
|
203 |
-
$format = '';
|
204 |
if( $gallery_id ) {
|
205 |
-
$
|
|
|
|
|
206 |
}
|
207 |
-
$row = $wpdb->get_results($wpdb->prepare('Select t1.* FROM ' . $wpdb->prefix . 'terms AS t1 LEFT JOIN ' . $wpdb->prefix . 'term_taxonomy AS t2 ON t1.term_id = t2.term_id' . ($gallery_id ? ' LEFT JOIN (SELECT DISTINCT tag_id , gallery_id FROM ' . $wpdb->prefix . 'bwg_image_tag) AS t3 ON t1.term_id=t3.tag_id' : '') . ' WHERE taxonomy="bwg_tag"' . ($gallery_id ? ' AND t3.gallery_id="%d"' : '') . ' ORDER BY t1.name ASC', $format));
|
208 |
return $row;
|
209 |
}
|
210 |
|
@@ -259,8 +260,13 @@ class BWGModelSite {
|
|
259 |
$query = 'SELECT * FROM `' . $wpdb->prefix . 'bwg_gallery` WHERE `published`=1' . str_replace('{{table}}', $wpdb->prefix . 'bwg_gallery', $search_where);
|
260 |
$limitation = ' ' . $order_by . ' ' . $limit_str;
|
261 |
$sql = $query . $limitation;
|
262 |
-
|
263 |
-
|
|
|
|
|
|
|
|
|
|
|
264 |
}
|
265 |
else {
|
266 |
$prepareArgsnew = array_merge($prepareArgs, $prepareArgs);
|
@@ -277,8 +283,13 @@ class BWGModelSite {
|
|
277 |
$query .= ')';
|
278 |
$limitation = ' ' . $order_by . ' ' . $limit_str;
|
279 |
$sql = $query . $limitation;
|
280 |
-
|
281 |
-
|
|
|
|
|
|
|
|
|
|
|
282 |
}
|
283 |
if ( $rows ) {
|
284 |
foreach ( $rows as $row ) {
|
191 |
$where = 'image.gallery_id IN (SELECT alb_gal_id FROM `' . $wpdb->prefix . 'bwg_album_gallery` as albgal WHERE albgal.album_id=%d AND (SELECT gal.published from `' . $wpdb->prefix . 'bwg_gallery` as gal WHERE gal.id=albgal.alb_gal_id))';
|
192 |
$format = intval( $album_id );
|
193 |
} else {
|
194 |
+
$where = '(SELECT gal.published from `' . $wpdb->prefix . 'bwg_gallery` as gal WHERE gal.id=image.gallery_id)=%d';
|
195 |
+
$format = 1;
|
196 |
}
|
197 |
|
198 |
$query = 'SELECT image.* FROM `' . $wpdb->prefix . 'bwg_image` as image WHERE image.published=1 AND ' . $where;
|
201 |
|
202 |
public function get_tags_rows_data($gallery_id) {
|
203 |
global $wpdb;
|
|
|
204 |
if( $gallery_id ) {
|
205 |
+
$row = $wpdb->get_results($wpdb->prepare('Select t1.* FROM ' . $wpdb->prefix . 'terms AS t1 LEFT JOIN ' . $wpdb->prefix . 'term_taxonomy AS t2 ON t1.term_id = t2.term_id' . ($gallery_id ? ' LEFT JOIN (SELECT DISTINCT tag_id , gallery_id FROM ' . $wpdb->prefix . 'bwg_image_tag) AS t3 ON t1.term_id=t3.tag_id' : '') . ' WHERE taxonomy="bwg_tag"' . ($gallery_id ? ' AND t3.gallery_id="%d"' : '') . ' ORDER BY t1.name ASC', $gallery_id));
|
206 |
+
} else {
|
207 |
+
$row = $wpdb->get_results('Select t1.* FROM ' . $wpdb->prefix . 'terms AS t1 LEFT JOIN ' . $wpdb->prefix . 'term_taxonomy AS t2 ON t1.term_id = t2.term_id' . ($gallery_id ? ' LEFT JOIN (SELECT DISTINCT tag_id , gallery_id FROM ' . $wpdb->prefix . 'bwg_image_tag) AS t3 ON t1.term_id=t3.tag_id' : '') . ' WHERE taxonomy="bwg_tag"' . ($gallery_id ? ' AND t3.gallery_id="%d"' : '') . ' ORDER BY t1.name ASC');
|
208 |
}
|
|
|
209 |
return $row;
|
210 |
}
|
211 |
|
260 |
$query = 'SELECT * FROM `' . $wpdb->prefix . 'bwg_gallery` WHERE `published`=1' . str_replace('{{table}}', $wpdb->prefix . 'bwg_gallery', $search_where);
|
261 |
$limitation = ' ' . $order_by . ' ' . $limit_str;
|
262 |
$sql = $query . $limitation;
|
263 |
+
if( !empty($prepareArgs) ) {
|
264 |
+
$rows = $wpdb->get_results($wpdb->prepare($sql, $prepareArgs));
|
265 |
+
$total = $wpdb->get_var($wpdb->prepare('SELECT count(*) FROM `' . $wpdb->prefix . 'bwg_gallery` WHERE `published`=1' . str_replace('{{table}}', $wpdb->prefix . 'bwg_gallery', $search_where), $prepareArgs));
|
266 |
+
} else {
|
267 |
+
$rows = $wpdb->get_results($sql);
|
268 |
+
$total = $wpdb->get_var('SELECT count(*) FROM `' . $wpdb->prefix . 'bwg_gallery` WHERE `published`=1' . str_replace('{{table}}', $wpdb->prefix . 'bwg_gallery', $search_where));
|
269 |
+
}
|
270 |
}
|
271 |
else {
|
272 |
$prepareArgsnew = array_merge($prepareArgs, $prepareArgs);
|
283 |
$query .= ')';
|
284 |
$limitation = ' ' . $order_by . ' ' . $limit_str;
|
285 |
$sql = $query . $limitation;
|
286 |
+
if( !empty($prepareArgs) ) {
|
287 |
+
$rows = $wpdb->get_results($wpdb->prepare($sql, $prepareArgs));
|
288 |
+
$total = count($wpdb->get_results($wpdb->prepare($query, $prepareArgsnew)));
|
289 |
+
} else {
|
290 |
+
$rows = $wpdb->get_results($sql);
|
291 |
+
$total = count($wpdb->get_results($query));
|
292 |
+
}
|
293 |
}
|
294 |
if ( $rows ) {
|
295 |
foreach ( $rows as $row ) {
|
photo-gallery.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Photo Gallery
|
4 |
* Plugin URI: https://10web.io/plugins/wordpress-photo-gallery/?utm_source=photo_gallery&utm_medium=free_plugin
|
5 |
* 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.
|
6 |
-
* Version: 1.5.
|
7 |
* Author: Photo Gallery Team
|
8 |
* Author URI: https://10web.io/plugins/?utm_source=photo_gallery&utm_medium=free_plugin
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -106,8 +106,8 @@ final class BWG {
|
|
106 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
107 |
$this->front_url = $this->plugin_url;
|
108 |
$this->main_file = plugin_basename(__FILE__);
|
109 |
-
$this->plugin_version = '1.5.
|
110 |
-
$this->db_version = '1.5.
|
111 |
$this->prefix = 'bwg';
|
112 |
$this->nicename = __('Photo Gallery', $this->prefix);
|
113 |
require_once($this->plugin_dir . '/framework/BWGOptions.php');
|
3 |
* Plugin Name: Photo Gallery
|
4 |
* Plugin URI: https://10web.io/plugins/wordpress-photo-gallery/?utm_source=photo_gallery&utm_medium=free_plugin
|
5 |
* 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.
|
6 |
+
* Version: 1.5.62
|
7 |
* Author: Photo Gallery Team
|
8 |
* Author URI: https://10web.io/plugins/?utm_source=photo_gallery&utm_medium=free_plugin
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
106 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
107 |
$this->front_url = $this->plugin_url;
|
108 |
$this->main_file = plugin_basename(__FILE__);
|
109 |
+
$this->plugin_version = '1.5.62';
|
110 |
+
$this->db_version = '1.5.62';
|
111 |
$this->prefix = 'bwg';
|
112 |
$this->nicename = __('Photo Gallery', $this->prefix);
|
113 |
require_once($this->plugin_dir . '/framework/BWGOptions.php');
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: webdorado,wdsupport,photogallerysupport,10web
|
|
3 |
Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 5.5
|
6 |
-
Stable tag: 1.5.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -281,6 +281,9 @@ Choose whether to display random or the first/last specific number of images.
|
|
281 |
**Theme.** Choose the theme, which will be applied to the gallery/album.
|
282 |
|
283 |
== Changelog ==
|
|
|
|
|
|
|
284 |
= 1.5.61 =
|
285 |
* Fixed: Conflicts with WP5.5.
|
286 |
* Fixed: Conflicts with PHP7.4.
|
3 |
Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 5.5
|
6 |
+
Stable tag: 1.5.62
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
281 |
**Theme.** Choose the theme, which will be applied to the gallery/album.
|
282 |
|
283 |
== Changelog ==
|
284 |
+
= 1.5.62 =
|
285 |
+
* Fixed: Minor bug.
|
286 |
+
|
287 |
= 1.5.61 =
|
288 |
* Fixed: Conflicts with WP5.5.
|
289 |
* Fixed: Conflicts with PHP7.4.
|