Photo Gallery by WD – Responsive Photo Gallery - Version 1.2.11

Version Description

security issue fixed bug in fullscreen button and laoding image animation fixed

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Photo Gallery by WD – Responsive Photo Gallery
Version 1.2.11
Comparing to
See all releases

Code changes from version 1.2.10 to 1.2.11

css/font-awesome/font-awesome.css CHANGED
@@ -19,8 +19,8 @@ div[id^="bwg_container"] .fa {
19
  font-weight: normal;
20
  line-height: 1 !important;
21
  text-rendering: auto;
22
- -webkit-font-smoothing: antialiased;
23
- -moz-osx-font-smoothing: grayscale;
24
  }
25
  /* makes the font 33% larger relative to the icon container */
26
  .fa-lg {
@@ -80,57 +80,89 @@ div[id^="bwg_container"] .fa {
80
  margin-left: .3em;
81
  }
82
  .fa-spin {
83
- -webkit-animation: fa-spin 2s infinite linear;
84
- animation: fa-spin 2s infinite linear;
 
 
85
  }
86
- @-webkit-keyframes fa-spin {
 
 
 
 
 
 
 
 
87
  0% {
88
  -webkit-transform: rotate(0deg);
89
- transform: rotate(0deg);
90
  }
91
  100% {
92
  -webkit-transform: rotate(359deg);
93
- transform: rotate(359deg);
94
  }
95
  }
96
- @keyframes fa-spin {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  0% {
98
- -webkit-transform: rotate(0deg);
99
  transform: rotate(0deg);
100
  }
101
  100% {
102
- -webkit-transform: rotate(359deg);
103
  transform: rotate(359deg);
104
  }
105
  }
106
  .fa-rotate-90 {
107
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
108
  -webkit-transform: rotate(90deg);
 
109
  -ms-transform: rotate(90deg);
 
110
  transform: rotate(90deg);
111
  }
112
  .fa-rotate-180 {
113
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
114
  -webkit-transform: rotate(180deg);
 
115
  -ms-transform: rotate(180deg);
 
116
  transform: rotate(180deg);
117
  }
118
  .fa-rotate-270 {
119
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
120
  -webkit-transform: rotate(270deg);
 
121
  -ms-transform: rotate(270deg);
 
122
  transform: rotate(270deg);
123
  }
124
  .fa-flip-horizontal {
125
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
126
  -webkit-transform: scale(-1, 1);
 
127
  -ms-transform: scale(-1, 1);
 
128
  transform: scale(-1, 1);
129
  }
130
  .fa-flip-vertical {
131
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
132
  -webkit-transform: scale(1, -1);
 
133
  -ms-transform: scale(1, -1);
 
134
  transform: scale(1, -1);
135
  }
136
  :root .fa-rotate-90,
@@ -460,9 +492,11 @@ div[id^="bwg_container"] .fa {
460
  .fa-share:before {
461
  content: "\f064";
462
  }
 
463
  .fa-expand:before {
464
  content: "\f065";
465
  }
 
466
  .fa-compress:before {
467
  content: "\f066";
468
  }
@@ -530,9 +564,11 @@ div[id^="bwg_container"] .fa {
530
  .fa-folder-open:before {
531
  content: "\f07c";
532
  }
 
533
  .fa-arrows-v:before {
534
  content: "\f07d";
535
  }
 
536
  .fa-arrows-h:before {
537
  content: "\f07e";
538
  }
@@ -679,6 +715,7 @@ div[id^="bwg_container"] .fa {
679
  .fa-briefcase:before {
680
  content: "\f0b1";
681
  }
 
682
  .fa-arrows-alt:before {
683
  content: "\f0b2";
684
  }
19
  font-weight: normal;
20
  line-height: 1 !important;
21
  text-rendering: auto;
22
+ -webkit-font-smoothing: antialiased !important;
23
+ -moz-osx-font-smoothing: grayscale !important;
24
  }
25
  /* makes the font 33% larger relative to the icon container */
26
  .fa-lg {
80
  margin-left: .3em;
81
  }
82
  .fa-spin {
83
+ -webkit-animation: spin 2s infinite linear;
84
+ -moz-animation: spin 2s infinite linear;
85
+ -o-animation: spin 2s infinite linear;
86
+ animation: spin 2s infinite linear;
87
  }
88
+ @-moz-keyframes spin {
89
+ 0% {
90
+ -moz-transform: rotate(0deg);
91
+ }
92
+ 100% {
93
+ -moz-transform: rotate(359deg);
94
+ }
95
+ }
96
+ @-webkit-keyframes spin {
97
  0% {
98
  -webkit-transform: rotate(0deg);
 
99
  }
100
  100% {
101
  -webkit-transform: rotate(359deg);
 
102
  }
103
  }
104
+ @-o-keyframes spin {
105
+ 0% {
106
+ -o-transform: rotate(0deg);
107
+ }
108
+ 100% {
109
+ -o-transform: rotate(359deg);
110
+ }
111
+ }
112
+ @-ms-keyframes spin {
113
+ 0% {
114
+ -ms-transform: rotate(0deg);
115
+ }
116
+ 100% {
117
+ -ms-transform: rotate(359deg);
118
+ }
119
+ }
120
+ @keyframes spin {
121
  0% {
 
122
  transform: rotate(0deg);
123
  }
124
  100% {
 
125
  transform: rotate(359deg);
126
  }
127
  }
128
  .fa-rotate-90 {
129
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
130
  -webkit-transform: rotate(90deg);
131
+ -moz-transform: rotate(90deg);
132
  -ms-transform: rotate(90deg);
133
+ -o-transform: rotate(90deg);
134
  transform: rotate(90deg);
135
  }
136
  .fa-rotate-180 {
137
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
138
  -webkit-transform: rotate(180deg);
139
+ -moz-transform: rotate(180deg);
140
  -ms-transform: rotate(180deg);
141
+ -o-transform: rotate(180deg);
142
  transform: rotate(180deg);
143
  }
144
  .fa-rotate-270 {
145
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
146
  -webkit-transform: rotate(270deg);
147
+ -moz-transform: rotate(270deg);
148
  -ms-transform: rotate(270deg);
149
+ -o-transform: rotate(270deg);
150
  transform: rotate(270deg);
151
  }
152
  .fa-flip-horizontal {
153
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
154
  -webkit-transform: scale(-1, 1);
155
+ -moz-transform: scale(-1, 1);
156
  -ms-transform: scale(-1, 1);
157
+ -o-transform: scale(-1, 1);
158
  transform: scale(-1, 1);
159
  }
160
  .fa-flip-vertical {
161
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
162
  -webkit-transform: scale(1, -1);
163
+ -moz-transform: scale(1, -1);
164
  -ms-transform: scale(1, -1);
165
+ -o-transform: scale(1, -1);
166
  transform: scale(1, -1);
167
  }
168
  :root .fa-rotate-90,
492
  .fa-share:before {
493
  content: "\f064";
494
  }
495
+ .fa-resize-full:before,
496
  .fa-expand:before {
497
  content: "\f065";
498
  }
499
+ .fa-resize-small:before,
500
  .fa-compress:before {
501
  content: "\f066";
502
  }
564
  .fa-folder-open:before {
565
  content: "\f07c";
566
  }
567
+ .fa-resize-vertical:before,
568
  .fa-arrows-v:before {
569
  content: "\f07d";
570
  }
571
+ .fa-resize-horizontal:before,
572
  .fa-arrows-h:before {
573
  content: "\f07e";
574
  }
715
  .fa-briefcase:before {
716
  content: "\f0b1";
717
  }
718
+ .fa-fullscreen:before,
719
  .fa-arrows-alt:before {
720
  content: "\f0b2";
721
  }
filemanager/UploadHandler.php CHANGED
@@ -20,7 +20,7 @@ else {
20
  }
21
 
22
  $upload_handler = new UploadHandler(array(
23
- 'upload_dir' => $_GET['dir'],
24
  'accept_file_types' => '/\.(gif|jpe?g|png|bmp|mp4|flv|webm|ogg|mp3|wav|pdf|zip)$/i'
25
  ));
26
 
20
  }
21
 
22
  $upload_handler = new UploadHandler(array(
23
+ 'upload_dir' => (isset($_GET['dir']) ? esc_html($_GET['dir']) : ''),
24
  'accept_file_types' => '/\.(gif|jpe?g|png|bmp|mp4|flv|webm|ogg|mp3|wav|pdf|zip)$/i'
25
  ));
26
 
filemanager/model.php CHANGED
@@ -79,7 +79,7 @@ class FilemanagerModel {
79
  }
80
 
81
  public function get_path_components() {
82
- $dir_names = explode('/', (isset($_REQUEST['dir']) ? $_REQUEST['dir'] : ''));
83
  $path = '';
84
 
85
  $components = array();
79
  }
80
 
81
  public function get_path_components() {
82
+ $dir_names = explode('/', (isset($_REQUEST['dir']) ? esc_html($_REQUEST['dir']) : ''));
83
  $path = '';
84
 
85
  $components = array();
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.2.10
8
  * Author: WebDorado
9
  * Author URI: http://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -2929,7 +2929,7 @@ function bwg_activate() {
2929
  ));
2930
  }
