WP Photo Album Plus - Version 7.1.10.003

Version Description

= 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 Icon wp plugin WP Photo Album Plus
Version 7.1.10.003
Comparing to
See all releases

Code changes from version 7.1.09.004 to 7.1.10.003

changelog.txt CHANGED
@@ -1,5 +1,10 @@
1
WP Photo Album Plus Changelog
2
3
= 7.1.09 =
4
5
* Dropped te use of WP_Filesystem() due to problems like installations where $wp_filesystem->is_dir() always returns false without a valid reason.
1
WP Photo Album Plus Changelog
2
3
+ = 7.1.10 =
4
+
5
+ * Failed attempts to create a directory tree will no longer result in a blank screen.
6
+ * Added a selection option to the photo of the day subtitle. Displays photo and album names and descriptions.
7
+
8
= 7.1.09 =
9
10
* Dropped te use of WP_Filesystem() due to problems like installations where $wp_filesystem->is_dir() always returns false without a valid reason.
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&currency_code=USD&lc=US
4
Tags: photo, album, slideshow, video, audio, lightbox, iptc, exif, cloudinary, fotomoto, imagemagick, pdf
5
- Version: 7.1.09.004
6
- Stable tag: 7.1.08.004
7
Author: J.N. Breetvelt
8
Author URI: http://www.opajaap.nl/
9
Requires at least: 3.9
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&currency_code=USD&lc=US
4
Tags: photo, album, slideshow, video, audio, lightbox, iptc, exif, cloudinary, fotomoto, imagemagick, pdf
5
+ Version: 7.1.10.001
6
+ Stable tag: 7.1.09.004
7
Author: J.N. Breetvelt
8
Author URI: http://www.opajaap.nl/
9
Requires at least: 3.9
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 7.1.09
7
*
8
*/
9
@@ -184,6 +184,13 @@ global $wppa_session;
184
__( 'Import Photos', 'wp-photo-album-plus') .
185
'</h2>';
186
187
// See if remote is possible
188
$can_remote = ini_get( 'allow_url_fopen' ) && function_exists( 'curl_init' );
189
if ( ! $can_remote ) {
3
* Package: wp-photo-album-plus
4
*
5
* Contains all the import pages and functions
6
+ * Version 7.1.10
7
*
8
*/
9
184
__( 'Import Photos', 'wp-photo-album-plus') .
185
'</h2>';
186
187
+ // See if our depot dir has been created
188
+ if ( ! wppa_is_dir( WPPA_DEPOT_PATH ) ) {
189
+ wppa_error_message( sprintf(
190
+ __( 'Your depot directory <b>%s</b> could not be created.<br />Please create it yourself using a ftp program and make sure the filesystem rights are set to 0755',
191
+ 'wp-photo-album-plus' ), WPPA_DEPOT_PATH ) );
192
+ }
193
+
194
// See if remote is possible
195
$can_remote = ini_get( 'allow_url_fopen' ) && function_exists( 'curl_init' );
196
if ( ! $can_remote ) {
wppa-potd-admin.php CHANGED
@@ -3,7 +3,7 @@
3
* Pachkage: wp-photo-album-plus
4
*
5
* admin photo of the day widget
6
- * Version 7.1.02
7
*
8
*/
9
@@ -136,11 +136,13 @@ global $wppa_defaults;
136
__( 'Photo Name', 'wp-photo-album-plus' ),
137
__( 'Description', 'wp-photo-album-plus' ),
138
__( 'Owner', 'wp-photo-album-plus' ),
139
);
140
$vals = array( 'none',
141
'name',
142
'desc',
143
'owner',
144
);
145
$html = wppa_potd_select( $slug, $opts, $vals );
146
wppa_potd_setting( $slug, '5', $name, $desc, $html );
3
* Pachkage: wp-photo-album-plus
4
*
5
* admin photo of the day widget
6
+ * Version 7.1.10
7
*
8
*/
9
136
__( 'Photo Name', 'wp-photo-album-plus' ),
137
__( 'Description', 'wp-photo-album-plus' ),
138
__( 'Owner', 'wp-photo-album-plus' ),
139
+ __( 'Extended', 'wp-photo-album-plus' ),
140
);
141
$vals = array( 'none',
142
'name',
143
'desc',
144
'owner',
145
+ 'extended',
146
);
147
$html = wppa_potd_select( $slug, $opts, $vals );
148
wppa_potd_setting( $slug, '5', $name, $desc, $html );
wppa-potd-widget.php CHANGED
@@ -3,7 +3,7 @@
3
* Package: wp-photo-album-plus
4
*
5
* display the widget
6
- * Version 6.9.21
7
*/
8
9
if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
@@ -70,6 +70,7 @@ class PhotoOfTheDay extends WP_Widget {
70
$link = wppa_get_imglnk_a( 'potdwidget' , $id );
71
$is_video = wppa_is_video( $id );
72
$has_audio = wppa_has_audio( $id );
73
74
if ( $link['is_lightbox'] ) {
75
$lightbox = ( $is_video ? ' data-videohtml="' . esc_attr( wppa_get_video_body( $id ) ) . '"' .
@@ -136,7 +137,7 @@ class PhotoOfTheDay extends WP_Widget {
136
137
// The counter
138
if ( wppa_switch( 'potd_counter' ) ) { // If we want this
139
- $alb = wppa_get_photo_item( $id, 'album' );
140
$c = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->wppa_photos WHERE album = " . $alb ) - 1;
141
if ( $c > 0 ) {
142
if ( wppa_opt( 'potd_counter_link' ) == 'thumbs' ) {
@@ -190,6 +191,17 @@ class PhotoOfTheDay extends WP_Widget {
190
$owner = $user->display_name;
191
$widget_content .= "\n".'<div class="wppa-widget-text wppa-potd-text" style="'.$align.'">'.__('By:', 'wp-photo-album-plus').' ' . $owner . '</div>';
192
break;
193
default:
194
wppa_log( 'Err', 'Unimplemented potd_subtitle found in wppa-potd-widget: ' . wppa_opt( 'potd_subtitle' ) );
195
}
3
* Package: wp-photo-album-plus
4
*
5
* display the widget
6
+ * Version 7.1.10
7
*/
8
9
if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
70
$link = wppa_get_imglnk_a( 'potdwidget' , $id );
71
$is_video = wppa_is_video( $id );
72
$has_audio = wppa_has_audio( $id );
73
+ $alb = wppa_get_photo_item( $id, 'album' );
74
75
if ( $link['is_lightbox'] ) {
76
$lightbox = ( $is_video ? ' data-videohtml="' . esc_attr( wppa_get_video_body( $id ) ) . '"' .
137
138
// The counter
139
if ( wppa_switch( 'potd_counter' ) ) { // If we want this
140
+
141
$c = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->wppa_photos WHERE album = " . $alb ) - 1;
142
if ( $c > 0 ) {
143
if ( wppa_opt( 'potd_counter_link' ) == 'thumbs' ) {
191
$owner = $user->display_name;
192
$widget_content .= "\n".'<div class="wppa-widget-text wppa-potd-text" style="'.$align.'">'.__('By:', 'wp-photo-album-plus').' ' . $owner . '</div>';
193
break;
194
+ case 'extended':
195
+ $alb = wppa_get_photo_item( $id, 'album' );
196
+ $widget_content .=
197
+ '<div class="wppa-widget-text wppa-potd-text" style="'.$align.'">' .
198
+ '<span class="potd-pname" >' . wppa_get_photo_name( $id ) . '</span>' .
199
+ '<span class="pots-pdesc" >' . wppa_get_photo_desc( $id ) . '</span>' .
200
+ '<br />' .
201
+ '<span class="potd-adesc" >' . wppa_get_album_desc( $alb ) . '</span>' .
202
+ '<span class="potd-aname" >' . wppa_get_album_name( $alb ) . '</span>' .
203
+ '</div>';
204
+ break;
205
default:
206
wppa_log( 'Err', 'Unimplemented potd_subtitle found in wppa-potd-widget: ' . wppa_opt( 'potd_subtitle' ) );
207
}
wppa-wrappers.php CHANGED
@@ -5,7 +5,7 @@
5
* Contains wrappers for standard php functions
6
* For security and bug reasons
7
*
8
- * Version 7.1.09
9
*
10
*/
11
@@ -267,12 +267,29 @@ function wppa_unlink( $file ) {
267
268
// Make directory tree recursively
269
function wppa_mktree( $path ) {
270
271
if ( wppa_is_dir( $path ) ) {
272
chmod( $path, 0755 );
273
return true;
274
}
275
- $bret = wppa_mktree( dirname( $path ) );
276
if ( $bret ) {
277
wppa_mkdir( $path );
278
}
5
* Contains wrappers for standard php functions
6
* For security and bug reasons
7
*
8
+ * Version 7.1.10
9
*
10
*/
11
267
268
// Make directory tree recursively
269
function wppa_mktree( $path ) {
270
+
271
+ $bret = _wppa_mktree( $path );
272
+ if ( ! $bret ) {
273
+ wppa_log( 'Err', 'Could not create ' . $path );
274
+ }
275
+ return $bret;
276
+ }
277
+
278
+ function _wppa_mktree( $path ) {
279
280
if ( wppa_is_dir( $path ) ) {
281
chmod( $path, 0755 );
282
return true;
283
}
284
+
285
+ // To prevent infinite recursion on faulty instalations
286
+ if ( $path == dirname( $path ) ) {
287
+
288
+ // We are at the top: /
289
+ return false;
290
+ }
291
+
292
+ $bret = _wppa_mktree( dirname( $path ) );
293
if ( $bret ) {
294
wppa_mkdir( $path );
295
}
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.1.09.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/
@@ -23,7 +23,7 @@ global $wp_version;
23
24
/* WPPA GLOBALS */
25
global $wppa_revno; $wppa_revno = '7109'; // WPPA db version
26
- global $wppa_api_version; $wppa_api_version = '7.1.09.004'; // WPPA software version
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.1.10.003
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/
23
24
/* WPPA GLOBALS */
25
global $wppa_revno; $wppa_revno = '7109'; // WPPA db version
26
+ global $wppa_api_version; $wppa_api_version = '7.1.10.003'; // WPPA software version
27
28
/* Init page js data */
29
global $wppa_js_page_data; $wppa_js_page_data = '';