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.002 |
Comparing to | |
See all releases |
Code changes from version 8.1.10.001 to 8.1.10.002
- changelog.txt +2 -1
- js/wppa-gutenberg-photo.js +1 -1
- js/wppa-gutenberg-wppa.js +1 -1
- wppa-album-widget.php +3 -3
- wppa-comment-widget.php +4 -4
- wppa-featen-widget.php +3 -3
- wppa-gutenberg-wppa.php +4 -4
- wppa-init.php +14 -13
- wppa-lasten-widget.php +3 -3
- wppa-potd-widget.php +2 -4
- wppa-qr-widget.php +2 -2
- wppa-thumbnail-widget.php +3 -3
- wppa-tinymce-shortcodes.php +2 -2
- wppa-topten-widget.php +3 -3
- wppa-users.php +6 -1
- wppa-wrappers.php +2 -1
- wppa.php +2 -2
changelog.txt
CHANGED
@@ -3,7 +3,8 @@ WP Photo Album Plus Changelog
|
|
3 |
= 8.1.10 =
|
4 |
|
5 |
* Widgets do no longer give errors in the widget block editor.
|
6 |
-
* Improved layout of the album admin
|
|
|
7 |
|
8 |
= 8.1.09 =
|
9 |
|
3 |
= 8.1.10 =
|
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 atthe backend i.e. has access to (public or his own).
|
8 |
|
9 |
= 8.1.09 =
|
10 |
|
js/wppa-gutenberg-photo.js
CHANGED
@@ -137,7 +137,7 @@ jQuery(document).ready(function(){
|
|
137 |
'&wppa-action=gutenbergphotodialog',
|
138 |
async: true,
|
139 |
type: 'GET',
|
140 |
-
timeout:
|
141 |
beforeSend: function( xhr ) {
|
142 |
|
143 |
},
|
137 |
'&wppa-action=gutenbergphotodialog',
|
138 |
async: true,
|
139 |
type: 'GET',
|
140 |
+
timeout: 60000,
|
141 |
beforeSend: function( xhr ) {
|
142 |
|
143 |
},
|
js/wppa-gutenberg-wppa.js
CHANGED
@@ -88,7 +88,7 @@ jQuery(document).ready(function(){
|
|
88 |
'&wppa-action=gutenbergwppadialog',
|
89 |
async: true,
|
90 |
type: 'GET',
|
91 |
-
timeout:
|
92 |
beforeSend: function( xhr ) {
|
93 |
|
94 |
},
|
88 |
'&wppa-action=gutenbergwppadialog',
|
89 |
async: true,
|
90 |
type: 'GET',
|
91 |
+
timeout: 60000,
|
92 |
beforeSend: function( xhr ) {
|
93 |
|
94 |
},
|
wppa-album-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display thumbnail albums
|
6 |
-
* Version 8.1.
|
7 |
*/
|
8 |
|
9 |
if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
|
@@ -462,8 +462,8 @@ class AlbumWidget extends WP_Widget {
|
|
462 |
if ( current_user_can( 'wppa_settings' ) ) {
|
463 |
wppa_echo(
|
464 |
'<p>' .
|
465 |
-
|
466 |
-
' ' .
|
467 |
wppa_see_also( 'widget', '1', '10.11' ) .
|
468 |
'</p>' );
|
469 |
};
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display thumbnail albums
|
6 |
+
* Version 8.1.10.002
|
7 |
*/
|
8 |
|
9 |
if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
|
462 |
if ( current_user_can( 'wppa_settings' ) ) {
|
463 |
wppa_echo(
|
464 |
'<p>' .
|
465 |
+
esc_html__( 'You can set the sizes in this widget in the <b>Photo Albums -> Settings</b> admin page.', 'wp-photo-album-plus' ) .
|
466 |
+
' ' . esc_html__( 'Basic settings -> Widgets -> I -> Items 10 and 11', 'wp-photo-album-plus' ) .
|
467 |
wppa_see_also( 'widget', '1', '10.11' ) .
|
468 |
'</p>' );
|
469 |
};
|
wppa-comment-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display the recent commets on photos
|
6 |
-
* Version 8.1.
|
7 |
*/
|
8 |
|
9 |
if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
|
@@ -174,12 +174,12 @@ class wppaCommentWidget extends WP_Widget {
|
|
174 |
|
175 |
wppa_echo(
|
176 |
'<p>' .
|
177 |
-
|
178 |
-
' ' .
|
179 |
if ( current_user_can( 'wppa_settings' ) ) {
|
180 |
wppa_echo( wppa_see_also( 'widget', 1, '4.5' ) );
|
181 |
}
|
182 |
-
wppa_echo(
|
183 |
'</p>' );
|
184 |
|
185 |
}
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display the recent commets on photos
|
6 |
+
* Version 8.1.10.002
|
7 |
*/
|
8 |
|
9 |
if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
|
174 |
|
175 |
wppa_echo(
|
176 |
'<p>' .
|
177 |
+
esc_html__( 'You can set the sizes in this widget in the <b>Photo Albums -> Settings</b> admin page.', 'wp-photo-album-plus' ) .
|
178 |
+
' ' . esc_html__( 'Basic settings -> Widgets -> I -> Items 4 and 5', 'wp-photo-album-plus' ) ) . '.';
|
179 |
if ( current_user_can( 'wppa_settings' ) ) {
|
180 |
wppa_echo( wppa_see_also( 'widget', 1, '4.5' ) );
|
181 |
}
|
182 |
+
wppa_echo(
|
183 |
'</p>' );
|
184 |
|
185 |
}
|
wppa-featen-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display the featured photos
|
6 |
-
* Version 8.1.10.
|
7 |
*/
|
8 |
|
9 |
if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
|
@@ -250,8 +250,8 @@ class FeaTenWidget extends WP_Widget {
|
|
250 |
// Explanation
|
251 |
wppa_echo(
|
252 |
'<p>' .
|
253 |
-
|
254 |
-
' ' .
|
255 |
'</p>'
|
256 |
);
|
257 |
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display the featured photos
|
6 |
+
* Version 8.1.10.002
|
7 |
*/
|
8 |
|
9 |
if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
|
250 |
// Explanation
|
251 |
wppa_echo(
|
252 |
'<p>' .
|
253 |
+
esc_html__( 'You can set the sizes in this widget in the <b>Photo Albums -> Settings</b> admin page.', 'wp-photo-album-plus' ) .
|
254 |
+
' ' . esc_html__( 'Basic settings -> Widgets -> I -> Items 12 and 13', 'wp-photo-album-plus' ) .
|
255 |
'</p>'
|
256 |
);
|
257 |
|
wppa-gutenberg-wppa.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/* wppa-gutenberg-wppa.php
|
3 |
* Pachkage: wp-photo-album-plus
|
4 |
*
|
5 |
-
* Version 8.1.
|
6 |
*/
|
7 |
|
8 |
function wppa_gutenberg_wppa_block() {
|
@@ -592,14 +592,14 @@ global $wpdb;
|
|
592 |
|
593 |
// Calendar
|
594 |
'<tr id="wppagallery-calendar-tr" style="display:none;">'.
|
595 |
-
'<th><label for="wppagallery-calendar">' . __( 'Calendar type:', 'wp-photo-album-plus' ) . '</
|
596 |
'<td>'.
|
597 |
'<select id="wppagallery-calendar-type" style="color:#070;max-width:400px;" onchange="wppaGutenbergGalleryEvaluate()">'.
|
598 |
'<option value="exifdtm">' . __( 'By EXIF date', 'wp-photo-album-plus' ) . '</option>'.
|
599 |
'<option value="timestamp">' . __( 'By date of upload', 'wp-photo-album-plus' ) . '</option>'.
|
600 |
'<option value="modified">' . __( 'By date last modified', 'wp-photo-album-plus' ) . '</option>'.
|
601 |
'</select>'.
|
602 |
-
'<br
|
603 |
'<input type="checkbox" id="wppagallery-calendar-reverse" onchange="wppaGutenbergGalleryEvaluate()">' . __( 'Last date first', 'wp-photo-album-plus' ) . ' '.
|
604 |
'<input type="checkbox" id="wppagallery-calendar-allopen" onchange="wppaGutenbergGalleryEvaluate()">' . __( 'Initially display all', 'wp-photo-album-plus' ) .
|
605 |
'</td>'.
|
@@ -610,7 +610,7 @@ global $wpdb;
|
|
610 |
'<th><label for="wppagallery-size">' . __( 'The size of the display:', 'wp-photo-album-plus' ) . '</label></th>'.
|
611 |
'<td>'.
|
612 |
'<input type="text" id="wppagallery-size" value="" style="color:#070;" onchange="wppaGutenbergGalleryEvaluate();"/>'.
|
613 |
-
'<br
|
614 |
'<small>'.
|
615 |
__( 'Specify the horizontal size in pixels or <span style="color:blue">auto</span>.', 'wp-photo-album-plus' ) . ' '.
|
616 |
__( 'A value less than <span style="color:blue">100</span> will automatically be interpreted as a <span style="color:blue">percentage</span> of the available space.', 'wp-photo-album-plus' ) .
|
2 |
/* wppa-gutenberg-wppa.php
|
3 |
* Pachkage: wp-photo-album-plus
|
4 |
*
|
5 |
+
* Version 8.1.10.002
|
6 |
*/
|
7 |
|
8 |
function wppa_gutenberg_wppa_block() {
|
592 |
|
593 |
// Calendar
|
594 |
'<tr id="wppagallery-calendar-tr" style="display:none;">'.
|
595 |
+
'<th><label for="wppagallery-calendar">' . __( 'Calendar type:', 'wp-photo-album-plus' ) . '</label></th>'.
|
596 |
'<td>'.
|
597 |
'<select id="wppagallery-calendar-type" style="color:#070;max-width:400px;" onchange="wppaGutenbergGalleryEvaluate()">'.
|
598 |
'<option value="exifdtm">' . __( 'By EXIF date', 'wp-photo-album-plus' ) . '</option>'.
|
599 |
'<option value="timestamp">' . __( 'By date of upload', 'wp-photo-album-plus' ) . '</option>'.
|
600 |
'<option value="modified">' . __( 'By date last modified', 'wp-photo-album-plus' ) . '</option>'.
|
601 |
'</select>'.
|
602 |
+
'<br>'.
|
603 |
'<input type="checkbox" id="wppagallery-calendar-reverse" onchange="wppaGutenbergGalleryEvaluate()">' . __( 'Last date first', 'wp-photo-album-plus' ) . ' '.
|
604 |
'<input type="checkbox" id="wppagallery-calendar-allopen" onchange="wppaGutenbergGalleryEvaluate()">' . __( 'Initially display all', 'wp-photo-album-plus' ) .
|
605 |
'</td>'.
|
610 |
'<th><label for="wppagallery-size">' . __( 'The size of the display:', 'wp-photo-album-plus' ) . '</label></th>'.
|
611 |
'<td>'.
|
612 |
'<input type="text" id="wppagallery-size" value="" style="color:#070;" onchange="wppaGutenbergGalleryEvaluate();"/>'.
|
613 |
+
'<br>'.
|
614 |
'<small>'.
|
615 |
__( 'Specify the horizontal size in pixels or <span style="color:blue">auto</span>.', 'wp-photo-album-plus' ) . ' '.
|
616 |
__( 'A value less than <span style="color:blue">100</span> will automatically be interpreted as a <span style="color:blue">percentage</span> of the available space.', 'wp-photo-album-plus' ) .
|
wppa-init.php
CHANGED
@@ -4,32 +4,33 @@
|
|
4 |
*
|
5 |
* This file loads required php files and contains all functions used in init actions.
|
6 |
*
|
7 |
-
* Version 8.1.10.
|
8 |
*/
|
9 |
|
10 |
/* LOAD SIDEBAR WIDGETS */
|
11 |
require_once 'wppa-potd-widget.php';
|
12 |
require_once 'wppa-search-widget.php';
|
13 |
-
require_once 'wppa-topten-widget.php';
|
14 |
require_once 'wppa-featen-widget.php';
|
15 |
require_once 'wppa-slideshow-widget.php';
|
16 |
-
require_once 'wppa-comment-widget.php';
|
17 |
require_once 'wppa-thumbnail-widget.php';
|
18 |
require_once 'wppa-lasten-widget.php';
|
19 |
-
require_once 'wppa-album-widget.php';
|
20 |
require_once 'wppa-qr-widget.php';
|
21 |
require_once 'wppa-tagcloud-widget.php';
|
22 |
-
require_once 'wppa-multitag-widget.php';
|
23 |
require_once 'wppa-upload-widget.php';
|
24 |
require_once 'wppa-super-view-widget.php';
|
25 |
-
require_once 'wppa-upldr-widget.php';
|
26 |
-
require_once 'wppa-bestof-widget.php';
|
27 |
-
require_once 'wppa-album-navigator-widget.php';
|
28 |
-
require_once 'wppa-stereo-widget.php';
|
29 |
-
require_once 'wppa-admins-choice-widget.php';
|
30 |
-
require_once 'wppa-stats-widget.php';
|
31 |
-
require_once 'wppa-notify-widget.php';
|
32 |
-
require_once 'wppa-gp-widget.php';
|
|
|
33 |
|
34 |
/* COMMON FUNCTIONS */
|
35 |
require_once 'wppa-common-functions.php';
|
4 |
*
|
5 |
* This file loads required php files and contains all functions used in init actions.
|
6 |
*
|
7 |
+
* Version 8.1.10.002
|
8 |
*/
|
9 |
|
10 |
/* LOAD SIDEBAR WIDGETS */
|
11 |
require_once 'wppa-potd-widget.php';
|
12 |
require_once 'wppa-search-widget.php';
|
13 |
+
require_once 'wppa-topten-widget.php';
|
14 |
require_once 'wppa-featen-widget.php';
|
15 |
require_once 'wppa-slideshow-widget.php';
|
16 |
+
require_once 'wppa-comment-widget.php';
|
17 |
require_once 'wppa-thumbnail-widget.php';
|
18 |
require_once 'wppa-lasten-widget.php';
|
19 |
+
require_once 'wppa-album-widget.php';
|
20 |
require_once 'wppa-qr-widget.php';
|
21 |
require_once 'wppa-tagcloud-widget.php';
|
22 |
+
require_once 'wppa-multitag-widget.php';
|
23 |
require_once 'wppa-upload-widget.php';
|
24 |
require_once 'wppa-super-view-widget.php';
|
25 |
+
require_once 'wppa-upldr-widget.php';
|
26 |
+
require_once 'wppa-bestof-widget.php';
|
27 |
+
require_once 'wppa-album-navigator-widget.php';
|
28 |
+
require_once 'wppa-stereo-widget.php';
|
29 |
+
require_once 'wppa-admins-choice-widget.php';
|
30 |
+
require_once 'wppa-stats-widget.php';
|
31 |
+
require_once 'wppa-notify-widget.php';
|
32 |
+
require_once 'wppa-gp-widget.php';
|
33 |
+
require_once 'wppa-widget-functions.php';
|
34 |
|
35 |
/* COMMON FUNCTIONS */
|
36 |
require_once 'wppa-common-functions.php';
|
wppa-lasten-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display the last uploaded photos
|
6 |
-
* Version 8.1.10.
|
7 |
*/
|
8 |
|
9 |
class LasTenWidget extends WP_Widget {
|
@@ -284,8 +284,8 @@ class LasTenWidget extends WP_Widget {
|
|
284 |
wppa_widget_checkbox( $this, 'cache', $instance['cache'], __( 'Cache this widget', 'wp-photo-album-plus' ) ) .
|
285 |
|
286 |
'<p>' .
|
287 |
-
|
288 |
-
' ' .
|
289 |
'</p>';
|
290 |
wppa_echo( $result );
|
291 |
}
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display the last uploaded photos
|
6 |
+
* Version 8.1.10.002
|
7 |
*/
|
8 |
|
9 |
class LasTenWidget extends WP_Widget {
|
284 |
wppa_widget_checkbox( $this, 'cache', $instance['cache'], __( 'Cache this widget', 'wp-photo-album-plus' ) ) .
|
285 |
|
286 |
'<p>' .
|
287 |
+
esc_html__( 'You can set the sizes in this widget in the <b>Photo Albums -> Settings</b> admin page.', 'wp-photo-album-plus' ) .
|
288 |
+
' ' . esc_html__( 'Basic settings -> Widgets -> I -> Items 8 and 9', 'wp-photo-album-plus' ) .
|
289 |
'</p>';
|
290 |
wppa_echo( $result );
|
291 |
}
|
wppa-potd-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display the photo of the day widget
|
6 |
-
* Version 8.1.10.
|
7 |
*/
|
8 |
|
9 |
if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
|
@@ -259,7 +259,7 @@ class PhotoOfTheDay extends WP_Widget {
|
|
259 |
if ( current_user_can( 'wppa_settings' ) ) {
|
260 |
$result .=
|
261 |
'<p>' .
|
262 |
-
|
263 |
wppa_see_also( 'photos', 3 ); // .
|
264 |
'</p>';
|
265 |
}
|
@@ -278,8 +278,6 @@ class PhotoOfTheDay extends WP_Widget {
|
|
278 |
|
279 |
} // class PhotoOfTheDay
|
280 |
|
281 |
-
require_once 'wppa-widget-functions.php';
|
282 |
-
|
283 |
// register PhotoOfTheDay widget
|
284 |
add_action( 'widgets_init', 'wppa_register_PhotoOfTheDay' );
|
285 |
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display the photo of the day widget
|
6 |
+
* Version 8.1.10.002
|
7 |
*/
|
8 |
|
9 |
if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
|
259 |
if ( current_user_can( 'wppa_settings' ) ) {
|
260 |
$result .=
|
261 |
'<p>' .
|
262 |
+
esc_html__( 'You can set the content and the sizes in this widget in the <b>Photo Albums -> Photo of the day</b> admin page.', 'wp-photo-album-plus' ) .
|
263 |
wppa_see_also( 'photos', 3 ); // .
|
264 |
'</p>';
|
265 |
}
|
278 |
|
279 |
} // class PhotoOfTheDay
|
280 |
|
|
|
|
|
281 |
// register PhotoOfTheDay widget
|
282 |
add_action( 'widgets_init', 'wppa_register_PhotoOfTheDay' );
|
283 |
|
wppa-qr-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display qr code
|
6 |
-
* Version 8.1.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -95,7 +95,7 @@ class wppaQRWidget extends WP_Widget {
|
|
95 |
if ( current_user_can( 'wppa_settings' ) ) {
|
96 |
wppa_echo(
|
97 |
'<p>' .
|
98 |
-
|
99 |
wppa_see_also( 'widget', '3' ) .
|
100 |
'</p>' );
|
101 |
};
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display qr code
|
6 |
+
* Version 8.1.10.002
|
7 |
*
|
8 |
*/
|
9 |
|
95 |
if ( current_user_can( 'wppa_settings' ) ) {
|
96 |
wppa_echo(
|
97 |
'<p>' .
|
98 |
+
esc_html__( 'You can set the sizes and colors in this widget in the <b>Photo Albums -> Settings</b> admin page Tab Widgets -> III', 'wp-photo-album-plus' ) .
|
99 |
wppa_see_also( 'widget', '3' ) .
|
100 |
'</p>' );
|
101 |
};
|
wppa-thumbnail-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display thumbnail photos
|
6 |
-
* Version 8.1.
|
7 |
*/
|
8 |
|
9 |
class ThumbnailWidget extends WP_Widget {
|
@@ -250,8 +250,8 @@ class ThumbnailWidget extends WP_Widget {
|
|
250 |
|
251 |
echo
|
252 |
'<p>' .
|
253 |
-
|
254 |
-
' ' .
|
255 |
'</p>';
|
256 |
|
257 |
}
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display thumbnail photos
|
6 |
+
* Version 8.1.10.002
|
7 |
*/
|
8 |
|
9 |
class ThumbnailWidget extends WP_Widget {
|
250 |
|
251 |
echo
|
252 |
'<p>' .
|
253 |
+
esc_html__( 'You can set the sizes in this widget in the <b>Photo Albums -> Settings</b> admin page.', 'wp-photo-album-plus' ) .
|
254 |
+
' ' . esc_html__( 'Tab Widget I items 6 and 7', 'wp-photo-album-plus' ) .
|
255 |
'</p>';
|
256 |
|
257 |
}
|
wppa-tinymce-shortcodes.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/* wppa-tinymce-shortcodes.php
|
3 |
* Pachkage: wp-photo-album-plus
|
4 |
*
|
5 |
-
* Version 8.1.
|
6 |
*/
|
7 |
|
8 |
if ( ! defined( 'ABSPATH' ) )
|
@@ -625,7 +625,7 @@ global $wpdb;
|
|
625 |
|
626 |
// Calendar
|
627 |
'<tr id="wppagallery-calendar-tr" style="display:none;">
|
628 |
-
<th><label for="wppagallery-calendar">' . __( 'Calendar type:', 'wp-photo-album-plus' ) . '</
|
629 |
<td>
|
630 |
<select id="wppagallery-calendar-type" style="color:#070;max-width:400px;" onchange="wppaGalleryEvaluate()">
|
631 |
<option value="realexifdtm">' . __( 'Real calendar By EXIF date', 'wp-photo-album-plus' ) . '</option>
|
2 |
/* wppa-tinymce-shortcodes.php
|
3 |
* Pachkage: wp-photo-album-plus
|
4 |
*
|
5 |
+
* Version 8.1.10.002
|
6 |
*/
|
7 |
|
8 |
if ( ! defined( 'ABSPATH' ) )
|
625 |
|
626 |
// Calendar
|
627 |
'<tr id="wppagallery-calendar-tr" style="display:none;">
|
628 |
+
<th><label for="wppagallery-calendar">' . __( 'Calendar type:', 'wp-photo-album-plus' ) . '</label></th>
|
629 |
<td>
|
630 |
<select id="wppagallery-calendar-type" style="color:#070;max-width:400px;" onchange="wppaGalleryEvaluate()">
|
631 |
<option value="realexifdtm">' . __( 'Real calendar By EXIF date', 'wp-photo-album-plus' ) . '</option>
|
wppa-topten-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display the top rated photos
|
6 |
-
* Version 8.1.
|
7 |
*/
|
8 |
|
9 |
class TopTenWidget extends WP_Widget {
|
@@ -640,8 +640,8 @@ class TopTenWidget extends WP_Widget {
|
|
640 |
|
641 |
echo
|
642 |
'<p>' .
|
643 |
-
|
644 |
-
' ' .
|
645 |
'</p>';
|
646 |
|
647 |
}
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* display the top rated photos
|
6 |
+
* Version 8.1.10.002
|
7 |
*/
|
8 |
|
9 |
class TopTenWidget extends WP_Widget {
|
640 |
|
641 |
echo
|
642 |
'<p>' .
|
643 |
+
esc_html__( 'You can set the sizes in this widget in the <b>Photo Albums -> Settings</b> admin page.', 'wp-photo-album-plus' ) .
|
644 |
+
' ' . esc_html__( 'Tab Widget I Items 2 and 3', 'wp-photo-album-plus' ) .
|
645 |
'</p>';
|
646 |
|
647 |
}
|
wppa-users.php
CHANGED
@@ -321,7 +321,12 @@ function wppa_may_user_fe_delete( $id ) {
|
|
321 |
if ( wppa_is_user_superuser() ) return true;
|
322 |
|
323 |
// Can edit albums?
|
324 |
-
if ( current_user_can( 'wppa_admin' ) )
|
|
|
|
|
|
|
|
|
|
|
325 |
|
326 |
// If owner and owners may delete?
|
327 |
if ( wppa_get_user() == wppa_get_photo_owner( $id ) ) {
|
321 |
if ( wppa_is_user_superuser() ) return true;
|
322 |
|
323 |
// Can edit albums?
|
324 |
+
if ( current_user_can( 'wppa_admin' ) ) {
|
325 |
+
$alb = wppa_get_photo_item( $id, 'album' );
|
326 |
+
if ( wppa_have_access( $alb ) ) {
|
327 |
+
return true;
|
328 |
+
}
|
329 |
+
}
|
330 |
|
331 |
// If owner and owners may delete?
|
332 |
if ( wppa_get_user() == wppa_get_photo_owner( $id ) ) {
|
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 |
|
@@ -905,6 +905,7 @@ static $allowed_tags;
|
|
905 |
'col' => $sa,
|
906 |
'textarea' => array_merge( $sa, array(
|
907 |
'onchange' => true,
|
|
|
908 |
) ),
|
909 |
'thead' => $sa,
|
910 |
'tfoot' => $sa,
|
5 |
* Contains wrappers for standard php functions
|
6 |
* For security and bug reasons
|
7 |
*
|
8 |
+
* Version 8.1.10.002
|
9 |
*
|
10 |
*/
|
11 |
|
905 |
'col' => $sa,
|
906 |
'textarea' => array_merge( $sa, array(
|
907 |
'onchange' => true,
|
908 |
+
'rows' => true,
|
909 |
) ),
|
910 |
'thead' => $sa,
|
911 |
'tfoot' => $sa,
|
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.002
|
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.002'; // WPPA software version
|
28 |
global $wppa_revno;
|
29 |
$wppa_revno = str_replace( '.', '', $wppa_api_version ); // WPPA db version
|
30 |
|