WP Photo Album Plus - Version 7.0.09.006

Version Description

= 7.0.09 =

  • This version addresses various security issues.
  • This version addresses various bug fixes and feature requests.

= 7.0.08 =

  • This version addresses various security issues.
  • This version addresses various bug fixes

= 7.0.07 =

  • This version addresses various security issues.
  • This version addresses various bug fixes

= 7.0.06 =

  • This version addresses various bug fixes
  • This version addresses various security issues.

= 7.0.05 =

  • This version addresses various minor bug fixes and feature requests.
  • This version addresses various security issues.

= 7.0.04 =

  • This version addresses various bug fixes
  • This version addresses various security issues.

= 7.0.03 =

  • This version addresses various minor bug fixes and feature requests.

= 7.0.02 =

  • This version addresses various bug fixes
  • This version addresses various security issues.

= 7.0.01 =

  • This version addresses various minor bug fixes and feature requests.

= 7.0.00 =

  • Shortcode generators for Gutenberg added.
  • This version addresses various minor bug fixes and feature requests.
  • This version addresses various security issues.
  • To prevent spamming and give the users the opportunity to decide when they want us to email them, the mailing system has been revised. Configure Table IX-M to enable various mailing lists, and use the WPPA+ Notify widget for full user flexibility.

= 6.9.21 =

  • This version addresses various bug fixes
  • This version addresses various security issues.

= 6.9.20 =

  • This version addresses various bug fixes

= 6.9.19 =

  • This version addresses various minor bug fixes

= 6.9.18 =

  • This version addresses various minor bug fixes

= 6.9.17 =

  • This version addresses various minor bug fixes and feature requests.
  • This version addresses various security issues.

= 6.9.16 =

  • This version addresses various minor bug fixes and feature requests.
  • This version addresses various security issues.

= 6.9.15 =

  • This version addresses various minor bug fixes and feature requests.
  • This version addresses various security issues.

= 6.9.14 =

  • This version addresses various minor bug fixes and feature requests.
  • This version addresses various security issues.

= 6.9.13 =

  • Security release.

= 6.9.12 =

  • This version addresses various minor bug fixes and performance improvements.

= 6.9.11 =

  • This version addresses various minor bug fixes and performance improvements.

= 6.9.10 =

  • This version addresses various minor bug fixes and performance improvements.

= 6.9.09 =

  • Panorama support phase III.

= 6.9.08 =

  • This version addresses various minor bug fixes and feature requests.
  • Panorama support phase II.

= 6.9.07 =

  • This version addresses various minor bug fixes and feature requests.
  • Panorama support phase I.

= 6.9.06 =

  • This version addresses various minor bug fixes and feature requests.

= 6.9.05 =

  • This version addresses various minor bug fixes and feature requests.

= 6.9.04 =

  • This version addresses various minor bug fixes and feature requests.
  • Local CDN functionality has been added.

= 6.9.03 =

  • This version addresses various minor bug fixes and feature requests.

= 6.9.02 =

  • This version addresses various minor bug fixes and feature requests.

= 6.9.01 =

  • This version addresses various minor bug fixes and feature requests.

= 6.9.00 =

  • This version includes the code for the privacy policy requirements.

= 6.8.09

  • This version addresses various bug fixes and code edits.

= 6.8.08 =

  • This version addresses various minor bug fixes and feature requests.
  • This version offers substantial performance improvements when the box in Table IV-A13: Defer Javascript is ticked. This setting is now recommended and set ticked as the default.
  • For more info on performance improvements and compatibility with optimizers: see the changelog.txt

= 6.8.07 =

  • This version addresses various minor bug fixes and enhancements, and a new widget: Statistics.

= 6.8.06 =

  • This version addresses various minor bug fixes and improved cache handling.

= 6.8.05 =

  • This version addresses various minor bug fixes and feture requests.

= 6.8.04 =

  • This version addresses various display issues and a few fixes of bugs that seldom affected the plugins behaviour.
Download this release

Release Info

Developer opajaap
Plugin Icon wp plugin WP Photo Album Plus
Version 7.0.09.006
Comparing to
See all releases

Code changes from version 7.0.09.004 to 7.0.09.006

changelog.txt CHANGED
@@ -9,6 +9,8 @@ WP Photo Album Plus Changelog
9
  * The logfile is now displayed with the youngest message first.
