WP Photo Album Plus - Version 7.0.06.003

Version Description

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

Code changes from version 7.0.06.002 to 7.0.06.003

Files changed (5) hide show
  1. changelog.txt +2 -0
  2. wppa-encrypt.php +12 -26
  3. wppa-init.php +2 -2
  4. wppa-non-admin.php +3 -1
  5. wppa.php +3 -3
changelog.txt CHANGED
@@ -3,6 +3,8 @@ WP Photo Album Plus Changelog
3
  = 7.0.06 =
4
 
5
  * Fixed textual issues on the settings admin page.
 
 
6
 
7
  = 7.0.05 =
8
 
3
  = 7.0.06 =
4
 
5
  * Fixed textual issues on the settings admin page.
6
+ * Fixed defined path errors for Windows multisite individual systems.
7
+ * Fixed nicescroll on window with deferred javascript.
8
 
9
  = 7.0.05 =
10
 
wppa-encrypt.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all ecryption/decryption logic
6
- * Version 7.0.04
7
  *
8
  */
9
 
@@ -35,38 +35,24 @@ function wppa_get_unique_album_crypt() {
35
  function wppa_get_unique_crypt( $table = null ) {
36
  global $wpdb;
37
 
38
- // $crypt = substr( md5( microtime() ), 0, 12 );
39
- $crypt = '';
40
- while ( strlen( $crypt ) < 12 ) {
41
- $crypt = crypt( microtime(), rand( 1000, 4711 ) );
42
- $crypt = str_replace( array( '.', '/' ), '', $crypt );
43
- }
44
- $crypt = substr( $crypt, 0, 12 );
45
- if ( ! $table ) {
46
- return $crypt;
47
- }
48
-
49
- if ( $table == WPPA_PHOTOS ) {
50
- $dup = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->wppa_photos WHERE crypt = %s", $crypt ) );
51
- }
52
- else {
53
- $dup = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->wppa_albums WHERE crypt = %s", $crypt ) );
54
- }
55
  while ( $dup ) {
56
- // sleep( 1 );
57
- // $crypt = substr( md5( microtime() ), 0, 12 );
58
- $crype = '';
59
- while ( strlen( $crypt ) < 12 ) {
60
- $crypt = crypt( microtime(), rand( 1000, 4711 ) );
61
- $crypt = str_replace( array( '.', '/' ), '', $crypt );
62
- }
63
- $crypt = substr( $crypt, 0, 12 );
64
  if ( $table == WPPA_PHOTOS ) {
65
  $dup = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->wppa_photos WHERE crypt = %s", $crypt ) );
66
  }
67
  else {
68
  $dup = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->wppa_albums WHERE crypt = %s", $crypt ) );
69
  }
 
 
 
 
70
  }
71
  return $crypt;
72
  }
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all ecryption/decryption logic
6
+ * Version 7.0.06
7
  *
8
  */
9
 
35
  function wppa_get_unique_crypt( $table = null ) {
36
  global $wpdb;
37
 
38
+ $count = 0;
39
+
40
+ $dup = true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  while ( $dup ) {
42
+
43
+ $crypt = crypt( microtime(),'$6$rounds=5000$' . AUTH_SALT );
44
+ $crypt = str_replace( array( '.', '/' ), '', $crypt );
45
+ $crypt = substr( $crypt, strlen( $crypt ) - 13, 12 );
 
 
 
 
46
  if ( $table == WPPA_PHOTOS ) {
47
  $dup = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->wppa_photos WHERE crypt = %s", $crypt ) );
48
  }
49
  else {
50
  $dup = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->wppa_albums WHERE crypt = %s", $crypt ) );
51
  }
52
+ $count++;
53
+ }
54
+ if ( $count > 1 ) {
55
+ wppa_log( 'obs', 'Crypt needed ' . ( $count - 1 ) . ' retries' );
56
  }
57
  return $crypt;
58
  }
wppa-init.php CHANGED
@@ -156,10 +156,10 @@ global $blog_id;
156
  }
157
  elseif ( WPPA_MULTISITE_INDIVIDUAL ) { // New multisite individual
158
  define( 'WPPA_UPLOAD', $rel_uploads_path . '/sites/'.$blog_id);
159
- define( 'WPPA_UPLOAD_PATH', ABSPATH.WPPA_UPLOAD.'/wppa');
160
  define( 'WPPA_UPLOAD_URL', get_bloginfo('wpurl').'/'.WPPA_UPLOAD.'/wppa');
161
  define( 'WPPA_DEPOT', $rel_uploads_path . '/sites/'.$blog_id.'/wppa-depot' );
162
- define( 'WPPA_DEPOT_PATH', ABSPATH.WPPA_DEPOT );
163
  define( 'WPPA_DEPOT_URL', get_bloginfo('wpurl').'/'.WPPA_DEPOT );
164
  }
165
  else { // Not working default multisite
156
  }
157
  elseif ( WPPA_MULTISITE_INDIVIDUAL ) { // New multisite individual
158
  define( 'WPPA_UPLOAD', $rel_uploads_path . '/sites/'.$blog_id);
159
+ define( 'WPPA_UPLOAD_PATH', WPPA_ABSPATH.WPPA_UPLOAD.'/wppa');
160
  define( 'WPPA_UPLOAD_URL', get_bloginfo('wpurl').'/'.WPPA_UPLOAD.'/wppa');
161
  define( 'WPPA_DEPOT', $rel_uploads_path . '/sites/'.$blog_id.'/wppa-depot' );
162
+ define( 'WPPA_DEPOT_PATH', WPPA_ABSPATH.WPPA_DEPOT );
163
  define( 'WPPA_DEPOT_URL', get_bloginfo('wpurl').'/'.WPPA_DEPOT );
164
  }
165
  else { // Not working default multisite
wppa-non-admin.php CHANGED
@@ -691,7 +691,9 @@ global $wppa_js_page_data_file;
691
  echo '
692
  <!-- Nice scroller on window, by wppa -->
693
  <script type="text/javascript" >
694
- jQuery("body").niceScroll({' . wppa_opt( 'nicescroll_opts' ) . '});
 
 
695
  </script>';
696
  }
697
  }
691
  echo '
692
  <!-- Nice scroller on window, by wppa -->
693
  <script type="text/javascript" >
694
+ jQuery("document").ready(function(){
695
+ jQuery("body").niceScroll({' . wppa_opt( 'nicescroll_opts' ) . '});
696
+ });
697
  </script>';
698
  }
699
  }
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.06.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,8 +22,8 @@ global $wpdb;
22
  global $wp_version;
23
 
24
  /* WPPA GLOBALS */
25
- global $wppa_revno; $wppa_revno = '7005'; // WPPA db version
26
- global $wppa_api_version; $wppa_api_version = '7-0-06-002'; // 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.06.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/
22
  global $wp_version;
23
 
24
  /* WPPA GLOBALS */
25
+ global $wppa_revno; $wppa_revno = '7006'; // WPPA db version
26
+ global $wppa_api_version; $wppa_api_version = '7-0-06-003'; // WPPA software version
27
 
28
  /* start timers */
29
  global $wppa_starttime; $wppa_starttime = microtime( true );