2931
  $version = get_option("wd_bwg_version");
2932
- $new_version = '1.2.10';
2933
  if ($version && version_compare($version, $new_version, '<')) {
2934
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2935
  bwg_update($version);
@@ -2944,7 +2944,7 @@ register_activation_hook(__FILE__, 'bwg_activate');
2944
 
2945
  function bwg_update_hook() {
2946
  $version = get_option("wd_bwg_version");
2947
- $new_version = '1.2.10';
2948
  if ($version && version_compare($version, $new_version, '<')) {
2949
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2950
  bwg_update($version);
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.2.11
8
  * Author: WebDorado
9
  * Author URI: http://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
2929
  ));
2930
  }
2931
  $version = get_option("wd_bwg_version");
2932
+ $new_version = '1.2.11';
2933
  if ($version && version_compare($version, $new_version, '<')) {
2934
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2935
  bwg_update($version);
2944
 
2945
  function bwg_update_hook() {
2946
  $version = get_option("wd_bwg_version");
2947
+ $new_version = '1.2.11';
2948
  if ($version && version_compare($version, $new_version, '<')) {
2949
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2950
  bwg_update($version);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, 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, photogallery, widget gallery, image, 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: 4.1
7
- Stable tag: 1.2.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -78,7 +78,6 @@ Photo Gallery product in addition to the main plugin includes 4 specific widgets
78
  * Possibility to display Search Box on the gallery page for the search based on titles
79
  * Possibility to display the number of images in the lighbox
80
  * Redirection option upon clicking image thumbnail
81
- * Option of displaying the image information in full-width mode
82
 
83
  Upgrade to [WordPress Photo Gallery Pro](http://web-dorado.com/products/wordpress-photo-gallery-plugin.html) to add features:
84
 
@@ -88,7 +87,6 @@ Upgrade to [WordPress Photo Gallery Pro](http://web-dorado.com/products/wordpres
88
  * Slideshow/Lightbox 15 effects.
89
  * Editable themes.
90
  * Commenting possibility with Captcha protection possibility.
91
- * Comment-managing possibility to avoid spamming (Unpublish/Delete).
92
  * Social sharing possibility (Facebook, Google+, Twitter, Pinterest and Tumblr)
93
  * Dynamic Photo Gallery Tag Cloud widget with image tag cloud and text tag cloud options.
94
  * Possibility to include both videos and images within a single gallery.
@@ -178,6 +176,15 @@ After downloading the ZIP file,
178
  6. Photo Gallery - Edit Watermark
179
 
180
  == Changelog ==
 
 
 
 
 
 
 
 
 
181
  = 1.2.8 =
182
  security issue fixed
183
 
4
  Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, 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, photogallery, widget gallery, image, 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: 4.1
7
+ Stable tag: 1.2.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
78
  * Possibility to display Search Box on the gallery page for the search based on titles
79
  * Possibility to display the number of images in the lighbox
80
  * Redirection option upon clicking image thumbnail
 
81
 
82
  Upgrade to [WordPress Photo Gallery Pro](http://web-dorado.com/products/wordpress-photo-gallery-plugin.html) to add features:
83
 
87
  * Slideshow/Lightbox 15 effects.
88
  * Editable themes.
89
  * Commenting possibility with Captcha protection possibility.
 
90
  * Social sharing possibility (Facebook, Google+, Twitter, Pinterest and Tumblr)
91
  * Dynamic Photo Gallery Tag Cloud widget with image tag cloud and text tag cloud options.
92
  * Possibility to include both videos and images within a single gallery.
176
  6. Photo Gallery - Edit Watermark
177
 
178
  == Changelog ==
179
+
180
+ = 1.2.11 =
181
+ security issue fixed
182
+ bug in fullscreen button and laoding image animation fixed
183
+
184
+ = 1.2.9 =
185
+ updated font-awesome to 4.2.0 version
186
+ sort bug in ligthbox
187
+
188
  = 1.2.8 =
189
  security issue fixed
190