WP Photo Album Plus - Version 8.2.03.003

Version Description

= 8.1.08 =

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

Release Info

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

Code changes from version 8.2.03.002 to 8.2.03.003

Files changed (5) hide show
  1. wppa-ajax.php +3 -2
  2. wppa-filter.php +2 -1
  3. wppa-init.php +2 -2
  4. wppa-settings-autosave.php +2 -2
  5. wppa.php +2 -2
wppa-ajax.php CHANGED
@@ -2,7 +2,7 @@
2
  /* wppa-ajax.php
3
  *
4
  * Functions used in ajax requests
5
- * Version 8.2.02.010
6
  *
7
  */
8
 
@@ -3717,7 +3717,8 @@ global $wppa;
3717
  if ( $ca ) update_option ( 'wppa_crypt_albums_status', 'Required' );
3718
  if ( $cp ) update_option ( 'wppa_crypt_photos_status', 'Required' );
3719
  wppa( 'error', '4711' );
3720
- $alert .= __( 'You renew Album and Photo crypt codes first before you can switch to encrypted urls. See Maintenance I, items 18 and 20.', 'wp-photo-album-plus' );
 
3721
  }
3722
  if ( wppa_switch( 'use_photo_names_in_urls' ) ) {
3723
  $alert .= ' ' . __( 'Photo names in urls will be switched off.', 'wp-photo-album-plus' );
2
  /* wppa-ajax.php
3
  *
4
  * Functions used in ajax requests
5
+ * Version 8.2.03.003
6
  *
7
  */
8
 
3717
  if ( $ca ) update_option ( 'wppa_crypt_albums_status', 'Required' );
3718
  if ( $cp ) update_option ( 'wppa_crypt_photos_status', 'Required' );
3719
  wppa( 'error', '4711' );
3720
+ $alert .= sprintf( __( 'You have to renew Album and Photo crypt codes first before you can switch to encrypted urls. See %s.', 'wp-photo-album-plus' ), wppa_setting_path( 'a', 'maintenance', '1', ['18','19'] ) );
3721
+ // Maintenance I, items 18 and 20
3722
  }
3723
  if ( wppa_switch( 'use_photo_names_in_urls' ) ) {
3724
  $alert .= ' ' . __( 'Photo names in urls will be switched off.', 'wp-photo-album-plus' );
wppa-filter.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * get the albums via shortcode handler
6
- * Version: 8.2.02.003
7
  *
8
  */
9
 
@@ -902,6 +902,7 @@ global $photos_used;
902
  function wppa_you_can_not( $xaction, $xtype, $useless = true ) {
903
  $action = __( $xaction, 'wp-photo-album-plus' );
904
  $type = __( $xtype, 'wp-photo-album-plus' );
 
905
  $result = sprintf( __( 'You can not %1s a %2s shortcode display.', 'wp-photo-album-plus' ), $action, $type ) .
906
  ( $useless ? ' ' . __( 'It is useless anyway.', 'wp-photo-album-plus' ) : '' );
907
  wppa_log( 'dbg', $result );
3
  * Package: wp-photo-album-plus
4
  *
5
  * get the albums via shortcode handler
6
+ * Version: 8.2.03.003
7
  *
8
  */
9
 
902
  function wppa_you_can_not( $xaction, $xtype, $useless = true ) {
903
  $action = __( $xaction, 'wp-photo-album-plus' );
904
  $type = __( $xtype, 'wp-photo-album-plus' );
905
+ /* translators: Example: You can not delay a single image shortcode display */
906
  $result = sprintf( __( 'You can not %1s a %2s shortcode display.', 'wp-photo-album-plus' ), $action, $type ) .
907
  ( $useless ? ' ' . __( 'It is useless anyway.', 'wp-photo-album-plus' ) : '' );
908
  wppa_log( 'dbg', $result );
wppa-init.php CHANGED
@@ -333,7 +333,7 @@ global $wpdb;
333
  }
334
 
335
  function wppa_tag_message() {
336
- wppa_error_message( __('The tags system needs to be converted. Please run <i>Photo Albums -> Settings -> Advanced settings -> Maintenance -> II -> Item 22</i>' , 'wp-photo-album-plus' ) );
337
  }
338
 
339
  function wppa_check_cat_system() {
@@ -356,7 +356,7 @@ global $wpdb;
356
  }
357
 
358
  function wppa_cat_message() {
359
- wppa_error_message( __('The cats system needs to be converted. Please run <i>Photo Albums -> Settings -> Advanced settings -> Maintenance -> II -> Item 23</i>' , 'wp-photo-album-plus' ) );
360
  }
361
 
362
  // Print admin messages on config conflicts
333
  }
334
 
335
  function wppa_tag_message() {
336
+ wppa_error_message( sprintf( __('The tags system needs to be converted. Please run <i>Photo Albums -> Settings -> %s</i>' , 'wp-photo-album-plus' ), wppa_setting_path( 'a', 'maintenance', '2', '22' ) ) );
337
  }
338
 
339
  function wppa_check_cat_system() {
356
  }
357
 
358
  function wppa_cat_message() {
359
+ wppa_error_message( sprintf( __('The cats system needs to be converted. Please run <i>Photo Albums -> Settings -> %s</i>' , 'wp-photo-album-plus' ), wppa_setting_path( 'a', 'maintenance', '2', '23' ) ) );
360
  }
361
 
362
  // Print admin messages on config conflicts
wppa-settings-autosave.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * manage all options
6
- * Version 8.2.02.002
7
  *
8
  */
9
 
@@ -7336,7 +7336,7 @@ global $wppa_subtab_names;
7336
  $help = __('The maximum number of albums a user can create when he is not admin', 'wp-photo-album-plus' );
7337
  $help .= '<br>'.__('A number of 0 means No limit', 'wp-photo-album-plus' );
7338
  $slug = 'wppa_max_albums';
7339
- $html1 = wppa_input($slug, '50px', '', 'albums');
7340
  $html2 = '';
7341
  $html = array( $html1, $html2 );
7342
  wppa_setting_new($slug, '3', $name, $desc, $html, $help, wppa_switch( 'user_create_on' ));
3
  * Package: wp-photo-album-plus
4
  *
5
  * manage all options
6
+ * Version 8.2.03.003
7
  *
8
  */
9
 
7336
  $help = __('The maximum number of albums a user can create when he is not admin', 'wp-photo-album-plus' );
7337
  $help .= '<br>'.__('A number of 0 means No limit', 'wp-photo-album-plus' );
7338
  $slug = 'wppa_max_albums';
7339
+ $html1 = wppa_input( $slug, '50px', '', __( 'albums', 'wp-photo-album-plus' ) );
7340
  $html2 = '';
7341
  $html = array( $html1, $html2 );
7342
  wppa_setting_new($slug, '3', $name, $desc, $html, $help, wppa_switch( 'user_create_on' ));
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.2.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/
@@ -24,7 +24,7 @@ global $wp_version;
24
 
25
  /* WPPA GLOBALS */
26
  global $wppa_api_version;
27
- $wppa_api_version = '8.2.03.002'; // 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.2.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/
24
 
25
  /* WPPA GLOBALS */
26
  global $wppa_api_version;
27
+ $wppa_api_version = '8.2.03.003'; // WPPA software version
28
  global $wppa_revno;
29
  $wppa_revno = str_replace( '.', '', $wppa_api_version ); // WPPA db version
30