Version Description
Changed: Notices show order.
Download this release
Release Info
Developer | webdorado |
Plugin | Photo Gallery by WD – Responsive Photo Gallery |
Version | 1.2.60 |
Comparing to | |
See all releases |
Code changes from version 1.2.59 to 1.2.60
- photo-gallery-notices.php +11 -10
- photo-gallery.php +3 -3
- readme.txt +7 -3
photo-gallery-notices.php
CHANGED
@@ -83,7 +83,7 @@ class BWG_Notices {
|
|
83 |
// Ensure the notice hasn't been hidden and that the current date is after the start date
|
84 |
if ($admin_display_check == 0 && strtotime($admin_display_start) <= strtotime($current_date)) {
|
85 |
// Get remaining query string
|
86 |
-
$query_str = esc_url(add_query_arg($this->prefix . '_admin_notice_ignore', $slug));
|
87 |
// Admin notice display output
|
88 |
echo '<div class="update-nag wd-admin-notice">
|
89 |
<div class="' . $this->prefix . '-notice-logo"></div>
|
@@ -182,15 +182,6 @@ class BWG_Notices {
|
|
182 |
}
|
183 |
|
184 |
public function wd_admin_notices() {
|
185 |
-
$one_week_support = add_query_arg(array($this->prefix . '_admin_notice_ignore' => 'one_week_support'));
|
186 |
-
$notices['one_week_support'] = array(
|
187 |
-
'title' => __('Hey! How\'s It Going?', $this->prefix),
|
188 |
-
'msg' => sprintf(__('Thank you for using WordPress %s! We hope that you\'ve found everything you need, but if you have any questions:', $this->prefix), $this->plugin_name),
|
189 |
-
'link' => '<li><span class="dashicons dashicons-media-text"></span><a target="_blank" href="https://web-dorado.com/wordpress-gallery/installing.html">' . __('Check out User Guide', $this->prefix) . '</a></li>
|
190 |
-
<li><span class="dashicons dashicons-sos"></span><a target="_blank" href="https://web-dorado.com/forum/photo-gallery.html">' . __('Get Some Help', $this->prefix) . '</a></li>
|
191 |
-
<li><span class="dashicons dashicons-dismiss"></span><a href="' . $one_week_support . '">' . __('Never show again', $this->prefix) . '</a></li>',
|
192 |
-
'int' => 7
|
193 |
-
);
|
194 |
$two_week_review_ignore = add_query_arg(array($this->prefix . '_admin_notice_ignore' => 'two_week_review'));
|
195 |
$two_week_review_temp = add_query_arg(array($this->prefix . '_admin_notice_temp_ignore' => 'two_week_review', 'int' => 14));
|
196 |
$notices['two_week_review'] = array(
|
@@ -200,8 +191,18 @@ class BWG_Notices {
|
|
200 |
<li><span class="dashicons dashicons-smiley"></span><a href="' . $two_week_review_ignore . '"> ' . __('I\'ve already left a review', $this->prefix) . '</a></li>
|
201 |
<li><span class="dashicons dashicons-calendar-alt"></span><a href="' . $two_week_review_temp . '">' . __('Maybe Later', $this->prefix) . '</a></li>
|
202 |
<li><span class="dashicons dashicons-dismiss"></span><a href="' . $two_week_review_ignore . '">' . __('Never show again', $this->prefix) . '</a></li>',
|
|
|
203 |
'int' => 14
|
204 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
$this->admin_notice($notices);
|
206 |
}
|
207 |
}
|
83 |
// Ensure the notice hasn't been hidden and that the current date is after the start date
|
84 |
if ($admin_display_check == 0 && strtotime($admin_display_start) <= strtotime($current_date)) {
|
85 |
// Get remaining query string
|
86 |
+
$query_str = (isset($admin_notices[$slug]['later_link']) ? $admin_notices[$slug]['later_link'] : esc_url(add_query_arg($this->prefix . '_admin_notice_ignore', $slug)));
|
87 |
// Admin notice display output
|
88 |
echo '<div class="update-nag wd-admin-notice">
|
89 |
<div class="' . $this->prefix . '-notice-logo"></div>
|
182 |
}
|
183 |
|
184 |
public function wd_admin_notices() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
$two_week_review_ignore = add_query_arg(array($this->prefix . '_admin_notice_ignore' => 'two_week_review'));
|
186 |
$two_week_review_temp = add_query_arg(array($this->prefix . '_admin_notice_temp_ignore' => 'two_week_review', 'int' => 14));
|
187 |
$notices['two_week_review'] = array(
|
191 |
<li><span class="dashicons dashicons-smiley"></span><a href="' . $two_week_review_ignore . '"> ' . __('I\'ve already left a review', $this->prefix) . '</a></li>
|
192 |
<li><span class="dashicons dashicons-calendar-alt"></span><a href="' . $two_week_review_temp . '">' . __('Maybe Later', $this->prefix) . '</a></li>
|
193 |
<li><span class="dashicons dashicons-dismiss"></span><a href="' . $two_week_review_ignore . '">' . __('Never show again', $this->prefix) . '</a></li>',
|
194 |
+
'later_link' => $two_week_review_temp,
|
195 |
'int' => 14
|
196 |
);
|
197 |
+
$one_week_support = add_query_arg(array($this->prefix . '_admin_notice_ignore' => 'one_week_support'));
|
198 |
+
$notices['one_week_support'] = array(
|
199 |
+
'title' => __('Hey! How\'s It Going?', $this->prefix),
|
200 |
+
'msg' => sprintf(__('Thank you for using WordPress %s! We hope that you\'ve found everything you need, but if you have any questions:', $this->prefix), $this->plugin_name),
|
201 |
+
'link' => '<li><span class="dashicons dashicons-media-text"></span><a target="_blank" href="https://web-dorado.com/wordpress-gallery/installing.html">' . __('Check out User Guide', $this->prefix) . '</a></li>
|
202 |
+
<li><span class="dashicons dashicons-sos"></span><a target="_blank" href="https://web-dorado.com/forum/photo-gallery.html">' . __('Get Some Help', $this->prefix) . '</a></li>
|
203 |
+
<li><span class="dashicons dashicons-dismiss"></span><a href="' . $one_week_support . '">' . __('Never show again', $this->prefix) . '</a></li>',
|
204 |
+
'int' => 7
|
205 |
+
);
|
206 |
$this->admin_notice($notices);
|
207 |
}
|
208 |
}
|
photo-gallery.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: https://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.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -2330,7 +2330,7 @@ function bwg_activate() {
|
|
2330 |
));
|
2331 |
}
|
2332 |
$version = get_option("wd_bwg_version");
|
2333 |
-
$new_version = '1.2.
|
2334 |
if ($version && version_compare($version, $new_version, '<')) {
|
2335 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
2336 |
bwg_update($version);
|
@@ -2378,7 +2378,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
|
|
2378 |
|
2379 |
function bwg_update_hook() {
|
2380 |
$version = get_option("wd_bwg_version");
|
2381 |
-
$new_version = '1.2.
|
2382 |
if ($version && version_compare($version, $new_version, '<')) {
|
2383 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
2384 |
bwg_update($version);
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: https://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.60
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
2330 |
));
|
2331 |
}
|
2332 |
$version = get_option("wd_bwg_version");
|
2333 |
+
$new_version = '1.2.60';
|
2334 |
if ($version && version_compare($version, $new_version, '<')) {
|
2335 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
2336 |
bwg_update($version);
|
2378 |
|
2379 |
function bwg_update_hook() {
|
2380 |
$version = get_option("wd_bwg_version");
|
2381 |
+
$new_version = '1.2.60';
|
2382 |
if ($version && version_compare($version, $new_version, '<')) {
|
2383 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
2384 |
bwg_update($version);
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://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, responsive gallery, add album, add gallery, add pictures, fotoalbum, foto, gallery decription, multiple pictures, photoalbum, upload images, upload photos, view images, view pictures, admin, AJAX, comments, gallery image, image lightbox, image rotate, image slideshow, image slider, jquery, jquery gallery, slide show, slideshow, thumbnail, thumbnail view, thumbnails, thumbs, responsive, watermarking, watermarks,fullscreen slider, lightbox, photography, sidebar, slide, youtube, vimeo, videos, instagram, facebook, mosaic
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -40,6 +40,7 @@ The plugin allows displaying galleries/albums within the following views:
|
|
40 |
* Extended Album view for displaying albums with descriptions
|
41 |
* Blog Style gallery view (commercial version)
|
42 |
|
|
|
43 |
You can make the required customizations for the view in the shortcode in advance to adding in the posts/pages.
|
44 |
|
45 |
Included File Manager will help to rename, upload, remove, copy images and/or image directories within a few simple steps.
|
@@ -101,8 +102,8 @@ Upgrade to [WordPress Photo Gallery Pro](https://web-dorado.com/products/wordpre
|
|
101 |
* Commenting possibility with Captcha protection possibility.
|
102 |
* Social sharing possibility (Facebook, Google+, Twitter, Pinterest and Tumblr).
|
103 |
* Dynamic Photo Gallery Tag Cloud widget with image tag cloud and text tag cloud options.
|
104 |
-
* Possibility to include both videos and images within a single gallery.
|
105 |
-
|
106 |
|
107 |
### Supported languages
|
108 |
|
@@ -213,6 +214,9 @@ Yes, it is possible to add advertising and/or watermark over the images. In both
|
|
213 |
|
214 |
== Changelog ==
|
215 |
|
|
|
|
|
|
|
216 |
= 1.2.59 =
|
217 |
New: Facebook embed add-on.
|
218 |
Added: Add-ons page.
|
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, responsive gallery, add album, add gallery, add pictures, fotoalbum, foto, gallery decription, multiple pictures, photoalbum, upload images, upload photos, view images, view pictures, admin, AJAX, comments, gallery image, image lightbox, image rotate, image slideshow, image slider, jquery, jquery gallery, slide show, slideshow, thumbnail, thumbnail view, thumbnails, thumbs, responsive, watermarking, watermarks,fullscreen slider, lightbox, photography, sidebar, slide, youtube, vimeo, videos, instagram, facebook, mosaic
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 1.2.60
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
40 |
* Extended Album view for displaying albums with descriptions
|
41 |
* Blog Style gallery view (commercial version)
|
42 |
|
43 |
+
|
44 |
You can make the required customizations for the view in the shortcode in advance to adding in the posts/pages.
|
45 |
|
46 |
Included File Manager will help to rename, upload, remove, copy images and/or image directories within a few simple steps.
|
102 |
* Commenting possibility with Captcha protection possibility.
|
103 |
* Social sharing possibility (Facebook, Google+, Twitter, Pinterest and Tumblr).
|
104 |
* Dynamic Photo Gallery Tag Cloud widget with image tag cloud and text tag cloud options.
|
105 |
+
* Possibility to include both videos and images within a single gallery.
|
106 |
+
* Add on support.
|
107 |
|
108 |
### Supported languages
|
109 |
|
214 |
|
215 |
== Changelog ==
|
216 |
|
217 |
+
= 1.2.60 =
|
218 |
+
Changed: Notices show order.
|
219 |
+
|
220 |
= 1.2.59 =
|
221 |
New: Facebook embed add-on.
|
222 |
Added: Add-ons page.
|