WP Photo Album Plus - Version 7.1.03.003

Version Description

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

Code changes from version 7.1.03.002 to 7.1.03.003

Files changed (6) hide show
  1. wppa-ajax.php +4 -1
  2. wppa-init.php +4 -1
  3. wppa-maintenance.php +3 -3
  4. wppa-utils.php +4 -5
  5. wppa-wrappers.php +2 -0
  6. wppa.php +2 -2
wppa-ajax.php CHANGED
@@ -14,7 +14,7 @@ add_action( 'wp_ajax_nopriv_wppa', 'wppa_ajax_callback' );
14
  function wppa_ajax_callback() {
15
  global $wpdb;
16
  global $wppa_session;
17
- global $wppa_log_file;
18
 
19
  wppa( 'ajax', true );
20
  wppa( 'error', '0' );
@@ -3334,6 +3334,9 @@ global $wppa_log_file;
3334
  if ( wppa_is_file( $wppa_log_file ) ) {
3335
  wppa_unlink( $wppa_log_file );
3336
  }
 
 
 
3337
  delete_option( 'wppa_recursive_log' );
3338
  break;
3339
 
14
  function wppa_ajax_callback() {
15
  global $wpdb;
16
  global $wppa_session;
17
+ global $wppa_log_file_new;
18
 
19
  wppa( 'ajax', true );
20
  wppa( 'error', '0' );
3334
  if ( wppa_is_file( $wppa_log_file ) ) {
3335
  wppa_unlink( $wppa_log_file );
3336
  }
3337
+ if ( wppa_is_file( $wppa_log_file_new ) ) {
3338
+ wppa_unlink( $wppa_log_file_new );
3339
+ }
3340
  delete_option( 'wppa_recursive_log' );
3341
  break;
3342
 
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.0.12
8
  */
9
 
10
  /* LOAD SIDEBAR WIDGETS */
@@ -200,6 +200,9 @@ global $blog_id;
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
 
205
  function wppa_verify_multisite_config() {
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 */
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';
206
  }
207
 
208
  function wppa_verify_multisite_config() {
wppa-maintenance.php CHANGED
@@ -1141,7 +1141,7 @@ global $wppa_endtime;
1141
 
1142
  function wppa_do_maintenance_popup( $slug ) {
1143
  global $wpdb;
1144
- global $wppa_log_file;
1145
 
1146
  // Open wrapper with dedicated styles
1147
  $result =
@@ -1235,11 +1235,11 @@ global $wppa_log_file;
1235
  $rec . '<br /><br />';
1236
  }
1237
 
1238
- if ( ! wppa_is_file( $wppa_log_file ) ) {
1239
  $result .= __( 'There are no log messages', 'wp-photo-album-plus' );
1240
  }
1241
  else {
1242
- $data = wppa_get_contents_array( $wppa_log_file );
1243
  $data = implode( '', array_reverse( $data ) );
1244
  $data = str_replace( array( '{b}', '{/b}', '{i}', '{/i}', "\n", '{span', '{/span}', '" }', '{}' ), array( '<b>', '</b>', '<i>', '</i>', '<br />', '<span', '</span>', '" >', '<>' ), $data );
1245
  $result .= $data;
1141
 
1142
  function wppa_do_maintenance_popup( $slug ) {
1143
  global $wpdb;
1144
+ global $wppa_log_file_new;
1145
 
1146
  // Open wrapper with dedicated styles
1147
  $result =
1235
  $rec . '<br /><br />';
1236
  }
1237
 
1238
+ if ( ! wppa_is_file( $wppa_log_file_new ) ) {
1239
  $result .= __( 'There are no log messages', 'wp-photo-album-plus' );
1240
  }
1241
  else {
1242
+ $data = wppa_get_contents_array( $wppa_log_file_new );
1243
  $data = implode( '', array_reverse( $data ) );
1244
  $data = str_replace( array( '{b}', '{/b}', '{i}', '{/i}', "\n", '{span', '{/span}', '" }', '{}' ), array( '<b>', '</b>', '<i>', '</i>', '<br />', '<span', '</span>', '" >', '<>' ), $data );
1245
  $result .= $data;
wppa-utils.php CHANGED
@@ -1495,7 +1495,7 @@ function wppa_is_enum( $var ) {
1495
  // Also, we do not use the wppa filesystem function wrappers, to prevent recursive error logging
1496
  function wppa_log( $xtype, $msg, $trace = false, $listuri = false ) {
1497
  global $wppa_session;
1498
- global $wppa_log_file;
1499
  static $busy;
1500
 
1501
  // Do not log during plugin activation or update
@@ -1509,7 +1509,6 @@ static $busy;
1509
  // Test for recursive logging
1510
  if ( $busy ) {
1511
  update_option( 'wppa_recursive_log', $xtype . ' ' . $msg );
1512
- $busy = false;
1513
  return;
1514
  }
1515
  $busy = true;
@@ -1596,9 +1595,9 @@ static $busy;
1596
  }
1597
 
1598
  // Get existing log if it exists
1599
- if ( wppa_is_file( $wppa_log_file, false ) ) {
1600
 
1601
- $contents = wppa_get_contents_array( $wppa_log_file, false ); // Do not log error on read
1602
 
1603
  if ( is_array( $contents ) ) {
1604
 
@@ -1651,7 +1650,7 @@ static $busy;
1651
  }
1652
 
1653
  // Done
1654
- wppa_put_contents( $wppa_log_file, implode( '', $contents ), false );
1655
  $busy = false;
1656
  }
1657
 
1495
  // Also, we do not use the wppa filesystem function wrappers, to prevent recursive error logging
1496
  function wppa_log( $xtype, $msg, $trace = false, $listuri = false ) {
1497
  global $wppa_session;
1498
+ global $wppa_log_file_new;
1499
  static $busy;
1500
 
1501
  // Do not log during plugin activation or update
1509
  // Test for recursive logging
1510
  if ( $busy ) {
1511
  update_option( 'wppa_recursive_log', $xtype . ' ' . $msg );
 
1512
  return;
1513
  }
1514
  $busy = true;
1595
  }
1596
 
1597
  // Get existing log if it exists
1598
+ if ( wppa_is_file( $wppa_log_file_new, false ) ) {
1599
 
1600
+ $contents = wppa_get_contents_array( $wppa_log_file_new, false ); // Do not log error on read
1601
 
1602
  if ( is_array( $contents ) ) {
1603
 
1650
  }
1651
 
1652
  // Done
1653
+ wppa_put_contents( $wppa_log_file_new, implode( '', $contents ), false );
1654
  $busy = false;
1655
  }
1656
 
wppa-wrappers.php CHANGED
@@ -477,6 +477,7 @@ global $wp_filesystem;
477
  function wppa_is_path_safe( $path, $wp_content = false ) {
478
  global $wppa_lang;
479
  global $wppa_log_file;
 
480
 
481
  // Check against phar deserialisation
482
  if ( stripos( $path, 'phar://' ) !== false ) {
@@ -490,6 +491,7 @@ global $wppa_log_file;
490
  WPPA_PATH . '/wppa-dump.txt',
491
  WPPA_CONTENT_PATH . '/uploads/index.php',
492
  $wppa_log_file,
 
493
  WPPA_CONTENT_PATH . '/plugins/wp-photo-album-plus/img/audiostub.jpg',
494
  WPPA_CONTENT_PATH . '/plugins/wp-photo-album-plus/img/documentstub.png',
495
  );
477
  function wppa_is_path_safe( $path, $wp_content = false ) {
478
  global $wppa_lang;
479
  global $wppa_log_file;
480
+ global $wppa_log_file_new;
481
 
482
  // Check against phar deserialisation
483
  if ( stripos( $path, 'phar://' ) !== false ) {
491
  WPPA_PATH . '/wppa-dump.txt',
492
  WPPA_CONTENT_PATH . '/uploads/index.php',
493
  $wppa_log_file,
494
+ $wppa_log_file_new,
495
  WPPA_CONTENT_PATH . '/plugins/wp-photo-album-plus/img/audiostub.jpg',
496
  WPPA_CONTENT_PATH . '/plugins/wp-photo-album-plus/img/documentstub.png',
497
  );
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.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 = '7102'; // WPPA db version
26
- global $wppa_api_version; $wppa_api_version = '7.1.03.002'; // 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.03.003
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 = '7102'; // WPPA db version
26
+ global $wppa_api_version; $wppa_api_version = '7.1.03.003'; // WPPA software version
27
 
28
  /* start timers */
29
  add_action( 'plugins_loaded', 'wppa_init_timer' );