Version Description
= 8.1.08 =
- This version addresses various bug fixes, feature requests and security fixes.
Download this release
Release Info
Developer | opajaap |
Plugin | WP Photo Album Plus |
Version | 8.2.05.004 |
Comparing to | |
See all releases |
Code changes from version 8.2.05.003 to 8.2.05.004
- wppa-import.php +7 -1
- wppa-maintenance.php +25 -1
- wppa-settings-autosave.php +11 -1
- wppa.php +2 -2
wppa-import.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains all the import pages and functions
|
6 |
-
* Version 8.2.05.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -3505,6 +3505,7 @@ global $wpdb;
|
|
3505 |
|
3506 |
if ( $album ) {
|
3507 |
wppa_echo( "<br>Importing $path of type $mime in post $wp_post_id from rml album $rml_album to wppa album $album" );
|
|
|
3508 |
|
3509 |
// Dispatch on filetype
|
3510 |
switch ( $ext ) {
|
@@ -3624,6 +3625,11 @@ global $wpdb;
|
|
3624 |
default:
|
3625 |
wppa_log( 'err', 'Unsupported filetype encountered: ' . $ext );
|
3626 |
}
|
|
|
|
|
|
|
|
|
|
|
3627 |
}
|
3628 |
|
3629 |
else {
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains all the import pages and functions
|
6 |
+
* Version 8.2.05.004
|
7 |
*
|
8 |
*/
|
9 |
|
3505 |
|
3506 |
if ( $album ) {
|
3507 |
wppa_echo( "<br>Importing $path of type $mime in post $wp_post_id from rml album $rml_album to wppa album $album" );
|
3508 |
+
$id = '';
|
3509 |
|
3510 |
// Dispatch on filetype
|
3511 |
switch ( $ext ) {
|
3625 |
default:
|
3626 |
wppa_log( 'err', 'Unsupported filetype encountered: ' . $ext );
|
3627 |
}
|
3628 |
+
|
3629 |
+
if ( $id ) {
|
3630 |
+
$filename = wppa_get_photo_item( $id, 'filename' );
|
3631 |
+
wppa_set_default_name( $id, $filename );
|
3632 |
+
}
|
3633 |
}
|
3634 |
|
3635 |
else {
|
wppa-maintenance.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains (not yet, but in the future maybe) all the maintenance routines
|
6 |
-
* Version 8.2.05.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -1576,6 +1576,30 @@ global $wppa_log_file;
|
|
1576 |
</div><div style="clear:both;"></div>';
|
1577 |
break;
|
1578 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1579 |
default:
|
1580 |
$result = 'Error: Unimplemented slug: ' . $slug . ' in wppa_do_maintenance_popup()';
|
1581 |
}
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains (not yet, but in the future maybe) all the maintenance routines
|
6 |
+
* Version 8.2.05.004
|
7 |
*
|
8 |
*/
|
9 |
|
1576 |
</div><div style="clear:both;"></div>';
|
1577 |
break;
|
1578 |
|
1579 |
+
case 'wppa_list_debuglog':
|
1580 |
+
$header = __( 'List of debug error messages', 'wp-photo-album-plus' );
|
1581 |
+
|
1582 |
+
$result .= '
|
1583 |
+
<div
|
1584 |
+
style="float:left;clear:both;width:100%;overflow:auto;margin-left:-1px;"
|
1585 |
+
>';
|
1586 |
+
|
1587 |
+
$debug_log = WP_CONTENT_DIR . '/debug.log';
|
1588 |
+
if ( is_readable( $debug_log ) ) {
|
1589 |
+
|
1590 |
+
$data = wppa_get_contents( $debug_log );
|
1591 |
+
$result .= nl2br( $data );
|
1592 |
+
}
|
1593 |
+
else {
|
1594 |
+
|
1595 |
+
// Should never get here
|
1596 |
+
$result .= __('The logfile does not exist', 'wp-photo-album-plus');
|
1597 |
+
}
|
1598 |
+
|
1599 |
+
$result .= '
|
1600 |
+
</div><div style="clear:both;"></div>';
|
1601 |
+
break;
|
1602 |
+
|
1603 |
default:
|
1604 |
$result = 'Error: Unimplemented slug: ' . $slug . ' in wppa_do_maintenance_popup()';
|
1605 |
}
|
wppa-settings-autosave.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* manage all options
|
6 |
-
* Version 8.2.05.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -10111,6 +10111,16 @@ global $wppa_subtab_names;
|
|
10111 |
$html = wppa_checkbox($slug, 'wppaRefreshAfter();');
|
10112 |
wppa_setting_new($slug, '10', $name, $desc, $html, $help);
|
10113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10114 |
wppa_setting_box_footer_new();
|
10115 |
}
|
10116 |
// External services related settings and actions
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* manage all options
|
6 |
+
* Version 8.2.05.004
|
7 |
*
|
8 |
*/
|
9 |
|
10111 |
$html = wppa_checkbox($slug, 'wppaRefreshAfter();');
|
10112 |
wppa_setting_new($slug, '10', $name, $desc, $html, $help);
|
10113 |
|
10114 |
+
$debug_log = WP_CONTENT_DIR . '/debug.log';
|
10115 |
+
if ( is_readable( $debug_log ) ) {
|
10116 |
+
$name = __('List debug.log', 'wp-photo-album-plus');
|
10117 |
+
$desc = __('List the wp debug logfile', 'wp-photo-album-plus');
|
10118 |
+
$help = '';
|
10119 |
+
$slug = 'wppa_list_debuglog';
|
10120 |
+
$html = wppa_popup_button( $slug );
|
10121 |
+
wppa_setting_new($slug, '11', $name, $desc, $html, $help);
|
10122 |
+
}
|
10123 |
+
|
10124 |
wppa_setting_box_footer_new();
|
10125 |
}
|
10126 |
// External services related settings and actions
|
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.05.
|
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.05.
|
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.05.004
|
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.05.004'; // WPPA software version
|
28 |
global $wppa_revno;
|
29 |
$wppa_revno = str_replace( '.', '', $wppa_api_version ); // WPPA db version
|
30 |
|