Version Description
- Changed variables to avoid confliction with other plugins.
Download this release
Release Info
Developer | Gallery-Bank |
Plugin | Gallery Bank: WordPress Photo Gallery Plugin |
Version | 3.0.85 |
Comparing to | |
See all releases |
Code changes from version 3.0.84 to 3.0.85
- front_views/gallery-bank-shortcode.php +4 -4
- gallery-bank.php +6 -6
- lib/add-new-album-class.php +1 -1
- lib/gallery-bank-class.php +57 -57
- lib/upload.php +1 -1
- readme.txt +7 -3
- views/album-preview.php +1 -1
- views/album-sorting.php +1 -1
- views/dashboard.php +1 -1
- views/edit-album.php +1 -1
- views/gallery-bank-system-report.php +1 -1
- views/header.php +1 -1
- views/images-sorting.php +1 -1
- views/other-services.php +1 -1
- views/purchase_pro_version.php +1 -1
- views/recommended-plugins.php +1 -1
- views/settings.php +1 -1
- views/shortcode.php +1 -1
front_views/gallery-bank-shortcode.php
CHANGED
@@ -30,10 +30,10 @@
|
|
30 |
<?php
|
31 |
global $wpdb,$current_user;
|
32 |
|
33 |
-
$
|
34 |
-
$current_user->role = array_keys($current_user->$
|
35 |
-
$
|
36 |
-
if($
|
37 |
{
|
38 |
$albums = $wpdb->get_results
|
39 |
(
|
30 |
<?php
|
31 |
global $wpdb,$current_user;
|
32 |
|
33 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
34 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
35 |
+
$gb_role = $current_user->role[0];
|
36 |
+
if($gb_role == "administrator")
|
37 |
{
|
38 |
$albums = $wpdb->get_results
|
39 |
(
|
gallery-bank.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin URI: http://tech-banker.com
|
5 |
Description: Gallery Bank is an easy to use Responsive WordPress Gallery Plugin for photos, videos, galleries and albums.
|
6 |
Author: Tech Banker
|
7 |
-
Version: 3.0.
|
8 |
Author URI: http://tech-banker.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
@@ -113,15 +113,15 @@ function add_gallery_bank_icon($meta = TRUE)
|
|
113 |
|
114 |
if(is_super_admin())
|
115 |
{
|
116 |
-
$
|
117 |
}
|
118 |
else
|
119 |
{
|
120 |
-
$
|
121 |
-
$current_user->role = array_keys($current_user->$
|
122 |
-
$
|
123 |
}
|
124 |
-
switch ($
|
125 |
case "administrator":
|
126 |
$wp_admin_bar->add_menu(array(
|
127 |
"id" => "gallery_bank_links",
|
4 |
Plugin URI: http://tech-banker.com
|
5 |
Description: Gallery Bank is an easy to use Responsive WordPress Gallery Plugin for photos, videos, galleries and albums.
|
6 |
Author: Tech Banker
|
7 |
+
Version: 3.0.85
|
8 |
Author URI: http://tech-banker.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
113 |
|
114 |
if(is_super_admin())
|
115 |
{
|
116 |
+
$gb_role = "administrator";
|
117 |
}
|
118 |
else
|
119 |
{
|
120 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
121 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
122 |
+
$gb_role = $current_user->role[0];
|
123 |
}
|
124 |
+
switch ($gb_role) {
|
125 |
case "administrator":
|
126 |
$wp_admin_bar->add_menu(array(
|
127 |
"id" => "gallery_bank_links",
|
lib/add-new-album-class.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
$dynamicArray = array();
|
3 |
$dynamicId = mt_rand(10, 10000);
|
4 |
-
switch($
|
5 |
{
|
6 |
case "administrator":
|
7 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
$dynamicArray = array();
|
3 |
$dynamicId = mt_rand(10, 10000);
|
4 |
+
switch($gb_role)
|
5 |
{
|
6 |
case "administrator":
|
7 |
$user_role_permission = "manage_options";
|
lib/gallery-bank-class.php
CHANGED
@@ -8,15 +8,15 @@ function create_global_menus_for_gallery_bank()
|
|
8 |
global $wpdb,$current_user;
|
9 |
if(is_super_admin())
|
10 |
{
|
11 |
-
$
|
12 |
}
|
13 |
else
|
14 |
{
|
15 |
-
$
|
16 |
-
$current_user->role = array_keys($current_user->$
|
17 |
-
$
|
18 |
}
|
19 |
-
switch ($
|
20 |
case "administrator":
|
21 |
add_menu_page("Gallery Bank", __("Gallery Bank", gallery_bank), "read", "gallery_bank", "", plugins_url("/assets/images/icon.png" , dirname(__FILE__)));
|
22 |
add_submenu_page("gallery_bank", "Dashboard", __("Dashboard", gallery_bank), "read", "gallery_bank", "gallery_bank");
|
@@ -94,13 +94,13 @@ function gallery_bank()
|
|
94 |
global $wpdb,$current_user,$user_role_permission;
|
95 |
if(is_super_admin())
|
96 |
{
|
97 |
-
$
|
98 |
}
|
99 |
else
|
100 |
{
|
101 |
-
$
|
102 |
-
$current_user->role = array_keys($current_user->$
|
103 |
-
$
|
104 |
}
|
105 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
106 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/dashboard.php";
|
@@ -112,13 +112,13 @@ function gallery_bank_shortcode()
|
|
112 |
global $wpdb, $current_user,$wp_version;
|
113 |
if(is_super_admin())
|
114 |
{
|
115 |
-
$
|
116 |
}
|
117 |
else
|
118 |
{
|
119 |
-
$
|
120 |
-
$current_user->role = array_keys($current_user->$
|
121 |
-
$
|
122 |
}
|
123 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
124 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/shortcode.php";
|
@@ -128,13 +128,13 @@ function save_album()
|
|
128 |
global $wpdb,$current_user,$user_role_permission;
|
129 |
if(is_super_admin())
|
130 |
{
|
131 |
-
$
|
132 |
}
|
133 |
else
|
134 |
{
|
135 |
-
$
|
136 |
-
$current_user->role = array_keys($current_user->$
|
137 |
-
$
|
138 |
}
|
139 |
$album_count = $wpdb->get_var
|
140 |
(
|
@@ -156,13 +156,13 @@ function global_settings()
|
|
156 |
global $wpdb, $current_user,$wp_version;
|
157 |
if(is_super_admin())
|
158 |
{
|
159 |
-
$
|
160 |
}
|
161 |
else
|
162 |
{
|
163 |
-
$
|
164 |
-
$current_user->role = array_keys($current_user->$
|
165 |
-
$
|
166 |
}
|
167 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
168 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/settings.php";
|
@@ -173,13 +173,13 @@ function gallery_album_sorting()
|
|
173 |
global $wpdb,$current_user,$user_role_permission;
|
174 |
if(is_super_admin())
|
175 |
{
|
176 |
-
$
|
177 |
}
|
178 |
else
|
179 |
{
|
180 |
-
$
|
181 |
-
$current_user->role = array_keys($current_user->$
|
182 |
-
$
|
183 |
}
|
184 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
185 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/album-sorting.php";
|
@@ -190,13 +190,13 @@ function images_sorting()
|
|
190 |
global $wpdb,$current_user,$user_role_permission;
|
191 |
if(is_super_admin())
|
192 |
{
|
193 |
-
$
|
194 |
}
|
195 |
else
|
196 |
{
|
197 |
-
$
|
198 |
-
$current_user->role = array_keys($current_user->$
|
199 |
-
$
|
200 |
}
|
201 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
202 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/images-sorting.php";
|
@@ -207,13 +207,13 @@ function album_preview()
|
|
207 |
global $wpdb,$current_user,$user_role_permission;
|
208 |
if(is_super_admin())
|
209 |
{
|
210 |
-
$
|
211 |
}
|
212 |
else
|
213 |
{
|
214 |
-
$
|
215 |
-
$current_user->role = array_keys($current_user->$
|
216 |
-
$
|
217 |
}
|
218 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
219 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/album-preview.php";
|
@@ -225,13 +225,13 @@ function gallery_bank_system_status()
|
|
225 |
global $wpdb,$wp_version,$current_user,$user_role_permission;
|
226 |
if(is_super_admin())
|
227 |
{
|
228 |
-
$
|
229 |
}
|
230 |
else
|
231 |
{
|
232 |
-
$
|
233 |
-
$current_user->role = array_keys($current_user->$
|
234 |
-
$
|
235 |
}
|
236 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
237 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/gallery-bank-system-report.php";
|
@@ -242,13 +242,13 @@ function gallery_bank_purchase()
|
|
242 |
global $wpdb,$current_user,$user_role_permission;
|
243 |
if(is_super_admin())
|
244 |
{
|
245 |
-
$
|
246 |
}
|
247 |
else
|
248 |
{
|
249 |
-
$
|
250 |
-
$current_user->role = array_keys($current_user->$
|
251 |
-
$
|
252 |
}
|
253 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
254 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/purchase_pro_version.php";
|
@@ -259,13 +259,13 @@ function gallery_bank_recommended_plugins()
|
|
259 |
global $wpdb,$current_user,$user_role_permission;
|
260 |
if(is_super_admin())
|
261 |
{
|
262 |
-
$
|
263 |
}
|
264 |
else
|
265 |
{
|
266 |
-
$
|
267 |
-
$current_user->role = array_keys($current_user->$
|
268 |
-
$
|
269 |
}
|
270 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
271 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/recommended-plugins.php";
|
@@ -276,13 +276,13 @@ function gallery_bank_other_services()
|
|
276 |
global $wpdb,$current_user,$user_role_permission;
|
277 |
if(is_super_admin())
|
278 |
{
|
279 |
-
$
|
280 |
}
|
281 |
else
|
282 |
{
|
283 |
-
$
|
284 |
-
$current_user->role = array_keys($current_user->$
|
285 |
-
$
|
286 |
}
|
287 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
288 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/other-services.php";
|
@@ -353,13 +353,13 @@ if (isset($_REQUEST["action"])) {
|
|
353 |
global $wpdb,$current_user,$user_role_permission;
|
354 |
if(is_super_admin())
|
355 |
{
|
356 |
-
$
|
357 |
}
|
358 |
else
|
359 |
{
|
360 |
-
$
|
361 |
-
$current_user->role = array_keys($current_user->$
|
362 |
-
$
|
363 |
}
|
364 |
include_once GALLERY_BK_PLUGIN_DIR . "/lib/add-new-album-class.php";
|
365 |
}
|
@@ -378,13 +378,13 @@ if (isset($_REQUEST["action"])) {
|
|
378 |
global $wpdb,$current_user,$user_role_permission;
|
379 |
if(is_super_admin())
|
380 |
{
|
381 |
-
$
|
382 |
}
|
383 |
else
|
384 |
{
|
385 |
-
$
|
386 |
-
$current_user->role = array_keys($current_user->$
|
387 |
-
$
|
388 |
}
|
389 |
$filetype = $_REQUEST["file_type"];
|
390 |
if($filetype == "image/jpeg" || $filetype == "image/jpg" || $filetype == "image/png" || $filetype == "image/gif" )
|
8 |
global $wpdb,$current_user;
|
9 |
if(is_super_admin())
|
10 |
{
|
11 |
+
$gb_role = "administrator";
|
12 |
}
|
13 |
else
|
14 |
{
|
15 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
16 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
17 |
+
$gb_role = $current_user->role[0];
|
18 |
}
|
19 |
+
switch ($gb_role) {
|
20 |
case "administrator":
|
21 |
add_menu_page("Gallery Bank", __("Gallery Bank", gallery_bank), "read", "gallery_bank", "", plugins_url("/assets/images/icon.png" , dirname(__FILE__)));
|
22 |
add_submenu_page("gallery_bank", "Dashboard", __("Dashboard", gallery_bank), "read", "gallery_bank", "gallery_bank");
|
94 |
global $wpdb,$current_user,$user_role_permission;
|
95 |
if(is_super_admin())
|
96 |
{
|
97 |
+
$gb_role = "administrator";
|
98 |
}
|
99 |
else
|
100 |
{
|
101 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
102 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
103 |
+
$gb_role = $current_user->role[0];
|
104 |
}
|
105 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
106 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/dashboard.php";
|
112 |
global $wpdb, $current_user,$wp_version;
|
113 |
if(is_super_admin())
|
114 |
{
|
115 |
+
$gb_role = "administrator";
|
116 |
}
|
117 |
else
|
118 |
{
|
119 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
120 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
121 |
+
$gb_role = $current_user->role[0];
|
122 |
}
|
123 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
124 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/shortcode.php";
|
128 |
global $wpdb,$current_user,$user_role_permission;
|
129 |
if(is_super_admin())
|
130 |
{
|
131 |
+
$gb_role = "administrator";
|
132 |
}
|
133 |
else
|
134 |
{
|
135 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
136 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
137 |
+
$gb_role = $current_user->role[0];
|
138 |
}
|
139 |
$album_count = $wpdb->get_var
|
140 |
(
|
156 |
global $wpdb, $current_user,$wp_version;
|
157 |
if(is_super_admin())
|
158 |
{
|
159 |
+
$gb_role = "administrator";
|
160 |
}
|
161 |
else
|
162 |
{
|
163 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
164 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
165 |
+
$gb_role = $current_user->role[0];
|
166 |
}
|
167 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
168 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/settings.php";
|
173 |
global $wpdb,$current_user,$user_role_permission;
|
174 |
if(is_super_admin())
|
175 |
{
|
176 |
+
$gb_role = "administrator";
|
177 |
}
|
178 |
else
|
179 |
{
|
180 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
181 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
182 |
+
$gb_role = $current_user->role[0];
|
183 |
}
|
184 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
185 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/album-sorting.php";
|
190 |
global $wpdb,$current_user,$user_role_permission;
|
191 |
if(is_super_admin())
|
192 |
{
|
193 |
+
$gb_role = "administrator";
|
194 |
}
|
195 |
else
|
196 |
{
|
197 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
198 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
199 |
+
$gb_role = $current_user->role[0];
|
200 |
}
|
201 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
202 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/images-sorting.php";
|
207 |
global $wpdb,$current_user,$user_role_permission;
|
208 |
if(is_super_admin())
|
209 |
{
|
210 |
+
$gb_role = "administrator";
|
211 |
}
|
212 |
else
|
213 |
{
|
214 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
215 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
216 |
+
$gb_role = $current_user->role[0];
|
217 |
}
|
218 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
219 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/album-preview.php";
|
225 |
global $wpdb,$wp_version,$current_user,$user_role_permission;
|
226 |
if(is_super_admin())
|
227 |
{
|
228 |
+
$gb_role = "administrator";
|
229 |
}
|
230 |
else
|
231 |
{
|
232 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
233 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
234 |
+
$gb_role = $current_user->role[0];
|
235 |
}
|
236 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
237 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/gallery-bank-system-report.php";
|
242 |
global $wpdb,$current_user,$user_role_permission;
|
243 |
if(is_super_admin())
|
244 |
{
|
245 |
+
$gb_role = "administrator";
|
246 |
}
|
247 |
else
|
248 |
{
|
249 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
250 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
251 |
+
$gb_role = $current_user->role[0];
|
252 |
}
|
253 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
254 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/purchase_pro_version.php";
|
259 |
global $wpdb,$current_user,$user_role_permission;
|
260 |
if(is_super_admin())
|
261 |
{
|
262 |
+
$gb_role = "administrator";
|
263 |
}
|
264 |
else
|
265 |
{
|
266 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
267 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
268 |
+
$gb_role = $current_user->role[0];
|
269 |
}
|
270 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
271 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/recommended-plugins.php";
|
276 |
global $wpdb,$current_user,$user_role_permission;
|
277 |
if(is_super_admin())
|
278 |
{
|
279 |
+
$gb_role = "administrator";
|
280 |
}
|
281 |
else
|
282 |
{
|
283 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
284 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
285 |
+
$gb_role = $current_user->role[0];
|
286 |
}
|
287 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
|
288 |
include_once GALLERY_BK_PLUGIN_DIR . "/views/other-services.php";
|
353 |
global $wpdb,$current_user,$user_role_permission;
|
354 |
if(is_super_admin())
|
355 |
{
|
356 |
+
$gb_role = "administrator";
|
357 |
}
|
358 |
else
|
359 |
{
|
360 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
361 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
362 |
+
$gb_role = $current_user->role[0];
|
363 |
}
|
364 |
include_once GALLERY_BK_PLUGIN_DIR . "/lib/add-new-album-class.php";
|
365 |
}
|
378 |
global $wpdb,$current_user,$user_role_permission;
|
379 |
if(is_super_admin())
|
380 |
{
|
381 |
+
$gb_role = "administrator";
|
382 |
}
|
383 |
else
|
384 |
{
|
385 |
+
$gb_role = $wpdb->prefix . "capabilities";
|
386 |
+
$current_user->role = array_keys($current_user->$gb_role);
|
387 |
+
$gb_role = $current_user->role[0];
|
388 |
}
|
389 |
$filetype = $_REQUEST["file_type"];
|
390 |
if($filetype == "image/jpeg" || $filetype == "image/jpg" || $filetype == "image/png" || $filetype == "image/gif" )
|
lib/upload.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
switch($
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
|
3 |
+
switch($gb_role)
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Gallery-Bank,contact-banker
|
|
3 |
Tags: add album, add gallery, add picture, add pictures, admin, AJAX, album, best gallery, best gallery plugin, best image slider, best portfolio, bilder, comments, easy media gallery, fancy gallery, filterable gallery, filterable portfolio, foto, fotoalbum, galary, galerie, galerij, galery, gallary, Galleria, gallerie, gallery, gallery decription, gallery image, gallery lightbox, Gallery Plugin, gelary, gellary, gellery, google, grid gallery, html5 player, html5 video, html5-audio, image, image album, image gallery, image gallery plugin, image lightbox, image rotate, image slider, image slideshow, images, jquery, jquery gallery, jquery slider, jquery slideshow, lightbox, links, media gallery, multiple pictures, nextgen gallery, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photo gallery, Photo Slider, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, plugin gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive gallery, responsive image gallery, responsive slider, responsive slideshow, seo, seo image, shortcode, sidebar, slide show, slideshow, thumbnail, twitter, upload images, upload photos, view images, view pictures, website gallery, widget, wordpress gallery plugin, wordpress portfolio plugin, wordpress seo, wp gallery, wp gallery plugin, wp slider
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 4.0.1
|
6 |
-
Stable tag: 3.0.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -21,7 +21,7 @@ Gallery Bank Regular updates and simplicity of usage along with efficient functi
|
|
21 |
|
22 |
[vimeo https://vimeo.com/92378296]
|
23 |
|
24 |
-
> #### **Live Demos**
|
25 |
|
26 |
> * [Gallery Bank](http://tech-banker.com/products/wp-gallery-bank/)
|
27 |
> * [Gallery Bank Demos](http://tech-banker.com/products/wp-gallery-bank/demo/)
|
@@ -487,7 +487,11 @@ is False in shortcode.
|
|
487 |
|
488 |
== Changelog ==
|
489 |
|
490 |
-
= 3.0.
|
|
|
|
|
|
|
|
|
491 |
|
492 |
* Minor Bugs Fixed Related to Galleries Display
|
493 |
|
3 |
Tags: add album, add gallery, add picture, add pictures, admin, AJAX, album, best gallery, best gallery plugin, best image slider, best portfolio, bilder, comments, easy media gallery, fancy gallery, filterable gallery, filterable portfolio, foto, fotoalbum, galary, galerie, galerij, galery, gallary, Galleria, gallerie, gallery, gallery decription, gallery image, gallery lightbox, Gallery Plugin, gelary, gellary, gellery, google, grid gallery, html5 player, html5 video, html5-audio, image, image album, image gallery, image gallery plugin, image lightbox, image rotate, image slider, image slideshow, images, jquery, jquery gallery, jquery slider, jquery slideshow, lightbox, links, media gallery, multiple pictures, nextgen gallery, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photo gallery, Photo Slider, photoalbum, photogallery, photos, photoset, picture, pictures, plugin, plugin for gallery, plugin gallery, portfolio, portfolio gallery, portfolio plugin, Post, posts, responsive gallery, responsive image gallery, responsive slider, responsive slideshow, seo, seo image, shortcode, sidebar, slide show, slideshow, thumbnail, twitter, upload images, upload photos, view images, view pictures, website gallery, widget, wordpress gallery plugin, wordpress portfolio plugin, wordpress seo, wp gallery, wp gallery plugin, wp slider
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 4.0.1
|
6 |
+
Stable tag: 3.0.85
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
21 |
|
22 |
[vimeo https://vimeo.com/92378296]
|
23 |
|
24 |
+
> #### **Live Demos - Gallery Bank**
|
25 |
|
26 |
> * [Gallery Bank](http://tech-banker.com/products/wp-gallery-bank/)
|
27 |
> * [Gallery Bank Demos](http://tech-banker.com/products/wp-gallery-bank/demo/)
|
487 |
|
488 |
== Changelog ==
|
489 |
|
490 |
+
= 3.0.85 =
|
491 |
+
|
492 |
+
* Changed variables to avoid confliction with other plugins.
|
493 |
+
|
494 |
+
= 3.0.84 =
|
495 |
|
496 |
* Minor Bugs Fixed Related to Galleries Display
|
497 |
|
views/album-preview.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
switch($
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
|
3 |
+
switch($gb_role)
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
views/album-sorting.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
switch($
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
|
3 |
+
switch($gb_role)
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
views/dashboard.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
switch($
|
3 |
{
|
4 |
case "administrator":
|
5 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
+
switch($gb_role)
|
3 |
{
|
4 |
case "administrator":
|
5 |
$user_role_permission = "manage_options";
|
views/edit-album.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
switch($
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
|
3 |
+
switch($gb_role)
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
views/gallery-bank-system-report.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
switch($
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
|
3 |
+
switch($gb_role)
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
views/header.php
CHANGED
@@ -145,7 +145,7 @@ switch($_REQUEST["page"])
|
|
145 |
</ul>
|
146 |
|
147 |
<?php
|
148 |
-
switch ($
|
149 |
{
|
150 |
case "administrator":
|
151 |
?>
|
145 |
</ul>
|
146 |
|
147 |
<?php
|
148 |
+
switch ($gb_role)
|
149 |
{
|
150 |
case "administrator":
|
151 |
?>
|
views/images-sorting.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
switch($
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
|
3 |
+
switch($gb_role)
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
views/other-services.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
switch($
|
3 |
{
|
4 |
case "administrator":
|
5 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
+
switch($gb_role)
|
3 |
{
|
4 |
case "administrator":
|
5 |
$user_role_permission = "manage_options";
|
views/purchase_pro_version.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
switch($
|
3 |
{
|
4 |
case "administrator":
|
5 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
+
switch($gb_role)
|
3 |
{
|
4 |
case "administrator":
|
5 |
$user_role_permission = "manage_options";
|
views/recommended-plugins.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
switch($
|
3 |
{
|
4 |
case "administrator":
|
5 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
+
switch($gb_role)
|
3 |
{
|
4 |
case "administrator":
|
5 |
$user_role_permission = "manage_options";
|
views/settings.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
switch($
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
|
3 |
+
switch($gb_role)
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
views/shortcode.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
switch($
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|
1 |
<?php
|
2 |
|
3 |
+
switch($gb_role)
|
4 |
{
|
5 |
case "administrator":
|
6 |
$user_role_permission = "manage_options";
|