10
  * Local cdn did not generate .png images. Fixed.
11
  * Status stars on the settings page for changing iptc and exif items did not show busy/ready/error icons. Fixed.
 
 
12
 
13
  = 7.0.08 =
14
 
9
  * The logfile is now displayed with the youngest message first.
10
  * Local cdn did not generate .png images. Fixed.
11
  * Status stars on the settings page for changing iptc and exif items did not show busy/ready/error icons. Fixed.
12
+ * Scrolling on panoramas to zoom in/out will no longer move the pagecontent up/down.
13
+ * Table IX-M3: Mail on comment, now has a checkbox to limit the mailing to photo owner and admin only.
14
 
15
  = 7.0.08 =
16
 
wppa-dashboard-widgets.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Contains dashboard widgets code
6
  *
7
- * Version 7.0.08
8
  *
9
  */
10
 
@@ -127,7 +127,9 @@ function wppa_show_email_subscription() {
127
  class="wppa-notify-label"
128
  style="float:left;padding-left:4px;width:90%;margin-top:-3px;"
129
  > ' .
130
- __( 'A comment on a photo is given', 'wp-photo-album-plus' ) . '
 
 
131
  </label>
132
  </li>';
133
  }
4
  *
5
  * Contains dashboard widgets code
6
  *
7
+ * Version 7.0.09
8
  *
9
  */
10
 
127
  class="wppa-notify-label"
128
  style="float:left;padding-left:4px;width:90%;margin-top:-3px;"
129
  > ' .
130
+ ( wppa_switch( 'commentnotify_limit' ) ?
131
+ __( 'A comment on my photo is given', 'wp-photo-album-plus' ) :
132
+ __( 'A comment on any photo is given', 'wp-photo-album-plus' ) ) . '
133
  </label>
134
  </li>';
135
  }
wppa-mailing.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Contains mailing functions
6
  *
7
- * Version 7.0.06
8
  *
9
  */
10
 
@@ -196,6 +196,9 @@ global $wpdb;
196
  $pho = $comment['photo'];
197
  }
198
 
 
 
 
199
  // Get the photos album
