WP Photo Album Plus - Version 7.1.04.002

Version Description

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

Code changes from version 7.1.03.005 to 7.1.04.002

changelog.txt CHANGED
@@ -1,5 +1,12 @@
1
WP Photo Album Plus Changelog
2
3
= 7.1.03 =
4
5
* Fixed layout of popup windows of Table VIII-C.
@@ -8,6 +15,7 @@ WP Photo Album Plus Changelog
8
* Built-in protection against recursive error logging.
9
* Attempt to log recursive is detected and shown at the top of the log in Table VIII-A1 and on the adminbar menu loglist.
10
* Fixed a problem with frontend uploads when saving source was switched off.
11
12
= 7.1.02 =
13
1
WP Photo Album Plus Changelog
2
3
+ = 7.1.04 =
4
+
5
+ * If a video has a posterimage and corresponding thumbnail, the thumbnail image will now be used as poster image for the album cover image.
6
+ * Added options to Table IX-A15.1 and Table IX-A15.2.
7
+ * Fixed possible hang during setup.
8
+ * The depot dir is now only created for the administrators and for other users that access the import page.
9
+
10
= 7.1.03 =
11
12
* Fixed layout of popup windows of Table VIII-C.
15
* Built-in protection against recursive error logging.
16
* Attempt to log recursive is detected and shown at the top of the log in Table VIII-A1 and on the adminbar menu loglist.
17
* Fixed a problem with frontend uploads when saving source was switched off.
18
+ * Fixed a problem with import pdf posters when saving source was switched off.
19
20
= 7.1.02 =
21
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: 7.1.03
6
- Stable tag: 7.1.02.007
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
= 7.1.03 =
141
142
* This version addresses various security issues.
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.04
6
+ Stable tag: 7.1.03.005
7
Author: J.N. Breetvelt
8
Author URI: http://www.opajaap.nl/
9
Requires at least: 3.9
137
138
== Upgrade Notice ==
139
140
+ = 7.1.04 =
141
+
142
+ * This version addresses various bug fixes.
143
+
144
= 7.1.03 =
145
146
* This version addresses various security issues.
wppa-admin.php CHANGED
@@ -3,7 +3,7 @@
3
* Package: wp-photo-album-plus
4
*
5
* Contains the admin menu and startups the admin pages
6
- * Version 7.1.03
7
*
8
*/
9
@@ -150,6 +150,14 @@ function wppa_edit_photo() {
150
}
151
// Import admin page
152
function wppa_page_import() {
153
if ( wppa_is_user_blacklisted() ) wp_die(__( 'Importing is temporary disabled for you' , 'wp-photo-album-plus') );
154
wppa_grant_albums();
155
wppa_rename_files_sanitized( WPPA_DEPOT_PATH );
3
* Package: wp-photo-album-plus
4
*
5
* Contains the admin menu and startups the admin pages
6
+ * Version 7.1.04
7
*
8
*/
9
150
}
151
// Import admin page
152
function wppa_page_import() {
153
+
154
+ // check the user depot directory
155
+ $dir = WPPA_DEPOT_PATH;
156
+ if ( ! wppa_is_dir( $dir ) ) {
157
+ wppa_mktree( $dir );
158
+ }
159
+ wppa_chmod( $dir, true );
160
+
161
if ( wppa_is_user_blacklisted() ) wp_die(__( 'Importing is temporary disabled for you' , 'wp-photo-album-plus') );
162
wppa_grant_albums();
163
wppa_rename_files_sanitized( WPPA_DEPOT_PATH );
wppa-album-covers.php CHANGED
@@ -3,7 +3,7 @@
3
* Package: wp-photo-album-plus
4
*
5
* Functions for album covers
6
- * Version 7.1.00
7
*
8
*/
9
@@ -826,6 +826,15 @@ global $wpdb;
826
if ( ! $imgheight ) $imgheight = '0';
827
$frmwidth = $imgwidth + '10'; // + 2 * 1 border + 2 * 4 padding
828
829
// Find the photo frame style
830
if ( wppa_in_widget() ) {
831
$photoframestyle = 'style="text-align:center; "';
@@ -977,6 +986,7 @@ global $wpdb;
977
// ' height="' . $imgheight . '"' .
978
' style="' . wppa_wcs( 'wppa-img' ) . $imgattr . '"' .
979
' ' . $events .
980
' >' .
981
wppa_get_video_body( $image['id'] ) .
982
'</video>'
@@ -1014,6 +1024,7 @@ global $wpdb;
1014
// ' height="' . $imgheight . '"' .
1015
' style="' . wppa_wcs( 'wppa-img' ) . $imgattr . '"' .
1016
' ' . $events .
1017
' >' .
1018
wppa_get_video_body( $image['id'] ) .
1019
'</video>'
3
* Package: wp-photo-album-plus
4
*
5
* Functions for album covers
6
+ * Version 7.1.04
7
*
8
*/
9
826
if ( ! $imgheight ) $imgheight = '0';
827
$frmwidth = $imgwidth + '10'; // + 2 * 1 border + 2 * 4 padding
828
829
+ // Find the posterurl if mm and exists
830
+ $thumburl = wppa_get_thumb_url( $image['id'] );
831
+ if ( wppa_is_file( wppa_get_thumb_path( $image['id'] ) ) && wppa_is_multi( $image['id'] ) ) {
832
+ $posterurl = $thumburl;
833
+ }
834
+ else {
835
+ $posterurl = '';
836
+ }
837
+
838
// Find the photo frame style
839
if ( wppa_in_widget() ) {
840
$photoframestyle = 'style="text-align:center; "';
986
// ' height="' . $imgheight . '"' .
987
' style="' . wppa_wcs( 'wppa-img' ) . $imgattr . '"' .
988
' ' . $events .
989
+ ' ' . ( $posterurl ? 'poster="' . esc_url( $posterurl ) . '"' : '' ) .
990
' >' .
991
wppa_get_video_body( $image['id'] ) .
992
'</video>'
1024
// ' height="' . $imgheight . '"' .
1025
' style="' . wppa_wcs( 'wppa-img' ) . $imgattr . '"' .
1026
' ' . $events .
1027
+ ' ' . ( $posterurl ? 'poster="' . esc_url( $posterurl ) . '"' : '' ) .
1028
' >' .
1029
wppa_get_video_body( $image['id'] ) .
1030
'</video>'
wppa-init.php CHANGED
@@ -4,7 +4,7 @@
4
*
5
* This file loads required php files and contains all functions used in init actions.
6
*
7
- * Version 7.1.03
8
*/
9
10
/* LOAD SIDEBAR WIDGETS */
@@ -197,9 +197,9 @@ global $blog_id;
197
}
198
}
199
200
- wppa_mktree( WPPA_UPLOAD_PATH ); // Whatever (faulty) path has been calculated, it will be
201
- wppa_mktree( WPPA_UPLOAD_PATH . '/thumbs' ); // Just to make sure the chmod is right ( 755 )
202
- wppa_mktree( WPPA_DEPOT_PATH ); // created and not prevent plugin to activate or function
203
204
global $wppa_log_file_new;
205
$wppa_log_file_new = WPPA_UPLOAD_PATH . '/wppa-log.txt';
4
*
5
* This file loads required php files and contains all functions used in init actions.
6
*
7
+ * Version 7.1.04
8
*/
9
10
/* LOAD SIDEBAR WIDGETS */
197
}
198
}
199
200
+ // wppa_mktree( WPPA_UPLOAD_PATH ); // Whatever (faulty) path has been calculated, it will be
201
+ // wppa_mktree( WPPA_UPLOAD_PATH . '/thumbs' ); // Just to make sure the chmod is right ( 755 )
202
+ // wppa_mktree( WPPA_DEPOT_PATH ); // created and not prevent plugin to activate or function
203
204
global $wppa_log_file_new;
205
$wppa_log_file_new = WPPA_UPLOAD_PATH . '/wppa-log.txt';
wppa-settings-autosave.php CHANGED
@@ -3,7 +3,7 @@
3
* Package: wp-photo-album-plus
4
*
5
* manage all options
6
- * Version 7.1.03
7
*
8
*/
9
@@ -8609,7 +8609,7 @@ global $wppa_supported_camara_brands;
8609
$desc = __('Number of extra resize handler actions', 'wp-photo-album-plus');
8610
$help = '';
8611
$slug = 'wppa_extended_resize_count';
8612
- $opts = array('0','1','2','3','4','5','6');
8613
$vals = $opts;
8614
$html = wppa_select($slug, $opts, $vals).' '.__('times', 'wp-photo-album-plus');
8615
$clas = '';
@@ -8620,7 +8620,7 @@ global $wppa_supported_camara_brands;
8620
$desc = __('Delay time of extra resize handler actions', 'wp-photo-album-plus');
8621
$help = '';
8622
$slug = 'wppa_extended_resize_delay';
8623
- $opts = array('100','150','200','300','500','700','1000');
8624
$vals = $opts;
8625
$html = wppa_select($slug, $opts, $vals).' ms.';
8626
$clas = '';
3
* Package: wp-photo-album-plus
4
*
5
* manage all options
6
+ * Version 7.1.04
7
*
8
*/
9
8609
$desc = __('Number of extra resize handler actions', 'wp-photo-album-plus');
8610
$help = '';
8611
$slug = 'wppa_extended_resize_count';
8612
+ $opts = array('0','1','2','3','4','5','6','10','15','20');
8613
$vals = $opts;
8614
$html = wppa_select($slug, $opts, $vals).' '.__('times', 'wp-photo-album-plus');
8615
$clas = '';
8620
$desc = __('Delay time of extra resize handler actions', 'wp-photo-album-plus');
8621
$help = '';
8622
$slug = 'wppa_extended_resize_delay';
8623
+ $opts = array('5','10','20','50','100','150','200','300','500','700','1000');
8624
$vals = $opts;
8625
$html = wppa_select($slug, $opts, $vals).' ms.';
8626
$clas = '';
wppa-setup.php CHANGED
@@ -3,7 +3,7 @@
3
* Package: wp-photo-album-plus
4
*
5
* Contains all the setup stuff
6
- * Version 7.1.02
7
*
8
*/
9
@@ -2023,7 +2023,7 @@ function wppa_check_dirs() {
2023
// check if depot dir exists
2024
if ( ! is_multisite() ) {
2025
2026
- // check if users depot dir exists
2027
$dir = WPPA_CONTENT_PATH . '/wppa-depot';
2028
if ( ! wppa_is_dir( $dir ) ) {
2029
wppa_mktree( $dir );
@@ -2031,13 +2031,13 @@ function wppa_check_dirs() {
2031
wppa_chmod( $dir, true );
2032
}
2033
2034
- // check the user depot directory
2035
$dir = WPPA_DEPOT_PATH;
2036
if ( ! wppa_is_dir( $dir ) ) {
2037
wppa_mktree( $dir );
2038
}
2039
wppa_chmod( $dir, true );
2040
-
2041
// check the temp dir
2042
$dir = WPPA_UPLOAD_PATH . '/temp/';
2043
if ( ! wppa_is_dir( $dir ) ) {
3
* Package: wp-photo-album-plus
4
*
5
* Contains all the setup stuff
6
+ * Version 7.1.04
7
*
8
*/
9
2023
// check if depot dir exists
2024
if ( ! is_multisite() ) {
2025
2026
+ // check if master depot dir exists
2027
$dir = WPPA_CONTENT_PATH . '/wppa-depot';
2028
if ( ! wppa_is_dir( $dir ) ) {
2029
wppa_mktree( $dir );
2031
wppa_chmod( $dir, true );
2032
}
2033
2034
+ // check the plugin activators depot directory
2035
$dir = WPPA_DEPOT_PATH;
2036
if ( ! wppa_is_dir( $dir ) ) {
2037
wppa_mktree( $dir );
2038
}
2039
wppa_chmod( $dir, true );
2040
+
2041
// check the temp dir
2042
$dir = WPPA_UPLOAD_PATH . '/temp/';
2043
if ( ! wppa_is_dir( $dir ) ) {
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.03
9
*
10
*/
11
@@ -298,11 +298,11 @@ global $wp_filesystem;
298
function wppa_mktree( $path ) {
299
300
if ( wppa_is_dir( $path ) ) {
301
- wppa_chmod( $path, true );
302
return true;
303
}
304
$bret = wppa_mktree( dirname( $path ) );
305
- wppa_mkdir( $path );
306
307
return ( wppa_is_dir( $path ) );
308
}
@@ -412,6 +412,8 @@ global $wp_filesystem;
412
function wppa_is_dir( $dir ) {
413
global $wp_filesystem;
414
415
if ( ! wppa_is_path_safe( $dir ) ) {
416
wppa_log( 'Err', 'Unsafe path detected in wppa_is_dir(): ' . sanitize_text_field( $dir ), true );
417
return false;
@@ -419,6 +421,7 @@ global $wp_filesystem;
419
420
wppa_init_fs();
421
return $wp_filesystem->is_dir( $dir );
422
}
423
424
// Wrapper for is_file
5
* Contains wrappers for standard php functions
6
* For security and bug reasons
7
*
8
+ * Version 7.1.04
9
*
10
*/
11
298
function wppa_mktree( $path ) {
299
300
if ( wppa_is_dir( $path ) ) {
301
+ wppa_chmod( $path );
302
return true;
303
}
304
$bret = wppa_mktree( dirname( $path ) );
305
+ if ( $bret ) wppa_mkdir( $path );
306
307
return ( wppa_is_dir( $path ) );
308
}
412
function wppa_is_dir( $dir ) {
413
global $wp_filesystem;
414
415
+ return is_dir($dir);
416
+ /*
417
if ( ! wppa_is_path_safe( $dir ) ) {
418
wppa_log( 'Err', 'Unsafe path detected in wppa_is_dir(): ' . sanitize_text_field( $dir ), true );
419
return false;
421
422
wppa_init_fs();
423
return $wp_filesystem->is_dir( $dir );
424
+ */
425
}
426
427
// Wrapper for is_file
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.03.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 = '7103'; // WPPA db version
26
- global $wppa_api_version; $wppa_api_version = '7.1.03.005'; // WPPA software version
27
28
/* start timers */
29
add_action( 'plugins_loaded', 'wppa_init_timer' );
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.04.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/
22
global $wp_version;
23
24
/* WPPA GLOBALS */
25
+ global $wppa_revno; $wppa_revno = '7104'; // WPPA db version
26
+ global $wppa_api_version; $wppa_api_version = '7.1.04.002'; // WPPA software version
27
28
/* start timers */
29
add_action( 'plugins_loaded', 'wppa_init_timer' );