WP Photo Album Plus - Version 8.0.07.009

Version Description

= 8.0.07 =

  • This version addresses various bug fixes and security fixes.
Download this release

Release Info

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

Code changes from version 8.0.07.007 to 8.0.07.009

wppa-ajax.php CHANGED
@@ -181,7 +181,7 @@ global $wppa;
181
  case 'getqrcode':
182
  $nonce = wppa_get( 'qr-nonce' );
183
  if ( ! wp_verify_nonce( $nonce, 'wppa-qr-nonce' ) ) {
184
- die( 'Security check falure' );
185
  }
186
  $url = wppa_get( 'url' );
187
  $result = wppa_create_qrcode_cache( $url, wppa_opt( 'qr_size' ) );
181
  case 'getqrcode':
182
  $nonce = wppa_get( 'qr-nonce' );
183
  if ( ! wp_verify_nonce( $nonce, 'wppa-qr-nonce' ) ) {
184
+ die( 'Security check failure' );
185
  }
186
  $url = wppa_get( 'url' );
187
  $result = wppa_create_qrcode_cache( $url, wppa_opt( 'qr_size' ) );
wppa-breadcrumb.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Functions for breadcrumbs
6
- * Version 8.0.07.005
7
  *
8
  */
9
 
@@ -90,6 +90,14 @@ global $wppa_session;
90
  ' style="' .
91
  '" >' );
92
 
 
 
 
 
 
 
 
 
93
  // Do we need Home?
94
  if ( wppa_switch( 'show_home' ) ) {
95
  $value = __( wppa_opt( 'home_text' ) );
3
  * Package: wp-photo-album-plus
4
  *
5
  * Functions for breadcrumbs
6
+ * Version 8.0.07.009
7
  *
8
  */
9
 
90
  ' style="' .
91
  '" >' );
92
 
93
+ /* diagnostic
94
+
95
+ if ( defined( 'DOING_AJAX' ) ) wppa_out('A');
96
+ if ( defined( 'DOING_WPPA_AJAX' ) ) wppa_out('W');
97
+ if ( wppa( 'ajax') ) wppa_out('a');
98
+
99
+ /* end diagnostic */
100
+
101
  // Do we need Home?
