Version Description
= 7.7.02 =
- This version addresses various minor bug fixes and feature requests.
Download this release
Release Info
Developer | opajaap |
Plugin | WP Photo Album Plus |
Version | 7.7.02.006 |
Comparing to | |
See all releases |
Code changes from version 7.7.02.005 to 7.7.02.006
- wppa-mailing.php +5 -8
- wppa-setup.php +3 -2
- wppa-slideshow.php +2 -2
- wppa.php +2 -2
wppa-mailing.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Contains mailing functions
|
6 |
*
|
7 |
-
* Version 7.
|
8 |
*
|
9 |
*/
|
10 |
|
@@ -223,9 +223,6 @@ global $wpdb;
|
|
223 |
$subj = sprintf( __( 'New photo uploaded: %s' , 'wp-photo-album-plus' ), wppa_get_photo_item( $pho, 'name' ) );
|
224 |
}
|
225 |
|
226 |
-
// The photo owner
|
227 |
-
$owner = get_user_by( 'login', wppa_get_photo_item( $pho, 'owner' ) );
|
228 |
-
|
229 |
// The album
|
230 |
if ( ! $alb ) {
|
231 |
$alb = wppa_get_photo_item( $pho, 'album' );
|
@@ -236,10 +233,10 @@ global $wpdb;
|
|
236 |
|
237 |
// The content
|
238 |
if ( $multi ) {
|
239 |
-
$cont = sprintf( __( 'User %1$s uploaded photos %2$s into album %3$s' , 'wp-photo-album-plus' ), $owner
|
240 |
}
|
241 |
else {
|
242 |
-
$cont = sprintf( __( 'User %1$s uploaded photo %2$s into album %3$s' , 'wp-photo-album-plus' ), $owner
|
243 |
}
|
244 |
|
245 |
// Preview
|
@@ -276,8 +273,8 @@ global $wpdb;
|
|
276 |
}
|
277 |
}
|
278 |
}
|
279 |
-
wppa_log('dbg', 'deleting option:' .'last_feuploadnotify_scheduled-' . $owner
|
280 |
-
delete_option( 'last_feuploadnotify_scheduled-' . $owner
|
281 |
}
|
282 |
break;
|
283 |
|
4 |
*
|
5 |
* Contains mailing functions
|
6 |
*
|
7 |
+
* Version 7.7.02.006
|
8 |
*
|
9 |
*/
|
10 |
|
223 |
$subj = sprintf( __( 'New photo uploaded: %s' , 'wp-photo-album-plus' ), wppa_get_photo_item( $pho, 'name' ) );
|
224 |
}
|
225 |
|
|
|
|
|
|
|
226 |
// The album
|
227 |
if ( ! $alb ) {
|
228 |
$alb = wppa_get_photo_item( $pho, 'album' );
|
233 |
|
234 |
// The content
|
235 |
if ( $multi ) {
|
236 |
+
$cont = sprintf( __( 'User %1$s uploaded photos %2$s into album %3$s' , 'wp-photo-album-plus' ), $owner, implode( ', ', $photos ), wppa_get_album_name( $alb ) );
|
237 |
}
|
238 |
else {
|
239 |
+
$cont = sprintf( __( 'User %1$s uploaded photo %2$s into album %3$s' , 'wp-photo-album-plus' ), $owner, $pho, wppa_get_album_name( $alb ) );
|
240 |
}
|
241 |
|
242 |
// Preview
|
273 |
}
|
274 |
}
|
275 |
}
|
276 |
+
wppa_log('dbg', 'deleting option:' .'last_feuploadnotify_scheduled-' . $owner . '-' . $alb);
|
277 |
+
delete_option( 'last_feuploadnotify_scheduled-' . $owner . '-' . $alb );
|
278 |
}
|
279 |
break;
|
280 |
|
wppa-setup.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains all the setup stuff
|
6 |
-
* Version 7.7.02.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -649,8 +649,9 @@ global $wppa_error;
|
|
649 |
delete_option( 'wppa_child_list' );
|
650 |
}
|
651 |
|
652 |
-
if ( $old_rev <= '
|
653 |
$wpdb->query( "UPDATE $wpdb->wppa_albums SET upload_limit_tree = '0' WHERE upload_limit_tree = ''" );
|
|
|
654 |
}
|
655 |
}
|
656 |
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains all the setup stuff
|
6 |
+
* Version 7.7.02.006
|
7 |
*
|
8 |
*/
|
9 |
|
649 |
delete_option( 'wppa_child_list' );
|
650 |
}
|
651 |
|
652 |
+
if ( $old_rev <= '7702006' ) {
|
653 |
$wpdb->query( "UPDATE $wpdb->wppa_albums SET upload_limit_tree = '0' WHERE upload_limit_tree = ''" );
|
654 |
+
if ( wppa_opt( 'area_size' ) == '' ) delete_option( 'wppa_area_size' );
|
655 |
}
|
656 |
}
|
657 |
|
wppa-slideshow.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains all the slideshow high level functions
|
6 |
-
* Version 7.7.02.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -646,7 +646,7 @@ function wppa_slide_desc_box( $key = 'optional' ) {
|
|
646 |
if ( wppa( 'desc_on' ) ) $do_it = true;
|
647 |
}
|
648 |
else {
|
649 |
-
if ( wppa_is_item_displayable( wppa( 'start_album' ), 'description',
|
650 |
}
|
651 |
|
652 |
if ( $do_it ) {
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains all the slideshow high level functions
|
6 |
+
* Version 7.7.02.006
|
7 |
*
|
8 |
*/
|
9 |
|
646 |
if ( wppa( 'desc_on' ) ) $do_it = true;
|
647 |
}
|
648 |
else {
|
649 |
+
if ( wppa_is_item_displayable( wppa( 'start_album' ), 'description', 'show_full_desc', 'slide_desc_box' ) ) $do_it = true;
|
650 |
}
|
651 |
|
652 |
if ( $do_it ) {
|
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.7.02.
|
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 = '7.7.02.
|
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: 7.7.02.006
|
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 = '7.7.02.006'; // WPPA software version
|
28 |
global $wppa_revno;
|
29 |
$wppa_revno = str_replace( '.', '', $wppa_api_version ); // WPPA db version
|
30 |
|