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.1.10.005 |
Comparing to | |
See all releases |
Code changes from version 8.1.10.004 to 8.1.10.005
- changelog.txt +1 -1
- readme.txt +2 -2
- wppa-ajax.php +2 -2
- wppa-exif-iptc-common.php +2 -4
- wppa-utils.php +3 -3
- wppa-wpdb-update.php +2 -2
- wppa-wrappers.php +2 -2
- wppa.php +2 -2
changelog.txt
CHANGED
@@ -4,7 +4,7 @@ WP Photo Album Plus Changelog
|
|
4 |
|
5 |
* Widgets do no longer give errors in the widget block editor.
|
6 |
* Improved layout of the album admin and photo admin pages.
|
7 |
-
* A non admin user who has album admin access can now only delete items that are in albums that he can edit
|
8 |
* Fixed a pagination issue on masonry rows display.
|
9 |
|
10 |
= 8.1.09 =
|
4 |
|
5 |
* Widgets do no longer give errors in the widget block editor.
|
6 |
* Improved layout of the album admin and photo admin pages.
|
7 |
+
* A non admin user who has album admin access can now only delete items that are in albums that he can edit at the backend i.e. has access to (public or his own).
|
8 |
* Fixed a pagination issue on masonry rows display.
|
9 |
|
10 |
= 8.1.09 =
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ 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 |
Requires at least: 3.9
|
6 |
-
Tested up to:
|
7 |
Requires PHP: 5.5
|
8 |
-
Stable tag: 8.1.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
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 |
Requires at least: 3.9
|
6 |
+
Tested up to: 6.0
|
7 |
Requires PHP: 5.5
|
8 |
+
Stable tag: 8.1.10.005
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
wppa-ajax.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/* wppa-ajax.php
|
3 |
*
|
4 |
* Functions used in ajax requests
|
5 |
-
* Version 8.1.10.
|
6 |
*
|
7 |
*/
|
8 |
|
@@ -1506,7 +1506,7 @@ global $wppa;
|
|
1506 |
$js .= $result['js'];
|
1507 |
|
1508 |
// Issue warning message
|
1509 |
-
wppa_log( 'war', 'Unexpected js found in ajax render: ' .
|
1510 |
}
|
1511 |
|
1512 |
// Compress html
|
2 |
/* wppa-ajax.php
|
3 |
*
|
4 |
* Functions used in ajax requests
|
5 |
+
* Version 8.1.10.005
|
6 |
*
|
7 |
*/
|
8 |
|
1506 |
$js .= $result['js'];
|
1507 |
|
1508 |
// Issue warning message
|
1509 |
+
wppa_log( 'war', 'Unexpected js found in ajax render: ' . esc_html( $result['js'] ), true );
|
1510 |
}
|
1511 |
|
1512 |
// Compress html
|
wppa-exif-iptc-common.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* exif and iptc common functions
|
6 |
-
* Version 8.1.10.
|
7 |
*
|
8 |
*
|
9 |
*/
|
@@ -3209,9 +3209,7 @@ global $wppa;
|
|
3209 |
|
3210 |
$photo = $id;
|
3211 |
$status = 'default';
|
3212 |
-
|
3213 |
-
$bret = wppa_create_exif_entry( array( 'photo' => $photo, 'tag' => $tag, 'description' => $desc, 'status' => $status ) );
|
3214 |
-
}
|
3215 |
}
|
3216 |
|
3217 |
wppa_fix_exif_format( $id );
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* exif and iptc common functions
|
6 |
+
* Version 8.1.10.005
|
7 |
*
|
8 |
*
|
9 |
*/
|
3209 |
|
3210 |
$photo = $id;
|
3211 |
$status = 'default';
|
3212 |
+
$bret = wppa_create_exif_entry( array( 'photo' => $photo, 'tag' => $tag, 'description' => $desc, 'status' => $status ) );
|
|
|
|
|
3213 |
}
|
3214 |
|
3215 |
wppa_fix_exif_format( $id );
|
wppa-utils.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains low-level utility routines
|
6 |
-
* Version 8.1.10.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -5054,9 +5054,9 @@ function wppa_compress_html( $txt, $keeplinebreaks = false ) {
|
|
5054 |
|
5055 |
// Now do the other comprssions
|
5056 |
$from = array( "> <", "<ul></ul>", "<!--", '" >', '; ', '&', 'style=" ', '"/>', ' style=""', 'px;;' );
|
5057 |
-
$to = array( "><", "", "\n<!--", '">', ';', '&', 'style="', '" />', '', 'px;' );
|
5058 |
|
5059 |
-
$result = str_replace( $from, $to, $result );
|
5060 |
return $result;
|
5061 |
}
|
5062 |
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains low-level utility routines
|
6 |
+
* Version 8.1.10.005
|
7 |
*
|
8 |
*/
|
9 |
|
5054 |
|
5055 |
// Now do the other comprssions
|
5056 |
$from = array( "> <", "<ul></ul>", "<!--", '" >', '; ', '&', 'style=" ', '"/>', ' style=""', 'px;;' );
|
5057 |
+
$to = array( "><", "", "\n<!--", '">', ';', '&', 'style="', '" />', ' ', 'px;' );
|
5058 |
|
5059 |
+
// $result = str_replace( $from, $to, $result );
|
5060 |
return $result;
|
5061 |
}
|
5062 |
|
wppa-wpdb-update.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains low-level wpdb routines that update records
|
6 |
-
* Version 8.1.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -133,7 +133,7 @@ global $wpdb;
|
|
133 |
wppa_cache_album( 'invalidate' );
|
134 |
}
|
135 |
}
|
136 |
-
|
137 |
wppa_log( 'war', $itemname . ' not updated to ' . $itemvalue . ' for album number ' . $id );
|
138 |
}
|
139 |
}
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Contains low-level wpdb routines that update records
|
6 |
+
* Version 8.1.10.005
|
7 |
*
|
8 |
*/
|
9 |
|
133 |
wppa_cache_album( 'invalidate' );
|
134 |
}
|
135 |
}
|
136 |
+
elseif ( $itemname != 'id' ) {
|
137 |
wppa_log( 'war', $itemname . ' not updated to ' . $itemvalue . ' for album number ' . $id );
|
138 |
}
|
139 |
}
|
wppa-wrappers.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Contains wrappers for standard php functions
|
6 |
* For security and bug reasons
|
7 |
*
|
8 |
-
* Version 8.1.10.
|
9 |
*
|
10 |
*/
|
11 |
|
@@ -943,7 +943,7 @@ static $allowed_tags;
|
|
943 |
$html = $temp['html'];
|
944 |
$js = $temp['js'];
|
945 |
|
946 |
-
/* Start debugging
|
947 |
$before = $html;
|
948 |
$before = str_replace( ['" >',';"','; ', '&', 'style=" ', '"/>', ' style=""', ';;'], ['">','"',';', '&', 'style="', '" />', '', ';'], $before );
|
949 |
$after = wp_kses( $before, $t, $p );
|
5 |
* Contains wrappers for standard php functions
|
6 |
* For security and bug reasons
|
7 |
*
|
8 |
+
* Version 8.1.10.005
|
9 |
*
|
10 |
*/
|
11 |
|
943 |
$html = $temp['html'];
|
944 |
$js = $temp['js'];
|
945 |
|
946 |
+
/* Start debugging *//*
|
947 |
$before = $html;
|
948 |
$before = str_replace( ['" >',';"','; ', '&', 'style=" ', '"/>', ' style=""', ';;'], ['">','"',';', '&', 'style="', '" />', '', ';'], $before );
|
949 |
$after = wp_kses( $before, $t, $p );
|
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.1.10.
|
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.1.10.
|
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.1.10.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_api_version;
|
27 |
+
$wppa_api_version = '8.1.10.005'; // WPPA software version
|
28 |
global $wppa_revno;
|
29 |
$wppa_revno = str_replace( '.', '', $wppa_api_version ); // WPPA db version
|
30 |
|