WP Photo Album Plus - Version 7.1.11.004

Version Description

= 7.1.11 =

  • This version addresses various bug fixes and feature requests.

= 7.1.10 =

  • This version addresses various bug fixes and feature requests.

= 7.1.09 =

  • This version addresses various bug fixes and feature requests.

= 7.1.08 =

  • This version addresses various bug fixes and feature requests.

= 7.1.07 =

  • This version addresses various bug fixes and feature requests.

= 7.1.06 =

  • This version addresses various bug fixes and feature requests.

= 7.1.05 =

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

= 7.1.04 =

  • This version addresses various bug fixes.

= 7.1.03 =

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

= 7.1.02 =

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

= 7.1.01 =

  • This version addresses various bug fixes and feature requests.

= 7.1.00 =

  • This version addresses various bug fixes and feature requests.
  • The Photo Album -> Upload Photos and Import Photos admin pages have been substantially improved. Read the changelog for details.

= 7.0.11 =

  • This version addresses various bug fixes and feature requests.

= 7.0.11 =

  • This version addresses various bug fixes

= 7.0.10 =

  • This version addresses various bug fixes

= 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.1.11.004
Comparing to
See all releases

Code changes from version 7.1.11.002 to 7.1.11.004

changelog.txt CHANGED
@@ -7,6 +7,7 @@ The row can be accessed for css by: .wppa-masonry .dummy {}
7
  * Removed '[/wppa]' and 'Any comment[/wppa]' form all helptexts and auto generated shortcodes, because we no longer use the long for of shortcodes.
8
  Please be aware that you can still use long forms, but do never mix long and short forms together in any post or page.
9
  * Slideonly and slideonlyf will now always wrap around, even when Table IV-B8 is unticked.
 
10
 
11
  = 7.1.10 =
12
 
7
  * Removed '[/wppa]' and 'Any comment[/wppa]' form all helptexts and auto generated shortcodes, because we no longer use the long for of shortcodes.
8
  Please be aware that you can still use long forms, but do never mix long and short forms together in any post or page.
9
  * Slideonly and slideonlyf will now always wrap around, even when Table IV-B8 is unticked.
10
+ * Fixed a potential problem with local cdn filnames resulting in errors on the photo admin page. Local cdn files are now always rounded to integer x and y sizes.
11
 
12
  = 7.1.10 =
13
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: opajaap
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=OpaJaap@OpaJaap.nl&item_name=WP-Photo-Album-Plus&item_number=Support-Open-Source&currency_code=USD&lc=US
4
  Tags: photo, album, slideshow, video, audio, lightbox, iptc, exif, cloudinary, fotomoto, imagemagick, pdf
5
- Version: 7.1.11.001
6
  Stable tag: 7.1.10.007
7
  Author: J.N. Breetvelt
8
  Author URI: http://www.opajaap.nl/
2
  Contributors: opajaap
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=OpaJaap@OpaJaap.nl&item_name=WP-Photo-Album-Plus&item_number=Support-Open-Source&currency_code=USD&lc=US
4
  Tags: photo, album, slideshow, video, audio, lightbox, iptc, exif, cloudinary, fotomoto, imagemagick, pdf
5
+ Version: 7.1.11.004
6
  Stable tag: 7.1.10.007
7
  Author: J.N. Breetvelt
8
  Author URI: http://www.opajaap.nl/
wppa-local-cdn.php CHANGED
@@ -3,13 +3,19 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains routines for local cdn implementation
6
- * Version 7.1.02
7
  *
8
  */
9
 
10
  // Compute a pathname for a local cdn image
