Version Description
= 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.08.003 |
Comparing to | |
See all releases |
Code changes from version 7.2.07.007 to 7.2.08.003
- changelog.txt +7 -1
- readme.txt +6 -2
- wppa-boxes-html.php +10 -10
- wppa-comment-admin.php +2 -2
- wppa-dashboard-widgets.php +5 -5
- wppa-filter.php +2 -2
- wppa-links.php +11 -9
- wppa.php +3 -3
changelog.txt
CHANGED
@@ -1,10 +1,16 @@
|
|
1 |
WP Photo Album Plus Changelog
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
= 7.2.07 =
|
4 |
|
5 |
* Various security and code quality issues fixed.
|
6 |
* Table IX-E22: Placeholder text for the search photos box/widget is believed to work in all configurations now.
|
7 |
-
* The zipfile name of the album download is now always sanitized and no longer dependant of Table IX-D17.
|
8 |
This fixes possible 404 errors on album downloads when the album name had funny characters like " in its name.
|
9 |
* One could not have more than one multitag/tags-filter instance on a page. Fixed.
|
10 |
* Fixed typo's and missig translations in the settings admin page.
|
1 |
WP Photo Album Plus Changelog
|
2 |
|
3 |
+
= 7.2.08 =
|
4 |
+
|
5 |
+
* Fixed a problem when displaying slideshows with comment field caused by user display names containing (single) quotes.
|
6 |
+
* Fixed a regression in the interpretation of shortcode arguments since 7.2.07 with respect to accented letters.
|
7 |
+
* Placeholder code for search box produced an error in certain circumstances. Fixed.
|
8 |
+
|
9 |
= 7.2.07 =
|
10 |
|
11 |
* Various security and code quality issues fixed.
|
12 |
* Table IX-E22: Placeholder text for the search photos box/widget is believed to work in all configurations now.
|
13 |
+
* The zipfile name of the album download is now always sanitized and no longer dependant of Table IX-D17.
|
14 |
This fixes possible 404 errors on album downloads when the album name had funny characters like " in its name.
|
15 |
* One could not have more than one multitag/tags-filter instance on a page. Fixed.
|
16 |
* Fixed typo's and missig translations in the settings admin page.
|
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.07 =
|
141 |
|
142 |
* This version addresses various bug fixes.
|
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.08.003
|
6 |
+
Stable tag: 7.2.07.007
|
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.08 =
|
141 |
+
|
142 |
+
* This version addresses various bug fixes.
|
143 |
+
|
144 |
= 7.2.07 =
|
145 |
|
146 |
* This version addresses various bug fixes.
|
wppa-boxes-html.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Various wppa boxes
|
6 |
-
* Version 7.2.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -343,7 +343,7 @@ global $wppa_session;
|
|
343 |
// If no placeholder in form_core, add it
|
344 |
if ( strpos( $form_core, 'placeholder' ) === false ) {
|
345 |
if ( strpos( $form_core, 'name="wppa-searchstring"' ) !== false ) {
|
346 |
-
str_replace( 'name="wppa-searchstring"', 'name="wppa-searchstring" placeholder="' . esc_attr( wppa_opt( 'search_placeholder' ) ) . '" ' );
|
347 |
}
|
348 |
}
|
349 |
|
@@ -3583,7 +3583,7 @@ global $wpdb;
|
|
3583 |
current_user_can( 'wppa_moderate' ) ||
|
3584 |
current_user_can( 'wppa_comments' ) ||
|
3585 |
( ( $comment['status'] == 'pending' || $comment['status'] == 'spam' ) &&
|
3586 |
-
$comment['user'] == wppa( 'comment_user' )
|
3587 |
)
|
3588 |
) {
|
3589 |
$n_comments++;
|
@@ -3598,7 +3598,7 @@ global $wpdb;
|
|
3598 |
' class="wppa-box-text wppa-td"' .
|
3599 |
' style="vertical-align:top; width:30%; border-width: 0 0 0 0; '.wppa_wcs( 'wppa-box-text' ).wppa_wcs( 'wppa-td' ).'"' .
|
3600 |
' >' .
|
3601 |
-
( wppa_switch( 'domain_link_buddypress' ) ? wppa_bp_userlink( $comment['email'], false, true ) : $comment['user'] ) .
|
3602 |
' ' . __( 'wrote:', 'wp-photo-album-plus' ) .
|
3603 |
'<br />' .
|
3604 |
'<span style="font-size:9px; ">' .
|
@@ -3629,13 +3629,13 @@ global $wpdb;
|
|
3629 |
|
3630 |
// If not found, try to find the user by login name ( works only if login name is equal to display name )
|
3631 |
if ( ! $usr ) {
|
3632 |
-
$usr = wppa_get_user_by( 'login', $comment['user'] );
|
3633 |
}
|
3634 |
|
3635 |
// Still no user, try to find him by display name
|
3636 |
if ( ! $usr ) {
|
3637 |
$usr = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM $wpdb->users
|
3638 |
-
WHERE display_name = %s", $comment['user'] ) );
|
3639 |
|
3640 |
// Accept this user if he is the only one with this display name
|
3641 |
if ( count( $usr ) != 1 ) {
|
@@ -3714,10 +3714,10 @@ global $wpdb;
|
|
3714 |
$result .= wppa_html( esc_js( wppa_moderate_links( 'comment', $id, $comment['id'] ) ) );
|
3715 |
}
|
3716 |
}
|
3717 |
-
elseif ( $comment['status'] == 'pending' && $comment['user'] == wppa( 'comment_user' ) ) {
|
3718 |
$result .= '<br /><span style="color:red; font-size:9px;" >'.__( 'Awaiting moderation', 'wp-photo-album-plus' ).'</span>';
|
3719 |
}
|
3720 |
-
elseif ( $comment['status'] == 'spam' && $comment['user'] == wppa( 'comment_user' ) ) {
|
3721 |
$result .= '<br /><span style="color:red; font-size:9px;" >'.__( 'Marked as spam', 'wp-photo-album-plus' ).'</span>';
|
3722 |
}
|
3723 |
|
@@ -3814,7 +3814,7 @@ global $wpdb;
|
|
3814 |
' type="text"' .
|
3815 |
' name="wppa-comname"' .
|
3816 |
' id="wppa-comname-' . wppa( 'mocc' ) . '"' .
|
3817 |
-
' style="width:100%; " value="' . wppa( 'comment_user' ) . '"' .
|
3818 |
' />' .
|
3819 |
'</td>' .
|
3820 |
'</tr>';
|
@@ -3838,7 +3838,7 @@ global $wpdb;
|
|
3838 |
|
3839 |
$result .= '<tr valign="top" style="vertical-align:top;">' .
|
3840 |
'<td valign="top" class="wppa-box-text wppa-td" style="vertical-align:top; width:30%;background-color:transparent;'.wppa_wcs( 'wppa-box-text' ).wppa_wcs( 'wppa-td' ).'" >' .
|
3841 |
-
__( 'Your comment:', 'wp-photo-album-plus' ) . '<br />' . wppa( 'comment_user' ) . '<br />';
|
3842 |
if ( ( is_user_logged_in() && wppa_opt( 'comment_captcha' ) == 'all' ) ||
|
3843 |
( ! is_user_logged_in() && wppa_opt( 'comment_captcha' ) != 'none' ) ) {
|
3844 |
$wid = '20%';
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Various wppa boxes
|
6 |
+
* Version 7.2.08
|
7 |
*
|
8 |
*/
|
9 |
|
343 |
// If no placeholder in form_core, add it
|
344 |
if ( strpos( $form_core, 'placeholder' ) === false ) {
|
345 |
if ( strpos( $form_core, 'name="wppa-searchstring"' ) !== false ) {
|
346 |
+
$form_core = str_replace( 'name="wppa-searchstring"', 'name="wppa-searchstring" placeholder="' . esc_attr( wppa_opt( 'search_placeholder' ) ) . '" ', $form_core );
|
347 |
}
|
348 |
}
|
349 |
|
3583 |
current_user_can( 'wppa_moderate' ) ||
|
3584 |
current_user_can( 'wppa_comments' ) ||
|
3585 |
( ( $comment['status'] == 'pending' || $comment['status'] == 'spam' ) &&
|
3586 |
+
stripslashes( $comment['user'] ) == wppa( 'comment_user' )
|
3587 |
)
|
3588 |
) {
|
3589 |
$n_comments++;
|
3598 |
' class="wppa-box-text wppa-td"' .
|
3599 |
' style="vertical-align:top; width:30%; border-width: 0 0 0 0; '.wppa_wcs( 'wppa-box-text' ).wppa_wcs( 'wppa-td' ).'"' .
|
3600 |
' >' .
|
3601 |
+
( wppa_switch( 'domain_link_buddypress' ) ? wppa_bp_userlink( $comment['email'], false, true ) : esc_js( $comment['user'] ) ) .
|
3602 |
' ' . __( 'wrote:', 'wp-photo-album-plus' ) .
|
3603 |
'<br />' .
|
3604 |
'<span style="font-size:9px; ">' .
|
3629 |
|
3630 |
// If not found, try to find the user by login name ( works only if login name is equal to display name )
|
3631 |
if ( ! $usr ) {
|
3632 |
+
$usr = wppa_get_user_by( 'login', stripslashes( $comment['user'] ) );
|
3633 |
}
|
3634 |
|
3635 |
// Still no user, try to find him by display name
|
3636 |
if ( ! $usr ) {
|
3637 |
$usr = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM $wpdb->users
|
3638 |
+
WHERE display_name = %s", stripslashes( $comment['user'] ) ) );
|
3639 |
|
3640 |
// Accept this user if he is the only one with this display name
|
3641 |
if ( count( $usr ) != 1 ) {
|
3714 |
$result .= wppa_html( esc_js( wppa_moderate_links( 'comment', $id, $comment['id'] ) ) );
|
3715 |
}
|
3716 |
}
|
3717 |
+
elseif ( $comment['status'] == 'pending' && stripslashes( $comment['user'] ) == wppa( 'comment_user' ) ) {
|
3718 |
$result .= '<br /><span style="color:red; font-size:9px;" >'.__( 'Awaiting moderation', 'wp-photo-album-plus' ).'</span>';
|
3719 |
}
|
3720 |
+
elseif ( $comment['status'] == 'spam' && stripslashes( $comment['user'] ) == wppa( 'comment_user' ) ) {
|
3721 |
$result .= '<br /><span style="color:red; font-size:9px;" >'.__( 'Marked as spam', 'wp-photo-album-plus' ).'</span>';
|
3722 |
}
|
3723 |
|
3814 |
' type="text"' .
|
3815 |
' name="wppa-comname"' .
|
3816 |
' id="wppa-comname-' . wppa( 'mocc' ) . '"' .
|
3817 |
+
' style="width:100%; " value="' . esc_js( wppa( 'comment_user' ) ) . '"' .
|
3818 |
' />' .
|
3819 |
'</td>' .
|
3820 |
'</tr>';
|
3838 |
|
3839 |
$result .= '<tr valign="top" style="vertical-align:top;">' .
|
3840 |
'<td valign="top" class="wppa-box-text wppa-td" style="vertical-align:top; width:30%;background-color:transparent;'.wppa_wcs( 'wppa-box-text' ).wppa_wcs( 'wppa-td' ).'" >' .
|
3841 |
+
__( 'Your comment:', 'wp-photo-album-plus' ) . '<br />' . esc_js( wppa( 'comment_user' ) ) . '<br />';
|
3842 |
if ( ( is_user_logged_in() && wppa_opt( 'comment_captcha' ) == 'all' ) ||
|
3843 |
( ! is_user_logged_in() && wppa_opt( 'comment_captcha' ) != 'none' ) ) {
|
3844 |
$wid = '20%';
|
wppa-comment-admin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* manage all comments
|
6 |
-
* Version 7.2.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -68,7 +68,7 @@ class WPPA_Comment_table extends WP_List_Table {
|
|
68 |
|
69 |
function column_user( $item ) {
|
70 |
|
71 |
-
return $item['user'] . '<br />' . $item['ip'];
|
72 |
}
|
73 |
|
74 |
function column_timestamp( $item ) {
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* manage all comments
|
6 |
+
* Version 7.2.08
|
7 |
*
|
8 |
*/
|
9 |
|
68 |
|
69 |
function column_user( $item ) {
|
70 |
|
71 |
+
return stripslashes( $item['user'] ) . '<br />' . $item['ip'];
|
72 |
}
|
73 |
|
74 |
function column_timestamp( $item ) {
|
wppa-dashboard-widgets.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* Contains dashboard widgets code
|
6 |
*
|
7 |
-
* Version 7.
|
8 |
*
|
9 |
*/
|
10 |
|
@@ -287,7 +287,7 @@ global $wpdb;
|
|
287 |
'<a href="' . esc_url( $href ) . '" target="_blank" >';
|
288 |
|
289 |
if ( wppa_is_video( $id ) ) {
|
290 |
-
echo
|
291 |
'<div style="position:relative;" >';
|
292 |
echo wppa_get_video_html( array( 'id' => $id,
|
293 |
'width' => '50',
|
@@ -297,7 +297,7 @@ global $wpdb;
|
|
297 |
'autoplay' => false
|
298 |
) );
|
299 |
$url = WPPA_UPLOAD_URL . '/icons/' . wppa_opt( 'video_icon' );
|
300 |
-
echo
|
301 |
'<img src="' . esc_url( $url ) . '" style="width:16px;height:16px;position:absolute;right:0;bottom:0;z-index:100;" />' .
|
302 |
'</div>';
|
303 |
}
|
@@ -361,12 +361,12 @@ global $wpdb;
|
|
361 |
'</a>' .
|
362 |
'</td>' .
|
363 |
'<td>';
|
364 |
-
$usr = wppa_get_user_by( 'login', $comment['user'] );
|
365 |
if ( $usr ) {
|
366 |
$usr = $usr->display_name;
|
367 |
}
|
368 |
else {
|
369 |
-
$usr = $comment['user'];
|
370 |
}
|
371 |
echo
|
372 |
'<i>' . sanitize_text_field( $comment['comment'] ) . '</i>' .
|
4 |
*
|
5 |
* Contains dashboard widgets code
|
6 |
*
|
7 |
+
* Version 7.2.08
|
8 |
*
|
9 |
*/
|
10 |
|
287 |
'<a href="' . esc_url( $href ) . '" target="_blank" >';
|
288 |
|
289 |
if ( wppa_is_video( $id ) ) {
|
290 |
+
echo
|
291 |
'<div style="position:relative;" >';
|
292 |
echo wppa_get_video_html( array( 'id' => $id,
|
293 |
'width' => '50',
|
297 |
'autoplay' => false
|
298 |
) );
|
299 |
$url = WPPA_UPLOAD_URL . '/icons/' . wppa_opt( 'video_icon' );
|
300 |
+
echo
|
301 |
'<img src="' . esc_url( $url ) . '" style="width:16px;height:16px;position:absolute;right:0;bottom:0;z-index:100;" />' .
|
302 |
'</div>';
|
303 |
}
|
361 |
'</a>' .
|
362 |
'</td>' .
|
363 |
'<td>';
|
364 |
+
$usr = wppa_get_user_by( 'login', stripslashes( $comment['user'] ) );
|
365 |
if ( $usr ) {
|
366 |
$usr = $usr->display_name;
|
367 |
}
|
368 |
else {
|
369 |
+
$usr = stripslashes( $comment['user'] );
|
370 |
}
|
371 |
echo
|
372 |
'<i>' . sanitize_text_field( $comment['comment'] ) . '</i>' .
|
wppa-filter.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* get the albums via shortcode handler
|
6 |
-
* Version 7.2.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -131,7 +131,7 @@ global $wppa_revno;
|
|
131 |
// Sanitize input
|
132 |
if ( $atts['alt'] && $atss['alt'] != 'none' ) $atts['alt'] = strval( intval( $atts['alt'] ) );
|
133 |
foreach ( array_keys( $atts ) as $key ) {
|
134 |
-
$atts[$key] =
|
135 |
}
|
136 |
|
137 |
// Init
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* get the albums via shortcode handler
|
6 |
+
* Version 7.2.08
|
7 |
*
|
8 |
*/
|
9 |
|
131 |
// Sanitize input
|
132 |
if ( $atts['alt'] && $atss['alt'] != 'none' ) $atts['alt'] = strval( intval( $atts['alt'] ) );
|
133 |
foreach ( array_keys( $atts ) as $key ) {
|
134 |
+
$atts[$key] = strip_tags( $atts[$key] );
|
135 |
}
|
136 |
|
137 |
// Init
|
wppa-links.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Frontend links
|
6 |
-
* Version 7.2.
|
7 |
*
|
8 |
*/
|
9 |
|
@@ -991,14 +991,16 @@ function wppa_moderate_links( $type, $id, $comid = '' ) {
|
|
991 |
break;
|
992 |
}
|
993 |
}
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
|
1000 |
-
|
1001 |
-
|
|
|
|
|
1002 |
return $result;
|
1003 |
}
|
1004 |
|
3 |
* Package: wp-photo-album-plus
|
4 |
*
|
5 |
* Frontend links
|
6 |
+
* Version 7.2.08
|
7 |
*
|
8 |
*/
|
9 |
|
991 |
break;
|
992 |
}
|
993 |
}
|
994 |
+
|
995 |
+
$the_id = $type == 'comment' ? $comid : $id;
|
996 |
+
|
997 |
+
if ( $type == 'comment' || $thumb['status'] != 'scheduled' ) {
|
998 |
+
$result .= '<div class="wppa-approve-'.$the_id.'" style="clear:both; color:red">'.__('Awaiting moderation', 'wp-photo-album-plus').'</div>';
|
999 |
+
}
|
1000 |
+
else {
|
1001 |
+
$result .= '<div class="wppa-approve-'.$the_id.'" style="clear:both; color:red">'.sprintf( __( 'Scheduled for %s' , 'wp-photo-album-plus'), wppa_format_scheduledtm( $thumb['scheduledtm'] ) ).'</div>';
|
1002 |
+
}
|
1003 |
+
|
1004 |
return $result;
|
1005 |
}
|
1006 |
|
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.08.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/
|
22 |
global $wp_version;
|
23 |
|
24 |
/* WPPA GLOBALS */
|
25 |
+
global $wppa_revno; $wppa_revno = '7208'; // WPPA db version
|
26 |
+
global $wppa_api_version; $wppa_api_version = '7.2.08.003'; // WPPA software version
|
27 |
|
28 |
/* Init page js data */
|
29 |
global $wppa_js_page_data; $wppa_js_page_data = '';
|