Photo Gallery by WD – Responsive Photo Gallery - Version 1.3.61

Version Description

  • Added: Support forum and Review links.
Download this release

Release Info

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

Code changes from version 1.3.60 to 1.3.61

Files changed (2) hide show
  1. photo-gallery.php +33 -5
  2. readme.txt +4 -1
photo-gallery.php CHANGED
@@ -4,9 +4,9 @@
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.3.60
8
  * Author: Photo Gallery Team
9
- * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
11
  */
12
 
@@ -1504,7 +1504,7 @@ function bwg_activate() {
1504
  }
1505
 
1506
  $version = get_option('wd_bwg_version');
1507
- $new_version = '1.3.60';
1508
  if ($version && version_compare($version, $new_version, '<')) {
1509
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1510
  bwg_update($version);
@@ -1556,7 +1556,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
1556
 
1557
  function bwg_update_hook() {
1558
  $version = get_option('wd_bwg_version');
1559
- $new_version = '1.3.60';
1560
  if ($version && version_compare($version, $new_version, '<')) {
1561
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1562
  bwg_update($version);
@@ -2655,4 +2655,32 @@ function na_action_link( $plugin, $action = 'activate' ) {
2655
  $_REQUEST['plugin'] = $plugin;
2656
  $url = wp_nonce_url( $url, $action . '-plugin_' . $plugin );
2657
  return $url;
2658
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.3.61
8
  * Author: Photo Gallery Team
9
+ * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
11
  */
12
 
1504
  }
1505
 
1506
  $version = get_option('wd_bwg_version');
1507
+ $new_version = '1.3.61';
1508
  if ($version && version_compare($version, $new_version, '<')) {
1509
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1510
  bwg_update($version);
1556
 
1557
  function bwg_update_hook() {
1558
  $version = get_option('wd_bwg_version');
1559
+ $new_version = '1.3.61';
1560
  if ($version && version_compare($version, $new_version, '<')) {
1561
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1562
  bwg_update($version);
2655
  $_REQUEST['plugin'] = $plugin;
2656
  $url = wp_nonce_url( $url, $action . '-plugin_' . $plugin );
2657
  return $url;
2658
+ }
2659
+
2660
+ function bwg_add_plugin_meta_links($meta_fields, $file) {
2661
+ if ( plugin_basename(__FILE__) == $file ) {
2662
+ $plugin_url = "https://wordpress.org/support/plugin/photo-gallery";
2663
+ $prefix = 'bwg';
2664
+ $meta_fields[] = "<a href='" . $plugin_url . "' target='_blank'>" . __('Support Forum', $prefix) . "</a>";
2665
+ $meta_fields[] = "<a href='" . $plugin_url . "/reviews#new-post' target='_blank' title='" . __('Rate', $prefix) . "'>
2666
+ <i class='wdi-rate-stars'>"
2667
+ . "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
2668
+ . "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
2669
+ . "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
2670
+ . "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
2671
+ . "<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>"
2672
+ . "</i></a>";
2673
+
2674
+ $stars_color = "#ffb900";
2675
+
2676
+ echo "<style>"
2677
+ . ".wdi-rate-stars{display:inline-block;color:" . $stars_color . ";position:relative;top:3px;}"
2678
+ . ".wdi-rate-stars svg{fill:" . $stars_color . ";}"
2679
+ . ".wdi-rate-stars svg:hover{fill:" . $stars_color . "}"
2680
+ . ".wdi-rate-stars svg:hover ~ svg{fill:none;}"
2681
+ . "</style>";
2682
+ }
2683
+
2684
+ return $meta_fields;
2685
+ }
2686
+ add_filter("plugin_row_meta", 'bwg_add_plugin_meta_links', 10, 2);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  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
5
  Requires at least: 3.4
6
  Tested up to: 4.9
7
- Stable tag: 1.3.60
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -187,6 +187,9 @@ To enable the feature of adding Media Library images, go to Photo Gallery > Opti
187
 
188
  == Changelog ==
189
 
 
 
 
190
  = 1.3.60 =
191
  * Added: Integration with image optimizer plugin.
192
 
4
  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
5
  Requires at least: 3.4
6
  Tested up to: 4.9
7
+ Stable tag: 1.3.61
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
187
 
188
  == Changelog ==
189
 
190
+ = 1.3.61 =
191
+ * Added: Support forum and Review links.
192
+
193
  = 1.3.60 =
194
  * Added: Integration with image optimizer plugin.
195