Version Description
= 7.2.10 =
- This version addresses various bug fixes and feature requests.
= 7.2.09 =
- This version addresses various bug fixes and feature requests.
= 7.2.08 =
- This version addresses various bug fixes.
= 7.2.07 =
- This version addresses various bug fixes.
= 7.2.06 =
- This version addresses various bug fixes and feature requests.
- This version addresses various security issues.
= 7.2.05 =
- This version addresses various bug fixes and feature requests.
- This version addresses various security issues.
= 7.2.04 =
- This version addresses various bug fixes and feature requests.
= 7.2.03 =
- This version addresses various bug fixes and feature requests.
= 7.2.02 =
- This version addresses various bug fixes and feature requests.
= 7.2.01 =
- This version addresses various bug fixes and feature requests.
= 7.2.00 =
- This version addresses various bug fixes and feature requests.
= 7.1.11 =
- This version addresses various bug fixes and feature requests.
= 7.1.10 =
- This version addresses various bug fixes and feature requests.
= 7.1.09 =
- This version addresses various bug fixes and feature requests.
= 7.1.08 =
- This version addresses various bug fixes and feature requests.
= 7.1.07 =
- This version addresses various bug fixes and feature requests.
= 7.1.06 =
- This version addresses various bug fixes and feature requests.
= 7.1.05 =
- This version addresses various security issues.
- This version addresses various bug fixes.
= 7.1.04 =
- This version addresses various bug fixes.
= 7.1.03 =
- This version addresses various security issues.
- This version addresses various bug fixes.
= 7.1.02 =
- This version addresses various security issues.
- This version addresses various bug fixes and feature requests.
= 7.1.01 =
- This version addresses various bug fixes and feature requests.
= 7.1.00 =
- This version addresses various bug fixes and feature requests.
- The Photo Album -> Upload Photos and Import Photos admin pages have been substantially improved. Read the changelog for details.
= 7.0.11 =
- This version addresses various bug fixes and feature requests.
= 7.0.11 =
- This version addresses various bug fixes
= 7.0.10 =
- This version addresses various bug fixes
= 7.0.09 =
- This version addresses various security issues.
- This version addresses various bug fixes and feature requests.
= 7.0.08 =
- This version addresses various security issues.
- This version addresses various bug fixes
= 7.0.07 =
- This version addresses various security issues.
- This version addresses various bug fixes
= 7.0.06 =
- This version addresses various bug fixes
- This version addresses various security issues.
= 7.0.05 =
- This version addresses various minor bug fixes and feature requests.
- This version addresses various security issues.
= 7.0.04 =
- This version addresses various bug fixes
- This version addresses various security issues.
= 7.0.03 =
- This version addresses various minor bug fixes and feature requests.
= 7.0.02 =
- This version addresses various bug fixes
- This version addresses various security issues.
= 7.0.01 =
- This version addresses various minor bug fixes and feature requests.
= 7.0.00 =
- Shortcode generators for Gutenberg added.
- This version addresses various minor bug fixes and feature requests.
- This version addresses various security issues.
- To prevent spamming and give the users the opportunity to decide when they want us to email them, the mailing system has been revised. Configure Table IX-M to enable various mailing lists, and use the WPPA+ Notify widget for full user flexibility.
= 6.9.21 =
- This version addresses various bug fixes
- This version addresses various security issues.
= 6.9.20 =
- This version addresses various bug fixes
= 6.9.19 =
- This version addresses various minor bug fixes
= 6.9.18 =
- This version addresses various minor bug fixes
= 6.9.17 =
- This version addresses various minor bug fixes and feature requests.
- This version addresses various security issues.
= 6.9.16 =
- This version addresses various minor bug fixes and feature requests.
- This version addresses various security issues.
= 6.9.15 =
- This version addresses various minor bug fixes and feature requests.
- This version addresses various security issues.
= 6.9.14 =
- This version addresses various minor bug fixes and feature requests.
- This version addresses various security issues.
= 6.9.13 =
- Security release.
= 6.9.12 =
- This version addresses various minor bug fixes and performance improvements.
= 6.9.11 =
- This version addresses various minor bug fixes and performance improvements.
= 6.9.10 =
- This version addresses various minor bug fixes and performance improvements.
= 6.9.09 =
- Panorama support phase III.
= 6.9.08 =
- This version addresses various minor bug fixes and feature requests.
- Panorama support phase II.
= 6.9.07 =
- This version addresses various minor bug fixes and feature requests.
- Panorama support phase I.
= 6.9.06 =
- This version addresses various minor bug fixes and feature requests.
= 6.9.05 =
- This version addresses various minor bug fixes and feature requests.
= 6.9.04 =
- This version addresses various minor bug fixes and feature requests.
- Local CDN functionality has been added.
= 6.9.03 =
- This version addresses various minor bug fixes and feature requests.
= 6.9.02 =
- This version addresses various minor bug fixes and feature requests.
= 6.9.01 =
- This version addresses various minor bug fixes and feature requests.
= 6.9.00 =
- This version includes the code for the privacy policy requirements.
= 6.8.09
- This version addresses various bug fixes and code edits.
= 6.8.08 =
- This version addresses various minor bug fixes and feature requests.
- This version offers substantial performance improvements when the box in Table IV-A13: Defer Javascript is ticked. This setting is now recommended and set ticked as the default.
- For more info on performance improvements and compatibility with optimizers: see the changelog.txt
= 6.8.07 =
- This version addresses various minor bug fixes and enhancements, and a new widget: Statistics.
= 6.8.06 =
- This version addresses various minor bug fixes and improved cache handling.
= 6.8.05 =
- This version addresses various minor bug fixes and feture requests.
= 6.8.04 =
- This version addresses various display issues and a few fixes of bugs that seldom affected the plugins behaviour.
Download this release
Release Info
Developer | opajaap |
Plugin | WP Photo Album Plus |
Version | 7.2.10.001 |
Comparing to | |
See all releases |
Code changes from version 7.2.09.004 to 7.2.10.001
- changelog.txt +5 -0
- readme.txt +6 -2
- wppa-ajax.php +42 -2
- wppa.php +3 -3
changelog.txt
CHANGED
@@ -1,5 +1,10 @@
|
|
1 |
WP Photo Album Plus Changelog
|
2 |
|
|
|
|
|
|
|
|
|
|
|
3 |
= 7.2.09 =
|
4 |
|
5 |
* Gutenberg preview of wppa gallery shorcodes now also works when Table IX-A1.3 is ticked.
|
1 |
WP Photo Album Plus Changelog
|
2 |
|
3 |
+
= 7.2.10 =
|
4 |
+
|
5 |
+
* When the status of a photo is set to 'featured' it will be inserted in the standard wp media library,
|
6 |
+
now also works for mp4 videos.
|
7 |
+
|
8 |
= 7.2.09 =
|
9 |
|
10 |
* Gutenberg preview of wppa gallery shorcodes now also works when Table IX-A1.3 is ticked.
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
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.2.
|
6 |
-
Stable tag: 7.2.
|
7 |
Author: J.N. Breetvelt
|
8 |
Author URI: http://www.opajaap.nl/
|
9 |
Requires at least: 3.9
|
@@ -137,6 +137,10 @@ See for the full changelog: <a href="http://www.wppa.nl/changelog/" >The documen
|
|
137 |
|
138 |
== Upgrade Notice ==
|
139 |
|
|
|
|
|
|
|
|
|
140 |
= 7.2.09 =
|
141 |
|
142 |
* This version addresses various bug fixes and feature requests.
|
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.2.10.001
|
6 |
+
Stable tag: 7.2.09.004
|
7 |
Author: J.N. Breetvelt
|
8 |
Author URI: http://www.opajaap.nl/
|
9 |
Requires at least: 3.9
|
137 |
|
138 |
== Upgrade Notice ==
|
139 |
|
140 |
+
= 7.2.10 =
|
141 |
+
|
142 |
+
* This version addresses various bug fixes and feature requests.
|
143 |
+
|
144 |
= 7.2.09 =
|
145 |
|
146 |
* This version addresses various bug fixes and feature requests.
|
wppa-ajax.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/* wppa-ajax.php
|
3 |
*
|
4 |
* Functions used in ajax requests
|
5 |
-
* Version 7.2.
|
6 |
*
|
7 |
*/
|
8 |
|
@@ -2271,8 +2271,48 @@ global $wppa_log_file;
|
|
2271 |
if ( $item == 'name' || $item == 'description' || $item == 'tags' ) wppa_index_update( 'photo', $photo );
|
2272 |
if ( $item == 'status' && $value != 'scheduled' ) wppa_update_photo( array( 'id' => $photo, 'scheduledtm' => '' ) );
|
2273 |
if ( $item == 'status' ) wppa_invalidate_treecounts( wppa_get_photo_item( $photo, 'album' ) );
|
|
|
|
|
2274 |
if ( $item == 'status' && $value == 'featured' ) {
|
2275 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2276 |
media_sideload_image( wppa_get_hires_url( $photo ), 0, wppa_get_photo_desc( $photo ) );
|
2277 |
}
|
2278 |
}
|
2 |
/* wppa-ajax.php
|
3 |
*
|
4 |
* Functions used in ajax requests
|
5 |
+
* Version 7.2.10
|
6 |
*
|
7 |
*/
|
8 |
|
2271 |
if ( $item == 'name' || $item == 'description' || $item == 'tags' ) wppa_index_update( 'photo', $photo );
|
2272 |
if ( $item == 'status' && $value != 'scheduled' ) wppa_update_photo( array( 'id' => $photo, 'scheduledtm' => '' ) );
|
2273 |
if ( $item == 'status' ) wppa_invalidate_treecounts( wppa_get_photo_item( $photo, 'album' ) );
|
2274 |
+
|
2275 |
+
// If set to featured, try to copy to wp media
|
2276 |
if ( $item == 'status' && $value == 'featured' ) {
|
2277 |
+
|
2278 |
+
// Not a photo
|
2279 |
+
if ( wppa_is_multi( $photo ) ) {
|
2280 |
+
|
2281 |
+
$image_path = wppa_strip_ext( wppa_get_photo_path( $photo ) ) . '.mp4';
|
2282 |
+
|
2283 |
+
// If .mp4 file exists, try to copy to wp media
|
2284 |
+
if ( is_file( $image_path ) ) {
|
2285 |
+
|
2286 |
+
wppa( 'no_ver', true ); // Next get_photo_url without ver=... , please
|
2287 |
+
$image_url = wppa_strip_ext( wppa_get_photo_url( $photo ) ) . '.mp4';
|
2288 |
+
$image_tmp = download_url( $image_url );
|
2289 |
+
|
2290 |
+
if ( is_wp_error( $image_tmp ) ) {
|
2291 |
+
wppa_log( 'err', "Image Download $image_url Fail:" . is_wp_error( $image_tmp ) );
|
2292 |
+
}
|
2293 |
+
|
2294 |
+
if ( ! is_wp_error( $image_tmp ) ) {
|
2295 |
+
|
2296 |
+
$image_size = filesize( $image_tmp );
|
2297 |
+
$image_name = wppa_get_photo_name( $photo );
|
2298 |
+
|
2299 |
+
// Download complete now upload in wp media
|
2300 |
+
$file = array(
|
2301 |
+
'name' => $image_name,
|
2302 |
+
'type' => 'video/mp4',
|
2303 |
+
'tmp_name' => $image_tmp,
|
2304 |
+
'error' => 0,
|
2305 |
+
'size' => $image_size
|
2306 |
+
);
|
2307 |
+
|
2308 |
+
// This image/file will show on media page...
|
2309 |
+
$thumb_id = media_handle_sideload( $file, 0, wppa_get_photo_desc( $photo ) );
|
2310 |
+
}
|
2311 |
+
}
|
2312 |
+
}
|
2313 |
+
|
2314 |
+
// A photo
|
2315 |
+
else {
|
2316 |
media_sideload_image( wppa_get_hires_url( $photo ), 0, wppa_get_photo_desc( $photo ) );
|
2317 |
}
|
2318 |
}
|
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.2.
|
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/
|
@@ -22,8 +22,8 @@ global $wpdb;
|
|
22 |
global $wp_version;
|
23 |
|
24 |
/* WPPA GLOBALS */
|
25 |
-
global $wppa_revno; $wppa_revno = '
|
26 |
-
global $wppa_api_version; $wppa_api_version = '7.2.
|
27 |
|
28 |
/* Init page js data */
|
29 |
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.2.10.001
|
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/
|
22 |
global $wp_version;
|
23 |
|
24 |
/* WPPA GLOBALS */
|
25 |
+
global $wppa_revno; $wppa_revno = '7210'; // WPPA db version
|
26 |
+
global $wppa_api_version; $wppa_api_version = '7.2.10.001'; // WPPA software version
|
27 |
|
28 |
/* Init page js data */
|
29 |
global $wppa_js_page_data; $wppa_js_page_data = '';
|