Gwolle Guestbook - Version 4.0.8

Version Description

  • 2020-10-21
  • Security fix: always escape formdata in 'gwolle_gb_add_formdata()'.
  • Thanks Nicolas SURRIBAS.
Download this release

Release Info

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

Code changes from version 4.0.7 to 4.0.8

Files changed (3) hide show
  1. functions/gb-messages.php +1 -1
  2. gwolle-gb.php +3 -2
  3. readme.txt +12 -4
functions/gb-messages.php CHANGED
@@ -186,7 +186,7 @@ function gwolle_gb_add_formdata( $field = false, $value = false ) {
186
  }
187
 
188
  if ( $field && $value ) {
189
- $gwolle_gb_formdata["$field"] = $value;
190
  }
191
 
192
  return $gwolle_gb_formdata;
186
  }
187
 
188
  if ( $field && $value ) {
189
+ $gwolle_gb_formdata["$field"] = esc_attr( $value );
190
  }
191
 
192
  return $gwolle_gb_formdata;
gwolle-gb.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Gwolle Guestbook
4
  Plugin URI: https://wordpress.org/plugins/gwolle-gb/
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: 4.0.7
7
  Author: Marcel Pol
8
  Author URI: https://zenoweb.nl
9
  License: GPLv2 or later
@@ -31,7 +31,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31
 
32
 
33
  // Plugin Version
34
- define('GWOLLE_GB_VER', '4.0.7');
35
 
36
 
37
  /*
@@ -62,6 +62,7 @@ define('GWOLLE_GB_VER', '4.0.7');
62
  * - Use select2 or similar for subscribe/unsubcribe dropdowns.
63
  * - On one-page-design, paging doesn't work correctly in Chrome:
64
  * https://wordpress.org/support/topic/problem-of-text-selection-in-gwolle-guestbook/
 
65
  *
66
  */
67
 
3
  Plugin Name: Gwolle Guestbook
4
  Plugin URI: https://wordpress.org/plugins/gwolle-gb/
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: 4.0.8
7
  Author: Marcel Pol
8
  Author URI: https://zenoweb.nl
9
  License: GPLv2 or later
31
 
32
 
33
  // Plugin Version
34
+ define('GWOLLE_GB_VER', '4.0.8');
35
 
36
 
37
  /*
62
  * - Use select2 or similar for subscribe/unsubcribe dropdowns.
63
  * - On one-page-design, paging doesn't work correctly in Chrome:
64
  * https://wordpress.org/support/topic/problem-of-text-selection-in-gwolle-guestbook/
65
+ * - Clear page cache for Autoptimize.
66
  *
67
  */
68
 
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: Gwolle, mpol
3
  Tags: guestbook, guest book, livre d'or, Gästebuch, review
4
  Requires at least: 3.7
5
- Tested up to: 5.5
6
- Stable tag: 4.0.7
7
  License: GPLv2 or later
8
  Requires PHP: 5.3
9
 
@@ -392,9 +392,12 @@ If you have a need for an additional hook, please request this in the support fo
392
 
393
  First, this plugin is a guestbook. If you want to use it for a different usecase, you will need to do that in code.
394
  Take a look at the previous question about hooks.
395
- You are probably wanting to use the hooks for 'gwolle_gb_write' and 'gwolle_gb_button'.
396
 
397
- This question gets asked a lot. You can also take a look at the [support forum](https://wordpress.org/support/topic/change-button-text-20/). Also, the add-on has options for text changes.
 
 
 
398
 
399
  = I have a one-page design and want to use links with the right anchor. =
400
 
@@ -421,6 +424,11 @@ But if you don't use standard comments, you can just as easily use the comment s
421
 
422
  == Changelog ==
423
 
 
 
 
 
 
424
  = 4.0.7 =
425
  * 2020-10-06
426
  * Remove placeholders in form, labels should be enough.
2
  Contributors: Gwolle, mpol
3
  Tags: guestbook, guest book, livre d'or, Gästebuch, review
4
  Requires at least: 3.7
5
+ Tested up to: 5.6
6
+ Stable tag: 4.0.8
7
  License: GPLv2 or later
8
  Requires PHP: 5.3
9
 
392
 
393
  First, this plugin is a guestbook. If you want to use it for a different usecase, you will need to do that in code.
394
  Take a look at the previous question about hooks.
395
+ You are probably wanting to use these two hooks:
396
 
397
+ * [gwolle_gb_write](https://plugins.trac.wordpress.org/browser/gwolle-gb/trunk/docs/filters/gwolle_gb_write.txt)
398
+ * [gwolle_gb_button](https://plugins.trac.wordpress.org/browser/gwolle-gb/trunk/docs/filters/gwolle_gb_button.txt)
399
+
400
+ Also, the add-on has options for text changes.
401
 
402
  = I have a one-page design and want to use links with the right anchor. =
403
 
424
 
425
  == Changelog ==
426
 
427
+ = 4.0.8 =
428
+ * 2020-10-21
429
+ * Security fix: always escape formdata in 'gwolle_gb_add_formdata()'.
430
+ * Thanks [Nicolas SURRIBAS](http://devloop.users.sourceforge.net/index.php?article217/one-crazy-month-of-web-vulnerability-scanning).
431
+
432
  = 4.0.7 =
433
  * 2020-10-06
434
  * Remove placeholders in form, labels should be enough.