WP Photo Album Plus - Version 6.9.18

Version Description

  • This version addresses various minor bug fixes
Download this release

Release Info

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

Code changes from version 6.9.17 to 6.9.18

Files changed (5) hide show
  1. changelog.txt +6 -0
  2. readme.txt +6 -2
  3. wppa-source.php +3 -3
  4. wppa-wrappers.php +3 -1
  5. wppa.php +3 -3
changelog.txt CHANGED
@@ -1,5 +1,11 @@
1
  WP Photo Album Plus Changelog
2
 
 
 
 
 
 
 
3
  = 6.9.17 =
4
 
5
  = Bug Fixes =
1
  WP Photo Album Plus Changelog
2
 
3
+ = 6.9.18 =
4
+
5
+ = Bug Fixes =
6
+
7
+ * Fixed erroneously reported unsafe filepaths found and hence inability to upload/import on new installations.
8
+
9
  = 6.9.17 =
10
 
11
  = Bug Fixes =
readme.txt CHANGED
@@ -2,8 +2,8 @@
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: 6.9.17
6
- Stable tag: 6.9.15
7
  Author: J.N. Breetvelt
8
  Author URI: http://www.opajaap.nl/
9
  Requires at least: 3.9
@@ -137,6 +137,10 @@ See for the full changelog: <a href="http://www.wppa.nl/changelog/" >The documen
137
 
138
  == Upgrade Notice ==
139
 
 
 
 
 
140
  = 6.9.17 =
141
 
142
  * This version addresses various minor bug fixes and feature requests.
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: 6.9.18
6
+ Stable tag: 6.9.17
7
  Author: J.N. Breetvelt
8
  Author URI: http://www.opajaap.nl/
9
  Requires at least: 3.9
137
 
138
  == Upgrade Notice ==
139
 
140
+ = 6.9.18 =
141
+
142
+ * This version addresses various minor bug fixes
143
+
144
  = 6.9.17 =
145
 
146
  * This version addresses various minor bug fixes and feature requests.
wppa-source.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains photo source file management routines
6
- * Version 6.9.16
7
  *
8
  */
9
 
@@ -43,9 +43,9 @@ function wppa_save_source( $file, $name, $alb ) {
43
  }
44
  $dest = $albdir . '/' . wppa_sanitize_file_name( $name );
45
  if ( $file != $dest ) {
46
-
47
  // Are we uploading ?
48
- if ( isset( $_FILES['name'] ) ) {
49
  wppa_move_uploaded_file( $file, $dest );
50
  }
51
  // Or importing
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains photo source file management routines
6
+ * Version 6.9.18
7
  *
8
  */
9
 
43
  }
44
  $dest = $albdir . '/' . wppa_sanitize_file_name( $name );
45
  if ( $file != $dest ) {
46
+
47
  // Are we uploading ?
48
+ if ( $_FILES ) {
49
  wppa_move_uploaded_file( $file, $dest );
50
  }
51
  // Or importing
wppa-wrappers.php CHANGED
@@ -5,7 +5,7 @@
5
  * Contains wrappers for standard php functions
6
  * For security and bug reasons
7
  *
8
- * Version 6.9.17
9
  *
10
  */
11
 
@@ -71,6 +71,8 @@ global $wppa_log_file;
71
  // The following files are safe to read or write to
72
  $safe_files = array( WPPA_PATH . '/wppa-init.' . $wppa_lang . '.js',
73
  WPPA_PATH . '/wppa-dynamic.css',
 
 
74
  $wppa_log_file,
75
  );
76
  }
5
  * Contains wrappers for standard php functions
6
  * For security and bug reasons
7
  *
8
+ * Version 6.9.18
9
  *
10
  */
11
 
71
  // The following files are safe to read or write to
72
  $safe_files = array( WPPA_PATH . '/wppa-init.' . $wppa_lang . '.js',
73
  WPPA_PATH . '/wppa-dynamic.css',
74
+ WPPA_PATH . '/index.php',
75
+ WPPA_CONTENT_PATH . '/uploads/index.php',
76
  $wppa_log_file,
77
  );
78
  }
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: 6.9.17.005
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/
@@ -22,8 +22,8 @@ global $wpdb;
22
  global $wp_version;
23
 
24
  /* WPPA GLOBALS */
25
- global $wppa_revno; $wppa_revno = '6916'; // WPPA db version
26
- global $wppa_api_version; $wppa_api_version = '6-9-17-005'; // 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: 6.9.18.001
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/
22
  global $wp_version;
23
 
24
  /* WPPA GLOBALS */
25
+ global $wppa_revno; $wppa_revno = '6918'; // WPPA db version
26
+ global $wppa_api_version; $wppa_api_version = '6-9-18-001'; // WPPA software version
27
 
28
  /* start timers */
29
  global $wppa_starttime; $wppa_starttime = microtime( true );