102
  if ( wppa_switch( 'show_home' ) ) {
103
  $value = __( wppa_opt( 'home_text' ) );
wppa-common-functions.php CHANGED
@@ -2,7 +2,7 @@
2
  /* wppa-common-functions.php
3
  *
4
  * Functions used in admin and in themes
5
- * Version 8.0.07.006
6
  *
7
  */
8
 
@@ -111,13 +111,7 @@ global $wppa_current_shortcode_atts;
111
 
112
  // Non wppa ajax? External ajax operation, maybe from pla, called us
113
  if ( defined( 'DOING_AJAX' ) && ! defined( 'DOING_WPPA_AJAX' ) ) {
114
- if ( wppa_get( 'action' ) == 'pla' ) {
115
- if ( $first_pla ) {
116
- $mocc = wppa_get( 'page' );
117
- $occ = $mocc;
118
- $first_pla = false;
119
- }
120
- }
121
  }
122
 
123
  // If doing wppa ajax, get occur from query arg
2
  /* wppa-common-functions.php
3
  *
4
  * Functions used in admin and in themes
5
+ * Version 8.0.07.009
6
  *
7
  */
8
 
111
 
112
  // Non wppa ajax? External ajax operation, maybe from pla, called us
113
  if ( defined( 'DOING_AJAX' ) && ! defined( 'DOING_WPPA_AJAX' ) ) {
114
+ $ajax = false;
 
 
 
 
 
 
115
  }
116
 
117
  // If doing wppa ajax, get occur from query arg
wppa-cron.php CHANGED
@@ -11,9 +11,6 @@
11
  // Are we in a cron job?
12
  function wppa_is_cron() {
13
 
14
- // if ( isset( $_GET['doing_wp_cron'] ) ) {
15
- // return $_GET['doing_wp_cron'];
16
- // }
17
  if ( defined( 'DOING_CRON' ) ) {
18
  return DOING_CRON;
19
  }
11
  // Are we in a cron job?
12
  function wppa_is_cron() {
13
 
 
 
 
14
  if ( defined( 'DOING_CRON' ) ) {
15
  return DOING_CRON;
16
  }
wppa-encrypt.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all ecryption/decryption logic
6
- * Version 8.0.07.007
7
  *
8
  */
9
 
@@ -241,12 +241,10 @@ static $hits;
241
  $p = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->wppa_photos WHERE crypt = %s", $photo ) );
242
  if ( $p ) {
243
  $result = $p;
244
- wppa_dump("Found photo $photo is number $p hits = $hits");
245
  $cache[$photo] = $p;
246
  return $result;
247
  }
248
  else {
249
- wppa_dump("Not found photo $photo");
250
  return false;
251
  }
252
  }
@@ -256,14 +254,14 @@ wppa_dump("Not found photo $photo");
256
  }
257
 
258
  // Album name to id. One only because of possible . in name or try to expand enum
259
- function wppa_decode_album( $album ) {
260
  global $wpdb;
261
 
262
  // Init
263
  $result = false;
264
 
265
  // If not mandatoty cryptic, try anything else first
266
- if ( ! wppa_switch( 'refuse_unencrypted' ) ) {
267
 
268
  // Leave '', '0' and false untouched
269
  if ( ! $album ) return $album;
@@ -274,6 +272,11 @@ global $wpdb;
274
  // Leave an enumeration of integers untouched
275
  elseif ( wppa_is_enum( $album ) ) return $album;
276
 
 
 
 
 
 
277
  // Try a single albumname. Can not be an enumeration because names may contain dots
278
  $id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->wppa_albums WHERE sname = %s LIMIT 1", $album ) );
279
  if ( $id ) {
@@ -338,12 +341,10 @@ static $hits;
338
  $a = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->wppa_albums WHERE crypt = %s", $album ) );
339
  if ( $a ) {
340
  $result = $a;
341
- wppa_dump("Found album $album is number $a hits = $hits");
342
  $cache[$album] = $a;
343
  return $result;
344
  }
345
  else {
346
- wppa_dump("Not found album $album");
347
  return false;
348
  }
349
  }
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all ecryption/decryption logic
6
+ * Version 8.0.07.009
7
  *
8
  */
9
 
241
  $p = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->wppa_photos WHERE crypt = %s", $photo ) );
242
  if ( $p ) {
243
  $result = $p;
 
244
  $cache[$photo] = $p;
245
  return $result;
246
  }
247
  else {
 
248
  return false;
249
  }
250
  }
254
  }
255
 
256
  // Album name to id. One only because of possible . in name or try to expand enum
257
+ function wppa_decode_album( $album, $strict = true ) {
258
  global $wpdb;
259
 
260
  // Init
261
  $result = false;
262
 
263
  // If not mandatoty cryptic, try anything else first
264
+ if ( ! wppa_switch( 'refuse_unencrypted' ) || ! $strict ) {
265
 
266
  // Leave '', '0' and false untouched
267
  if ( ! $album ) return $album;
272
  // Leave an enumeration of integers untouched
273
  elseif ( wppa_is_enum( $album ) ) return $album;
274
 
275
+ // If from shortcode, the name may start with a $
276
+ if ( substr( $album, 0, 1 ) == '$' ) {
277
+ $album = substr( $album, 1 );
278
+ }
279
+
280
  // Try a single albumname. Can not be an enumeration because names may contain dots
281
  $id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->wppa_albums WHERE sname = %s LIMIT 1", $album ) );
282
  if ( $id ) {
341
  $a = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM $wpdb->wppa_albums WHERE crypt = %s", $album ) );
342
  if ( $a ) {
343
  $result = $a;
 
344
  $cache[$album] = $a;
345
  return $result;
346
  }
347
  else {
 
348
  return false;
349
  }
350
  }
wppa-functions.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Various functions
6
- * Version 8.0.07.007
7
  *
8
  */
9
 
@@ -697,34 +697,22 @@ global $wppa_current_shortcode_atts;
697
  }
698
  }
699
 
700
- /*
701
  // See if the album id is a name or a crypt and convert it if possible
702
  $a = wppa( 'start_album' );
703
- if ( ! wppa_is_int( $a ) ) {
704
 
705
- wppa_dump( 'Start album = ' . $a );
706
-
707
- if ( wppa_switch( 'use_album_names_in_urls' ) ) {
708
- $a = wppa_decode_album( $a );
709
- }
710
- else {
711
- $a = wppa_decrypt_album( $a );
712
- }
713
  wppa( 'start_album', $a );
714
  }
715
 
716
  // Also for parents
717
  $p = wppa( 'last_albums_parent' );
718
- if ( ! wppa_is_int( $p ) ) {
719
- if ( wppa_switch( 'use_album_names_in_urls' ) ) {
720
- $p = wppa_decode_album( $p );
721
- }
722
- else {
723
- $p = wppa_decrypt_album( $p );
724
- }
725
  wppa( 'last_albums_parent', $p );
726
  }
727
- */
728
  // Check if album is valid
729
  if ( strpos( wppa( 'start_album' ), '.' ) !== false ) { // Album may be enum
730
  if ( ! wppa_series_to_array( wppa( 'start_album' ) ) ) { // Syntax error
@@ -3177,7 +3165,7 @@ global $wppa_done;
3177
 
3178
  // Editing a comment?
3179
  $cedit = wppa_get( 'comment-edit', '0' );
3180
- if ( ! wppa_is_int( $cedit ) ) wp_die( 'Security check falure 14' );
3181
 
3182
  // Check captcha
3183
  $wrong_captcha = false;
@@ -5105,12 +5093,12 @@ global $wppa_upload_succes_id;
5105
  // SUCCESSFUL UPLOAD, Blog It?
5106
  if ( current_user_can( 'edit_posts' ) && isset( $_POST['wppa-blogit'] ) ) {
5107
 
5108
- $title = $_POST['wppa-post-title'];
5109
  if ( ! $title ) {
5110
  $title = wppa_local_date();
5111
  }
5112
- $pretxt = $_POST['wppa-blogit-pretext'];
5113
- $posttxt = $_POST['wppa-blogit-posttext'];
5114
  $status = wppa_switch( 'blog_it_moderate' ) ? 'pending' : 'publish';
5115
 
5116
  $post_content = $pretxt;
@@ -5561,12 +5549,9 @@ function wppa_fe_add_tags( $id ) {
5561
  $tags .= ','.implode( ',', $_POST['wppa-user-tags-'.$i] );
5562
  }
5563
  }
5564
- if ( isset( $_POST['wppa-new-tags'] ) ) { // New tags
5565
- $newt = $_POST['wppa-new-tags'];
5566
- $tags .= ','.$newt;
5567
- }
5568
- else {
5569
- $newt = '';
5570
  }
5571
 
5572
  $tags = urldecode( $tags );
3
  * Package: wp-photo-album-plus
4
  *
5
  * Various functions
6
+ * Version 8.0.07.009
7
  *
8
  */
9
 
697
  }
698
  }
699
 
 
700
  // See if the album id is a name or a crypt and convert it if possible
701
  $a = wppa( 'start_album' );
702
+ if ( ! wppa_is_int( $a ) && ! wppa_is_enum( $a ) ) {
703
 
704
+ $a = wppa_decode_album( $a, false );
 
 
 
 
 
 
 
705
  wppa( 'start_album', $a );
706
  }
707
 
708
  // Also for parents
709
  $p = wppa( 'last_albums_parent' );
710
+ if ( ! wppa_is_int( $p && ! wppa_is_enum( $p ) ) ) {
711
+
712
+ $p = wppa_decode_album( $p, false );
 
 
 
 
713
  wppa( 'last_albums_parent', $p );
714
  }
715
+
716
  // Check if album is valid
717
  if ( strpos( wppa( 'start_album' ), '.' ) !== false ) { // Album may be enum
718
  if ( ! wppa_series_to_array( wppa( 'start_album' ) ) ) { // Syntax error
3165
 
3166
  // Editing a comment?
3167
  $cedit = wppa_get( 'comment-edit', '0' );
3168
+ if ( ! wppa_is_int( $cedit ) ) wp_die( 'Security check failure 14' );
3169
 
3170
  // Check captcha
3171
  $wrong_captcha = false;
5093
  // SUCCESSFUL UPLOAD, Blog It?
5094
  if ( current_user_can( 'edit_posts' ) && isset( $_POST['wppa-blogit'] ) ) {
5095
 
5096
+ $title = wppa_get( 'post-title' );
5097
  if ( ! $title ) {
5098
  $title = wppa_local_date();
5099
  }
5100
+ $pretxt = wppa_get( 'blogit-pretext' );
5101
+ $posttxt = wppa_get( 'blogit-posttext' );
5102
  $status = wppa_switch( 'blog_it_moderate' ) ? 'pending' : 'publish';
5103
 
5104
  $post_content = $pretxt;
5549
  $tags .= ','.implode( ',', $_POST['wppa-user-tags-'.$i] );
5550
  }
5551
  }
5552
+ if ( wppa_get( 'new-tags' ) ) { // New tags
5553
+
5554
+ $tags .= ',' . wppa_get( 'new-tags' );
 
 
 
5555
  }
5556
 
5557
  $tags = urldecode( $tags );
wppa-input.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains functions for sanitizing and formatting user input
6
- * Version 8.0.07.007
7
  *
8
  */
9
 
@@ -149,6 +149,7 @@ function wppa_get_get_filter( $name ) {
149
  // Tags / Cats
150
  case 'tag':
151
  case 'upn-tags':
 
152
  $result = 'tags';
153
  break;
154
 
@@ -205,6 +206,9 @@ function wppa_get_get_filter( $name ) {
205
  case 'order_by':
206
  case 'comname':
207
  case 'value':
 
 
 
208
  $result = 'text';
209
  break;
210
 
@@ -287,10 +291,6 @@ global $wpdb;
287
  $filter = wppa_get_get_filter( $name );
288
  }
289
 
290
- // wppa_dump( $name . ' requested. Filter = ' . $filter . ' Returned: ' . $value . ' - not filtered.' );
291
-
292
- // return $value;
293
-
294
  // Do the filtering
295
  switch ( $filter ) {
296
 
@@ -377,15 +377,15 @@ global $wpdb;
377
  break;
378
  }
379
 
 
380
  // Start debug
381
-
382
  $stack = debug_backtrace( DEBUG_BACKTRACE_IGNORE_ARGS, 2 );
383
  $from = 'From : '.basename( $stack[0]['file'] ).' line: '.$stack[0]['line'].' in function '.$stack[1]['function'];
384
  $text = 'Query arg '.$oxname.' requested. Raw data = '.var_export($value, true).', filtered by '.$filter.', returned '.var_export( $result, true );//.' '.$from;
385
  wppa_dbg_msg( $text, 'purple' );
386
- // wppa_dump( $text );
387
-
388
  // End debug
 
389
  return $result;
390
  }
391
 
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains functions for sanitizing and formatting user input
6
+ * Version 8.0.07.009
7
  *
8
  */
9
 
149
  // Tags / Cats
150
  case 'tag':
151
  case 'upn-tags':
152
+ case 'new-tags':
153
  $result = 'tags';
154
  break;
155
 
206
  case 'order_by':
207
  case 'comname':
208
  case 'value':
209
+ case 'post-title':
210
+ case 'blogit-pretext':
211
+ case 'blogit-posttext':
212
  $result = 'text';
213
  break;
214
 
291
  $filter = wppa_get_get_filter( $name );
292
  }
293
 
 
 
 
 
294
  // Do the filtering
295
  switch ( $filter ) {
296
 
377
  break;
378
  }
379
 
380
+ /*
381
  // Start debug
 
382
  $stack = debug_backtrace( DEBUG_BACKTRACE_IGNORE_ARGS, 2 );
383
  $from = 'From : '.basename( $stack[0]['file'] ).' line: '.$stack[0]['line'].' in function '.$stack[1]['function'];
384
  $text = 'Query arg '.$oxname.' requested. Raw data = '.var_export($value, true).', filtered by '.$filter.', returned '.var_export( $result, true );//.' '.$from;
385
  wppa_dbg_msg( $text, 'purple' );
386
+ wppa_dump( $text );
 
387
  // End debug
388
+ */
389
  return $result;
390
  }
