Version Description
- 2020-02-01
- Fix undefined variable notice (thanks ronr1999).
- Add 'float:none;' to frontend button.
Download this release
Release Info
Developer | mpol |
Plugin | Gwolle Guestbook |
Version | 3.1.9 |
Comparing to | |
See all releases |
Code changes from version 3.1.8 to 3.1.9
- frontend/css/gwolle-gb-frontend.css +4 -1
- frontend/gwolle_gb-entry.php +1 -1
- gwolle-gb.php +3 -3
- readme.txt +8 -3
frontend/css/gwolle-gb-frontend.css
CHANGED
@@ -22,7 +22,10 @@
|
|
22 |
#gwolle-gb-write-button {
|
23 |
margin: 20px 0 10px;
|
24 |
}
|
25 |
-
|
|
|
|
|
|
|
26 |
|
27 |
/* Write section */
|
28 |
|
22 |
#gwolle-gb-write-button {
|
23 |
margin: 20px 0 10px;
|
24 |
}
|
25 |
+
#gwolle_gb_write_button input.button,
|
26 |
+
#gwolle-gb-write-button input.button {
|
27 |
+
float: none; /* To avoid problems with too invasive themes. */
|
28 |
+
}
|
29 |
|
30 |
/* Write section */
|
31 |
|
frontend/gwolle_gb-entry.php
CHANGED
@@ -123,7 +123,7 @@ if ( ! function_exists('gwolle_gb_entry_template') ) {
|
|
123 |
|
124 |
$real_content = gwolle_gb_sanitize_output( $entry->get_content(), 'content' );
|
125 |
// This filters the real content of the entry.
|
126 |
-
$entry_content
|
127 |
|
128 |
if ( get_option( 'gwolle_gb-showLineBreaks', 'false' ) === 'true' ) {
|
129 |
$entry_content = nl2br($entry_content);
|
123 |
|
124 |
$real_content = gwolle_gb_sanitize_output( $entry->get_content(), 'content' );
|
125 |
// This filters the real content of the entry.
|
126 |
+
$entry_content = apply_filters( 'gwolle_gb_entry_the_content', $real_content, $entry );
|
127 |
|
128 |
if ( get_option( 'gwolle_gb-showLineBreaks', 'false' ) === 'true' ) {
|
129 |
$entry_content = nl2br($entry_content);
|
gwolle-gb.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Gwolle Guestbook
|
4 |
-
Plugin URI:
|
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: 3.1.
|
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', '3.1.
|
36 |
|
37 |
|
38 |
/*
|
1 |
<?php
|
2 |
/*
|
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: 3.1.9
|
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', '3.1.9');
|
36 |
|
37 |
|
38 |
/*
|
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.
|
6 |
-
Stable tag: 3.1.
|
7 |
License: GPLv2 or later
|
8 |
Requires PHP: 5.3
|
9 |
|
@@ -203,7 +203,7 @@ The next lines are made up of the content.
|
|
203 |
|
204 |
There are some gotchas:
|
205 |
|
206 |
-
* Date needs to be a UNIX timestamp. For manually creating a timestamp, look at the [timestamp generator](http://www.timestampgenerator.com/). When using a formatted date, the plugin will try to read it correctly. If it fails it will use today's date.
|
207 |
* Use commas for field separators. If you use Office software like Excel (which is hell) or LibreOffice Calc, set this correctly.
|
208 |
* Use double quotes around each field. When no quotes are used the import process can break when having quotes or commas inside the content of the entry.
|
209 |
* The file should be encoded as UTF-8 without BOM to correctly enter special characters.
|
@@ -428,6 +428,11 @@ But if you don't use standard comments, you can just as easily use the comment s
|
|
428 |
|
429 |
== Changelog ==
|
430 |
|
|
|
|
|
|
|
|
|
|
|
431 |
= 3.1.8 =
|
432 |
* 2020-01-21
|
433 |
* Add highlight to search results (thanks @robinnatter).
|
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.4
|
6 |
+
Stable tag: 3.1.9
|
7 |
License: GPLv2 or later
|
8 |
Requires PHP: 5.3
|
9 |
|
203 |
|
204 |
There are some gotchas:
|
205 |
|
206 |
+
* Date needs to be a UNIX timestamp. For manually creating a timestamp, look at the [timestamp generator](http://www.timestampgenerator.com/). When using a [formatted date](https://www.php.net/manual/en/datetime.formats.date.php), the plugin will try to read it correctly. If it fails it will use today's date.
|
207 |
* Use commas for field separators. If you use Office software like Excel (which is hell) or LibreOffice Calc, set this correctly.
|
208 |
* Use double quotes around each field. When no quotes are used the import process can break when having quotes or commas inside the content of the entry.
|
209 |
* The file should be encoded as UTF-8 without BOM to correctly enter special characters.
|
428 |
|
429 |
== Changelog ==
|
430 |
|
431 |
+
= 3.1.9 =
|
432 |
+
* 2020-02-01
|
433 |
+
* Fix undefined variable notice (thanks ronr1999).
|
434 |
+
* Add 'float:none;' to frontend button.
|
435 |
+
|
436 |
= 3.1.8 =
|
437 |
* 2020-01-21
|
438 |
* Add highlight to search results (thanks @robinnatter).
|