Gwolle Guestbook - Version 2.5.4

Version Description

  • 2018-06-06
  • Fix XSS security issue on admin dashboard widget (thanks DefenseCode).
Download this release

Release Info

Developer mpol
Plugin Icon 128x128 Gwolle Guestbook
Version 2.5.4
Comparing to
See all releases

Code changes from version 2.5.3 to 2.5.4

Files changed (3) hide show
  1. admin/gb-dashboard-widget.php +4 -4
  2. gwolle-gb.php +2 -2
  3. readme.txt +5 -1
admin/gb-dashboard-widget.php CHANGED
@@ -12,7 +12,7 @@ if ( strpos($_SERVER['PHP_SELF'], basename(__FILE__) )) {
12
  */
13
  function gwolle_gb_dashboard() {
14
 
15
- if ( function_exists('current_user_can') && !current_user_can('moderate_comments') ) {
16
  return;
17
  }
18
 
@@ -147,9 +147,9 @@ function gwolle_gb_dashboard() {
147
 
148
  </div>
149
  <p class="textright">
150
- <a href="<?php echo $_SERVER['PHP_SELF']; ?>" class="button"><?php esc_html_e('Refresh', 'gwolle-gb'); ?></a>
151
- <a href="admin.php?page=<?php echo GWOLLE_GB_FOLDER; ?>/entries.php&amp;show=all" class="button button-primary"><?php esc_html_e('View all', 'gwolle-gb'); ?></a>
152
- <a href="admin.php?page=<?php echo GWOLLE_GB_FOLDER; ?>/entries.php&amp;show=unchecked" class="button button-primary"><?php esc_html_e('View new', 'gwolle-gb'); ?></a>
153
  </p><?php
154
  } else {
155
  echo '<p>' . esc_html__('No new and unchecked guestbook entries.', 'gwolle-gb') . '</p>';
12
  */
13
  function gwolle_gb_dashboard() {
14
 
15
+ if ( function_exists('current_user_can') && ! current_user_can('moderate_comments') ) {
16
  return;
17
  }
18
 
147
 
148
  </div>
149
  <p class="textright">
150
+ <a href="<?php echo admin_url( 'index.php' ); ?>" class="button"><?php esc_html_e('Refresh', 'gwolle-gb'); ?></a>
151
+ <a href="<?php echo admin_url( 'admin.php?page=' . GWOLLE_GB_FOLDER . '/entries.php&amp;show=all' ); ?>" class="button button-primary"><?php esc_html_e('View all', 'gwolle-gb'); ?></a>
152
+ <a href="<?php echo admin_url( 'admin.php?page=' . GWOLLE_GB_FOLDER . '/entries.php&amp;show=unchecked' ); ?>" class="button button-primary"><?php esc_html_e('View new', 'gwolle-gb'); ?></a>
153
  </p><?php
154
  } else {
155
  echo '<p>' . esc_html__('No new and unchecked guestbook entries.', 'gwolle-gb') . '</p>';
gwolle-gb.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Gwolle Guestbook
4
  Plugin URI: http://zenoweb.nl
5
  Description: Gwolle Guestbook is not just another guestbook for WordPress. The goal is to provide an easy and slim way to integrate a guestbook into your WordPress powered site. Don't use your 'comment' section the wrong way - install Gwolle Guestbook and have a real guestbook.
6
- Version: 2.5.3
7
  Author: Marcel Pol
8
  Author URI: http://zenoweb.nl
9
  License: GPLv2 or later
@@ -32,7 +32,7 @@ Domain Path: /lang/
32
 
33
 
34
  // Plugin Version
35
- define('GWOLLE_GB_VER', '2.5.3');
36
 
37
 
38
  /*
3
  Plugin Name: Gwolle Guestbook
4
  Plugin URI: http://zenoweb.nl
5
  Description: Gwolle Guestbook is not just another guestbook for WordPress. The goal is to provide an easy and slim way to integrate a guestbook into your WordPress powered site. Don't use your 'comment' section the wrong way - install Gwolle Guestbook and have a real guestbook.
6
+ Version: 2.5.4
7
  Author: Marcel Pol
8
  Author URI: http://zenoweb.nl
9
  License: GPLv2 or later
32
 
33
 
34
  // Plugin Version
35
+ define('GWOLLE_GB_VER', '2.5.4');
36
 
37
 
38
  /*
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Gwolle, mpol
3
  Tags: guestbook, guest book, livre d'or, Gästebuch, review
4
  Requires at least: 3.7
5
  Tested up to: 4.9
6
- Stable tag: 2.5.3
7
  License: GPLv2 or later
8
 
9
  Gwolle Guestbook is the WordPress guestbook you've just been looking for. Beautiful and easy.
@@ -405,6 +405,10 @@ But if you don't use standard comments, you can just as easily use the comment s
405
 
406
  == Changelog ==
407
 
 
 
 
 
408
  = 2.5.3 =
409
  * 2018-06-04
410
  * Better testing if anti-spam functions are enabled when checking the form input.
3
  Tags: guestbook, guest book, livre d'or, Gästebuch, review
4
  Requires at least: 3.7
5
  Tested up to: 4.9
6
+ Stable tag: 2.5.4
7
  License: GPLv2 or later
8
 
9
  Gwolle Guestbook is the WordPress guestbook you've just been looking for. Beautiful and easy.
405
 
406
  == Changelog ==
407
 
408
+ = 2.5.4 =
409
+ * 2018-06-06
410
+ * Fix XSS security issue on admin dashboard widget (thanks DefenseCode).
411
+
412
  = 2.5.3 =
413
  * 2018-06-04
414
  * Better testing if anti-spam functions are enabled when checking the form input.