391
 
wppa-photo-admin-autosave.php CHANGED
@@ -2523,15 +2523,15 @@ function wppa_album_photos_bulk( $album ) {
2523
  check_admin_referer( 'wppa-bulk', 'wppa-bulk' );
2524
  if ( wppa_get( 'bulk-photo' ) ) {
2525
  $ids = wppa_get( 'bulk-photo' );
2526
- $newalb = htmlspecialchars( isset ( $_POST['wppa-bulk-album'] ) ? $_POST['wppa-bulk-album'] : '0' );
2527
- $status = htmlspecialchars( isset ( $_POST['wppa-bulk-status'] ) ? $_POST['wppa-bulk-status'] : '' );
2528
- $owner = htmlspecialchars( isset ( $_POST['wppa-bulk-owner'] ) ? $_POST['wppa-bulk-owner'] : '' );
2529
  $totcount = count( $ids );
2530
  if ( ! is_numeric( $newalb ) ) wp_die( 'Security check failure 1' );
2531
  if ( is_array( $ids ) ) {
2532
  foreach ( array_keys( $ids ) as $id ) {
2533
  $skip = false;
2534
- switch ( $_POST['wppa-bulk-action'] ) {
2535
  case 'wppa-bulk-delete':
2536
  wppa_delete_photo( $id );
2537
  break;
@@ -2626,7 +2626,7 @@ function wppa_album_photos_bulk( $album ) {
2626
  else wppa_error_message( 'Unexpected error #1 in wppa_album_photos_bulk().' );
2627
 
2628
  if ( $count && ! $abort ) {
2629
- switch ( $_POST['wppa-bulk-action'] ) {
2630
  case 'wppa-bulk-delete':
2631
  $message = sprintf( __( '%d photos deleted.' , 'wp-photo-album-plus'), $count );
2632
  break;
@@ -3633,7 +3633,7 @@ function wppa_fe_edit_new_style( $photo ) {
3633
  '<img' .
3634
  ' style="height:50px;"' .
3635
  ' ' . ( wppa_lazy() ? 'data-' : '' ) . 'src="' . esc_url( wppa_get_thumb_url( $photo ) ) . '"' .
3636
- ' alt="' . esc_attr( $photo ) . '"' .
3637
  ' />' .
3638
  '&nbsp;&nbsp;' .
3639
  wppa_opt( 'fe_edit_caption' ) . '</h3>';
@@ -3644,7 +3644,7 @@ function wppa_fe_edit_new_style( $photo ) {
3644
  ' >' .
3645
  '<input' .
3646
  ' type="hidden"' .
3647
- ' id="wppa-nonce-' . $photo . '"' .
3648
  ' name="wppa-nonce"' .
3649
  ' value="' . wp_create_nonce( 'wppa-nonce-' . $photo ) . '"' .
3650
  ' />';
@@ -3702,7 +3702,7 @@ function wppa_fe_edit_new_style( $photo ) {
3702
  ' type="button"' .
3703
  ' style="margin-top:8px;margin-right:8px;"' .
3704
  ' value="' . esc_attr( __( 'Send', 'wp-photo-album-plus' ) ) . '"' .
3705
- ' onclick="wppaUpdatePhotoNew(' . $photo . ');document.location.reload(true);"' .
3706
  ' />';
3707
 
3708
  // Cancel
2523
  check_admin_referer( 'wppa-bulk', 'wppa-bulk' );
2524
  if ( wppa_get( 'bulk-photo' ) ) {
2525
  $ids = wppa_get( 'bulk-photo' );
2526
+ $newalb = wppa_get( 'bulk-album' );
2527
+ $status = wppa_get( 'bulk-status' );
2528
+ $owner = wppa_get( 'bulk-owner' );
2529
  $totcount = count( $ids );
2530
  if ( ! is_numeric( $newalb ) ) wp_die( 'Security check failure 1' );
2531
  if ( is_array( $ids ) ) {
2532
  foreach ( array_keys( $ids ) as $id ) {
2533
  $skip = false;
2534
+ switch ( wppa_get( 'bulk-action' ) ) {
2535
  case 'wppa-bulk-delete':
2536
  wppa_delete_photo( $id );
2537
  break;
2626
  else wppa_error_message( 'Unexpected error #1 in wppa_album_photos_bulk().' );
2627
 
2628
  if ( $count && ! $abort ) {
2629
+ switch ( wppa_get( 'bulk-action' ) ) {
2630
  case 'wppa-bulk-delete':
2631
  $message = sprintf( __( '%d photos deleted.' , 'wp-photo-album-plus'), $count );
2632
  break;
3633
  '<img' .
3634
  ' style="height:50px;"' .
3635
  ' ' . ( wppa_lazy() ? 'data-' : '' ) . 'src="' . esc_url( wppa_get_thumb_url( $photo ) ) . '"' .
3636
+ wppa_get_imgalt( $photo ) .
3637
  ' />' .
3638
  '&nbsp;&nbsp;' .
3639
  wppa_opt( 'fe_edit_caption' ) . '</h3>';
3644
  ' >' .
3645
  '<input' .
3646
  ' type="hidden"' .
3647
+ ' id="wppa-nonce-' . wppa_encrypt_photo( $photo ) . '"' .
3648
  ' name="wppa-nonce"' .
3649
  ' value="' . wp_create_nonce( 'wppa-nonce-' . $photo ) . '"' .
3650
  ' />';
3702
  ' type="button"' .
3703
  ' style="margin-top:8px;margin-right:8px;"' .
3704
  ' value="' . esc_attr( __( 'Send', 'wp-photo-album-plus' ) ) . '"' .
3705
+ ' onclick="wppaUpdatePhotoNew(\'' . wppa_encrypt_photo( $photo ) . '\');document.location.reload(true);"' .
3706
  ' />';
3707
 
3708
  // Cancel
wppa-utils.php CHANGED
@@ -4795,10 +4795,11 @@ function wppa_dump( $txt = '' ) {
4795
  $file = dirname( __FILE__ ) . '/wppa-dump.txt';
4796
 
4797
  $who = wppa_get_user( 'login' );
 
4798
 
4799
  if ( $txt ) {
4800
  if ( wppa_is_file( $file ) ) {
4801
- $txt = wppa_get_contents( $file ) . "\n" . $who . ' ' . $txt;
4802
  }
4803
  wppa_put_contents( $file, $txt );
4804
  }
4795
  $file = dirname( __FILE__ ) . '/wppa-dump.txt';
4796
 
4797
  $who = wppa_get_user( 'login' );
4798
+ $when = wppa_local_date( 'd.m.Y H:i:s', time());
4799
 
4800
  if ( $txt ) {
4801
  if ( wppa_is_file( $file ) ) {
4802
+ $txt = wppa_get_contents( $file ) . "\n" . $who . ' ' . $when . ' ' . $txt;
4803
  }
4804
  wppa_put_contents( $file, $txt );
4805
  }
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: 8.0.07.007
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/
@@ -24,7 +24,7 @@ global $wp_version;
24
 
25
  /* WPPA GLOBALS */
26
  global $wppa_api_version;
27
- $wppa_api_version = '8.0.07.007'; // WPPA software version
28
  global $wppa_revno;
29
  $wppa_revno = str_replace( '.', '', $wppa_api_version ); // WPPA db version
30
 
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: 8.0.07.009
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/
24
 
25
  /* WPPA GLOBALS */
26
  global $wppa_api_version;
27
+ $wppa_api_version = '8.0.07.009'; // WPPA software version
28
  global $wppa_revno;
29
  $wppa_revno = str_replace( '.', '', $wppa_api_version ); // WPPA db version
30