11
  function wppa_cdn_path( $id, $x, $y ) {
12
 
 
 
 
 
 
 
13
  $ext = wppa_get_photo_item( $id, 'ext' );
14
  $path = WPPA_UPLOAD_PATH . '-cdn/' . wppa_expand_id( $id ) . '/' . $x . '-' . $y . '.' . $ext;
15
  return $path;
@@ -18,6 +24,11 @@ function wppa_cdn_path( $id, $x, $y ) {
18
  // Return the url to a local cdn image file, or false if the file does not exist and can not be created
19
  function wppa_cdn_url( $id, $x, $y ) {
20
 
 
 
 
 
 
21
  $path = wppa_cdn_path( $id, $x, $y );
22
  if ( ! wppa_is_file( $path ) ) {
23
  wppa_cdn_make( $id, $x, $y );
@@ -29,6 +40,11 @@ function wppa_cdn_url( $id, $x, $y ) {
29
  // Attempt to make a local cdn image file
30
  function wppa_cdn_make( $id, $x, $y ) {
31
 
 
 
 
 
 
32
  // Find from path. Use display image, not source.
33
  $fmpath = wppa_get_photo_path( $id );
34
 
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains routines for local cdn implementation
6
+ * Version 7.1.11
7
  *
8
  */
9
 
10
  // Compute a pathname for a local cdn image
11
  function wppa_cdn_path( $id, $x, $y ) {
12
 
13
+ // Sanitize input
14
+ $x = floor( $x );
15
+ $y = floor( $y );
16
+ $id = strval( intval( $id ) );
17
+
18
+ // Make the path
19
  $ext = wppa_get_photo_item( $id, 'ext' );
20
  $path = WPPA_UPLOAD_PATH . '-cdn/' . wppa_expand_id( $id ) . '/' . $x . '-' . $y . '.' . $ext;
21
  return $path;
24
  // Return the url to a local cdn image file, or false if the file does not exist and can not be created
25
  function wppa_cdn_url( $id, $x, $y ) {
26
 
27
+ // Sanitize input
28
+ $x = floor( $x );
29
+ $y = floor( $y );
30
+ $id = strval( intval( $id ) );
31
+
32
  $path = wppa_cdn_path( $id, $x, $y );
33
  if ( ! wppa_is_file( $path ) ) {
34
  wppa_cdn_make( $id, $x, $y );
40
  // Attempt to make a local cdn image file
41
  function wppa_cdn_make( $id, $x, $y ) {
42
 
43
+ // Sanitize input
44
+ $x = floor( $x );
45
+ $y = floor( $y );
46
+ $id = strval( intval( $id ) );
47
+
48
  // Find from path. Use display image, not source.
49
  $fmpath = wppa_get_photo_path( $id );
50
 
wppa-photo-admin-autosave.php CHANGED
@@ -1029,6 +1029,7 @@ function wppaToggleExif( id, count ) {
1029
  if ( wppa_cdn( 'admin' ) == 'local' ) {
1030
  echo __( 'Local CDN files', 'wp-photo-album-plus' ) . ': ';
1031
  $files = wppa_cdn_files( $id );
 
1032
  if ( is_array( $files ) ) {
1033
  foreach( $files as $file ) {
1034
  if ( basename( $file ) != 'index.php' ) {
@@ -2063,7 +2064,7 @@ function wppaToggleExif( id, count ) {
2063
  }
2064
 
2065
  // High resolution url
2066
- $hru = wppa_get_hires_url( $id );
2067
  echo
2068
  '<tr>' .
2069
  '<td>' .
1029
  if ( wppa_cdn( 'admin' ) == 'local' ) {
1030
  echo __( 'Local CDN files', 'wp-photo-album-plus' ) . ': ';
1031
  $files = wppa_cdn_files( $id );
1032
+ //var_dump($files);
1033
  if ( is_array( $files ) ) {
1034
  foreach( $files as $file ) {
1035
  if ( basename( $file ) != 'index.php' ) {
2064
  }
2065
 
2066
  // High resolution url
2067
+ $hru = htmlentities( wppa_get_hires_url( $id ) );
2068
  echo
2069
  '<tr>' .
2070
  '<td>' .
wppa-wrappers.php CHANGED
@@ -5,7 +5,7 @@
5
  * Contains wrappers for standard php functions
6
  * For security and bug reasons
7
  *
8
- * Version 7.1.10
9
  *
10
  */
11
 
@@ -360,7 +360,7 @@ function wppa_rmdir( $dir, $when_empty = false ) {
360
  if ( empty( $files ) ) {
361
  rmdir( $dir );
362
  }
363
- if ( is_dir( $dir ) ) {
364
  wppa_log( 'Err', 'Could not remove dir ' . wppa_shortpath( $dir ) );
365
  }
366
  else {
5
  * Contains wrappers for standard php functions
6
  * For security and bug reasons
7
  *
8
+ * Version 7.1.11
9
  *
10
  */
11
 
360
  if ( empty( $files ) ) {
361
  rmdir( $dir );
362
  }
363
+ if ( wppa_is_dir( $dir ) ) {
364
  wppa_log( 'Err', 'Could not remove dir ' . wppa_shortpath( $dir ) );
365
  }
366
  else {
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.1.11.002
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 = '7110'; // WPPA db version
26
- global $wppa_api_version; $wppa_api_version = '7.1.11.002'; // WPPA software version
27
 
28
  /* Init page js data */
29
  global $wppa_js_page_data; $wppa_js_page_data = '';
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.1.11.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
 
24
  /* WPPA GLOBALS */
25
  global $wppa_revno; $wppa_revno = '7110'; // WPPA db version
26
+ global $wppa_api_version; $wppa_api_version = '7.1.11.004'; // WPPA software version
27
 
28
  /* Init page js data */
29
  global $wppa_js_page_data; $wppa_js_page_data = '';