200
  if ( ! $alb ) {
201
  $alb = wppa_get_photo_item( $pho, 'album' );
@@ -241,8 +244,14 @@ global $wpdb;
241
  // Get the user data
242
  $user = get_user_by( 'ID', $usr );
243
 
244
- // If user exists, mail
245
- if ( $user ) {
 
 
 
 
 
 
246
  wppa_send_mail( array( 'to' => $user->user_email,
247
  'subj' => $subj,
248
  'cont' => $cont,
4
  *
5
  * Contains mailing functions
6
  *
7
+ * Version 7.0.09
8
  *
9
  */
10
 
196
  $pho = $comment['photo'];
197
  }
198
 
199
+ // Get the photo owner
200
+ $owner = wppa_get_photo_item( $pho, 'owner' );
201
+
202
  // Get the photos album
203
  if ( ! $alb ) {
204
  $alb = wppa_get_photo_item( $pho, 'album' );
244
  // Get the user data
245
  $user = get_user_by( 'ID', $usr );
246
 
247
+ // If user exists && ( ! owner_and_admin_only || owner || admin || moderator || superuser )
248
+ if ( $user &&
249
+ ( ! wppa_switch( 'commentnotify_limit' ) ||
250
+ $user->user_login == $owner ||
251
+ user_can( $user, 'administrator' ) ||
252
+ user_can( $user, 'wppa_moderate' )
253
+ )
254
+ ) {
255
  wppa_send_mail( array( 'to' => $user->user_email,
256
  'subj' => $subj,
257
  'cont' => $cont,
wppa-notify-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * notify events to users
6
- * Version 7.0.07
7
  */
8
 
9
  class wppaNotifyWidget extends WP_Widget {
@@ -129,7 +129,9 @@ class wppaNotifyWidget extends WP_Widget {
129
  class="wppa-notify-label"
130
  style="float:left;padding-left:4px;width:90%;"
131
  > ' .
132
- __( 'A comment on a photo is given', 'wp-photo-album-plus' ) . '
 
 
133
  </label>
134
  </div>';
135
  }
3
  * Package: wp-photo-album-plus
4
  *
5
  * notify events to users
6
+ * Version 7.0.09
7
  */
8
 
9
  class wppaNotifyWidget extends WP_Widget {
129
  class="wppa-notify-label"
130
  style="float:left;padding-left:4px;width:90%;"
131
  > ' .
132
+ ( wppa_switch( 'commentnotify_limit' ) ?
133
+ __( 'A comment on my photo is given', 'wp-photo-album-plus' ) :
134
+ __( 'A comment on any photo is given', 'wp-photo-album-plus' ) ) . '
135
  </label>
136
  </div>';
137
  }
wppa-picture.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Make the picture html
6
- * Version 7.0.07
7
  *
8
  */
9
 
@@ -646,6 +646,7 @@ function wppa_get_spheric_pan_html( $args ) {
646
  e.preventDefault();
647
  deltaFov=-e.deltaY * ' . $zoomsensitivity . ' / 6;
648
  doZoom(true);
 
649
  }' .
650
 
651
  // Zoom in/out
@@ -1260,6 +1261,7 @@ function wppa_get_flat_pan_html( $args ) {
1260
  deltaFactor = 1 + e.deltaY * zoomsensitivity / 1000;
1261
  if ( ! autorun ) render();
1262
  setTimeout(function(){deltaFactor = 1}, 25);
 
1263
  }' .
1264
 
1265
  // When a navigation button is released, stop and reset all deltas
3
  * Package: wp-photo-album-plus
4
  *
5
  * Make the picture html
6
+ * Version 7.0.09
7
  *
8
  */
9
 
646
  e.preventDefault();
647
  deltaFov=-e.deltaY * ' . $zoomsensitivity . ' / 6;
648
  doZoom(true);
649
+ e.stopPropagation();
650
  }' .
651
 
652
  // Zoom in/out
1261
  deltaFactor = 1 + e.deltaY * zoomsensitivity / 1000;
1262
  if ( ! autorun ) render();
1263
  setTimeout(function(){deltaFactor = 1}, 25);
1264
+ e.stopPropagation();
1265
  }' .
1266
 
1267
  // When a navigation button is released, stop and reset all deltas
wppa-settings-autosave.php CHANGED
@@ -10519,13 +10519,16 @@ global $wppa_supported_camara_brands;
10519
  */
10520
  $name = __('Mail on comment', 'wp-photo-album-plus');
10521
  $desc = __('Enable mailing users when a new comment has been added', 'wp-photo-album-plus');
10522
- $help = (__('When moderation is required, the mails will be sent after approval', 'wp-photo-album-plus'));
10523
- $slug = 'wppa_commentnotify';
 
 
10524
  $subs = count( wppa_index_string_to_array( get_option( 'wppa_mailinglist_commentnotify', '' ) ) );
10525
- $html = wppa_checkbox($slug) . '&nbsp;' . sprintf( __( '%d subscribers', 'wp-photo-album-plus' ), $subs );
 
10526
  $clas = '';
10527
  $tags = 'comment,mail';
10528
- wppa_setting($slug, '3', $name, $desc, $html, $help, $clas, $tags);
10529
 
10530
  /*
10531
  $name = __('Mail on comment: Subject', 'wp-photo-album-plus');
@@ -11145,10 +11148,10 @@ global $wppa_totcols;
11145
  ) );
11146
  if ( ! $no_default ) {
11147
  if ( $slugs ) {
11148
- $helptext .= '<br>' . __( 'The default for this setting is:', 'wp-photo-album-plus' );
11149
  if ( count($slugs) == 1) {
11150
  if ( $slugs[0] != '' ) {
11151
- $helptext .= ' '.wppa_dflt($slugs[0]);
11152
  if ( $wppa_opt[$slugs[0]] != $wppa_defaults[$slugs[0]] ) {
11153
  $is_dflt = false;
11154
  }
@@ -11234,7 +11237,7 @@ global $wppa_totcols;
11234
  >
11235
  <small>
11236
  <i>' .
11237
- htmlentities( $helptext ) . '
11238
  </i>
11239
  </small>
11240
  </td>
10519
  */
10520
  $name = __('Mail on comment', 'wp-photo-album-plus');
10521
  $desc = __('Enable mailing users when a new comment has been added', 'wp-photo-album-plus');
10522
+ $help = __('When moderation is required, the mails will be sent after approval', 'wp-photo-album-plus');
10523
+ $help .= '<br />' . __('All subscribers will get the email, unless you tick the \'to owner and admin only\' box', 'wp-photo-album-plus');
10524
+ $slug1 = 'wppa_commentnotify';
10525
+ $slug2 = 'wppa_commentnotify_limit';
10526
  $subs = count( wppa_index_string_to_array( get_option( 'wppa_mailinglist_commentnotify', '' ) ) );
10527
+ $html = wppa_checkbox($slug1) . '<span style="float:left" >&nbsp;' . sprintf( __( '%d subscribers', 'wp-photo-album-plus' ), $subs ) . '&nbsp;</span>' .
10528
+ wppa_checkbox($slug2) . '<span style="float:left" >&nbsp;' . __( 'to owner and admin only', 'wp-photo-album-plus' ) . '</span>';
10529
  $clas = '';
10530
  $tags = 'comment,mail';
10531
+ wppa_setting($slug1, '3', $name, $desc, $html, $help, $clas, $tags);
10532
 
10533
  /*
10534
  $name = __('Mail on comment: Subject', 'wp-photo-album-plus');
11148
  ) );
11149
  if ( ! $no_default ) {
11150
  if ( $slugs ) {
11151
+ $helptext .= '<br />' . __( 'The default for this setting is:', 'wp-photo-album-plus' );
11152
  if ( count($slugs) == 1) {
11153
  if ( $slugs[0] != '' ) {
11154
+ $helptext .= ' '.htmlentities(wppa_dflt($slugs[0]));
11155
  if ( $wppa_opt[$slugs[0]] != $wppa_defaults[$slugs[0]] ) {
11156
  $is_dflt = false;
11157
  }
11237
  >
11238
  <small>
11239
  <i>' .
11240
+ $helptext . '
11241
  </i>
11242
  </small>
11243
  </td>
wppa-setup.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all the setup stuff
6
- * Version 7.0.08
7
  *
8
  */
9
 
@@ -1867,6 +1867,7 @@ cursorborder:'2px solid transparent',";
1867
  'wppa_newalbumnotify' => 'no',
1868
  'wppa_feuploadnotify' => 'no',
1869
  'wppa_commentnotify' => 'no',
 
1870
  'wppa_moderatephoto' => 'no',
1871
  'wppa_moderatecomment' => 'no',
1872
 
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all the setup stuff
6
+ * Version 7.0.09
7
  *
8
  */
9
 
1867
  'wppa_newalbumnotify' => 'no',
1868
  'wppa_feuploadnotify' => 'no',
1869
  'wppa_commentnotify' => 'no',
1870
+ 'wppa_commentnotify_limit' => 'no',
1871
  'wppa_moderatephoto' => 'no',
1872
  'wppa_moderatecomment' => 'no',
1873
 
wppa.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Plugin Name: WP Photo Album Plus
4
  * Description: Easily manage and display your photo albums and slideshows within your WordPress site.
5
- * Version: 7.0.09.004
6
  * Author: J.N. Breetvelt a.k.a. OpaJaap
7
  * Author URI: http://wppa.opajaap.nl/
8
  * Plugin URI: http://wordpress.org/extend/plugins/wp-photo-album-plus/
@@ -23,7 +23,7 @@ global $wp_version;
23
 
24
  /* WPPA GLOBALS */
25
  global $wppa_revno; $wppa_revno = '7009'; // WPPA db version
26
- global $wppa_api_version; $wppa_api_version = '7.0.09.004'; // WPPA software version
27
 
28
  /* start timers */
29
  global $wppa_starttime; $wppa_starttime = microtime( true );
2
  /*
3
  * Plugin Name: WP Photo Album Plus
4
  * Description: Easily manage and display your photo albums and slideshows within your WordPress site.
5
+ * Version: 7.0.09.006
6
  * Author: J.N. Breetvelt a.k.a. OpaJaap
7
  * Author URI: http://wppa.opajaap.nl/
8
  * Plugin URI: http://wordpress.org/extend/plugins/wp-photo-album-plus/
23
 
24
  /* WPPA GLOBALS */
25
  global $wppa_revno; $wppa_revno = '7009'; // WPPA db version
26
+ global $wppa_api_version; $wppa_api_version = '7.0.09.006'; // WPPA software version
27
 
28
  /* start timers */
29
  global $wppa_starttime; $wppa_starttime = microtime( true );