Version Description
= 7.3.11 =
- This version addresses various bug fixes and feature requests.
Download this release
Release Info
Developer | opajaap |
Plugin | WP Photo Album Plus |
Version | 7.3.12.005 |
Comparing to | |
See all releases |
Code changes from version 7.3.12.004 to 7.3.12.005
- changelog.txt +2 -0
- readme.txt +1 -1
- wppa-ajax.php +3 -3
- wppa-boxes-html.php +3 -3
- wppa-photo-files.php +9 -1
- wppa.php +2 -2
changelog.txt
CHANGED
@@ -10,6 +10,8 @@ Added '--- default --- See Table IV-D2' to the cover image selection box on the
|
|
10 |
These changes make it simpler to change the selection method for all -default- albums at once,
|
11 |
provided that the settings on the album admin pages are set to the default, previously being random.
|
12 |
* The album and parent attributes in the wppa shortcodes with type="acount" and type="pcount" can now also be an album enumeration.
|
|
|
|
|
13 |
|
14 |
= 7.3.11 =
|
15 |
|
10 |
These changes make it simpler to change the selection method for all -default- albums at once,
|
11 |
provided that the settings on the album admin pages are set to the default, previously being random.
|
12 |
* The album and parent attributes in the wppa shortcodes with type="acount" and type="pcount" can now also be an album enumeration.
|
13 |
+
* Added class wppa-thumbarea-albdesc for album description on thmbnail area.
|
14 |
+
* If there is no posterfile for a pdf, there will mow be a dummy image as thumbnail, derived from ../uploads/wppa/documentstub.png.
|
15 |
|
16 |
= 7.3.11 =
|
17 |
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: opajaap
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=OpaJaap@OpaJaap.nl&item_name=WP-Photo-Album-Plus&item_number=Support-Open-Source¤cy_code=USD&lc=US
|
4 |
Tags: photo, album, slideshow, video, audio, lightbox, iptc, exif, cloudinary, fotomoto, imagemagick, pdf
|
5 |
-
Version: 7.3.12.
|
6 |
Stable tag: 7.3.11.006
|
7 |
Author: J.N. Breetvelt
|
8 |
Author URI: http://www.opajaap.nl/
|
2 |
Contributors: opajaap
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=OpaJaap@OpaJaap.nl&item_name=WP-Photo-Album-Plus&item_number=Support-Open-Source¤cy_code=USD&lc=US
|
4 |
Tags: photo, album, slideshow, video, audio, lightbox, iptc, exif, cloudinary, fotomoto, imagemagick, pdf
|
5 |
+
Version: 7.3.12.005
|
6 |
Stable tag: 7.3.11.006
|
7 |
Author: J.N. Breetvelt
|
8 |
Author URI: http://www.opajaap.nl/
|
wppa-ajax.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/* wppa-ajax.php
|
3 |
*
|
4 |
* Functions used in ajax requests
|
5 |
-
* Version 7.3.
|
6 |
*
|
7 |
*/
|
8 |
|
@@ -3876,10 +3876,10 @@ function wppa_json_photo_update( $id, $txt, $err = '0', $thumbmod = false, $phot
|
|
3876 |
if ( $cdn ) {
|
3877 |
switch ( $cdn ) {
|
3878 |
case 'cloudinary':
|
3879 |
-
wppa_upload_to_cloudinary( $
|
3880 |
break;
|
3881 |
case 'local':
|
3882 |
-
wppa_cdn_delete( $
|
3883 |
break;
|
3884 |
default:
|
3885 |
wppa_dbg_msg( 'Missing upload instructions for '.$cdn, 'red', 'force' );
|
2 |
/* wppa-ajax.php
|
3 |
*
|
4 |
* Functions used in ajax requests
|
5 |
+
* Version 7.3.12
|
6 |
*
|
7 |
*/
|
8 |
|
3876 |
if ( $cdn ) {
|
3877 |
switch ( $cdn ) {
|
3878 |
case 'cloudinary':
|
3879 |
+
wppa_upload_to_cloudinary( $id );
|
3880 |
break;
|
3881 |
case 'local':
|
3882 |
+
wppa_cdn_delete( $id );
|
3883 |
break;
|
3884 |
default:
|
3885 |
wppa_dbg_msg( 'Missing upload instructions for '.$cdn, 'red', 'force' );
|
wppa-boxes-html.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Various wppa boxes
|
6 |
-
* Version 7.3.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -4609,7 +4609,7 @@ function wppa_album_desc( $key ) {
|
|
4609 |
if ( $key == 'top' ) {
|
4610 |
$result .= '<div' .
|
4611 |
' id="wppa-albdesc-'.wppa( 'mocc' ).'"' .
|
4612 |
-
' class="wppa-box-text wppa-black"' .
|
4613 |
' style="padding-right:6px;'.wppa_wcs( 'wppa-box-text' ).wppa_wcs( 'wppa-black' ).'"' .
|
4614 |
' >' .
|
4615 |
$desc .
|
@@ -4619,7 +4619,7 @@ function wppa_album_desc( $key ) {
|
|
4619 |
if ( $key == 'bottom' ) {
|
4620 |
$result .= '<div' .
|
4621 |
' id="wppa-albdesc-b-'.wppa( 'mocc' ).'"' .
|
4622 |
-
' class="wppa-box-text wppa-black"' .
|
4623 |
' style="clear:both; padding-right:6px;'.wppa_wcs( 'wppa-box-text' ).wppa_wcs( 'wppa-black' ).'"' .
|
4624 |
' >' .
|
4625 |
$desc .
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Various wppa boxes
|
6 |
+
* Version 7.3.12
|
7 |
*
|
8 |
*/
|
9 |
|
4609 |
if ( $key == 'top' ) {
|
4610 |
$result .= '<div' .
|
4611 |
' id="wppa-albdesc-'.wppa( 'mocc' ).'"' .
|
4612 |
+
' class="wppa-box-text wppa-black wppa-thumbarea-albdesc"' .
|
4613 |
' style="padding-right:6px;'.wppa_wcs( 'wppa-box-text' ).wppa_wcs( 'wppa-black' ).'"' .
|
4614 |
' >' .
|
4615 |
$desc .
|
4619 |
if ( $key == 'bottom' ) {
|
4620 |
$result .= '<div' .
|
4621 |
' id="wppa-albdesc-b-'.wppa( 'mocc' ).'"' .
|
4622 |
+
' class="wppa-box-text wppa-black wppa-thumbarea-albdesc"' .
|
4623 |
' style="clear:both; padding-right:6px;'.wppa_wcs( 'wppa-box-text' ).wppa_wcs( 'wppa-black' ).'"' .
|
4624 |
' >' .
|
4625 |
$desc .
|
wppa-photo-files.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/* wppa-photo-files.php
|
3 |
*
|
4 |
* Functions used to create/manipulate photofiles
|
5 |
-
* Version 7.3.
|
6 |
*
|
7 |
*/
|
8 |
|
@@ -454,6 +454,14 @@ function wppa_create_thumbnail( $id, $use_source = true ) {
|
|
454 |
// If pdf, find image file
|
455 |
if ( wppa_get_ext( $file ) == 'pdf' ) {
|
456 |
$file = wppa_strip_ext( $file ) . '.' . wppa_get_photo_item( $id, 'ext' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
457 |
}
|
458 |
|
459 |
// Max side
|
2 |
/* wppa-photo-files.php
|
3 |
*
|
4 |
* Functions used to create/manipulate photofiles
|
5 |
+
* Version 7.3.12
|
6 |
*
|
7 |
*/
|
8 |
|
454 |
// If pdf, find image file
|
455 |
if ( wppa_get_ext( $file ) == 'pdf' ) {
|
456 |
$file = wppa_strip_ext( $file ) . '.' . wppa_get_photo_item( $id, 'ext' );
|
457 |
+
|
458 |
+
// If no (poster) file exists, take the document-stub file
|
459 |
+
if ( ! is_file( $file ) ) {
|
460 |
+
$file = WPPA_UPLOAD_PATH . '/documentstub.png';
|
461 |
+
if ( is_file( $file ) ) {
|
462 |
+
wppa_update_photo( array( 'id' => $id, 'ext' => 'png' ) );
|
463 |
+
}
|
464 |
+
}
|
465 |
}
|
466 |
|
467 |
// Max side
|
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.3.12.
|
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_revno; $wppa_revno = '7311'; // WPPA db version
|
27 |
-
global $wppa_api_version; $wppa_api_version = '7.3.12.
|
28 |
|
29 |
/* Init page js data */
|
30 |
global $wppa_js_page_data; $wppa_js_page_data = '';
|
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.3.12.005
|
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_revno; $wppa_revno = '7311'; // WPPA db version
|
27 |
+
global $wppa_api_version; $wppa_api_version = '7.3.12.005'; // WPPA software version
|
28 |
|
29 |
/* Init page js data */
|
30 |
global $wppa_js_page_data; $wppa_js_page_data = '';
|