Gwolle Guestbook - Version 4.0.1

Version Description

  • 2020-05-04
  • Fix emoji in frontend form.
  • Set timestamp in editor to hidden again.
  • Make some CSS more specific.
Download this release

Release Info

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

Code changes from version 4.0.0 to 4.0.1

admin/gb-page-editor.php CHANGED
@@ -507,7 +507,7 @@ function gwolle_gb_editor_meta_inputs( $entry ) {
507
 
508
  <div class="gwolle_gb_timestamp">
509
  <!-- Clicking OK will place a local timestamp here. -->
510
- <input type="text" id="gwolle_gb_timestamp" name="gwolle_gb_timestamp" value="" />
511
  </div>
512
  </div>
513
 
507
 
508
  <div class="gwolle_gb_timestamp">
509
  <!-- Clicking OK will place a local timestamp here. -->
510
+ <input type="hidden" id="gwolle_gb_timestamp" name="gwolle_gb_timestamp" value="" />
511
  </div>
512
  </div>
513
 
frontend/css/gwolle-gb-frontend.css CHANGED
@@ -33,7 +33,7 @@
33
  text-align: left;
34
  }
35
 
36
- button.gb-notice-dismiss {
37
  position: absolute;
38
  top: 0;
39
  right: 1px;
33
  text-align: left;
34
  }
35
 
36
+ html body div.gwolle-gb form.gwolle-gb-write button.gb-notice-dismiss {
37
  position: absolute;
38
  top: 0;
39
  right: 1px;
frontend/markitup/jquery.markitup.js CHANGED
@@ -699,7 +699,16 @@ jQuery(document).ready(function() {
699
  jQuery('#gwolle_gb_editor textarea#gwolle_gb_admin_reply').markItUp(marktitup_mySettings);
700
 
701
 
702
- /* Slide the Emoji rows (frontend, main editor) */
 
 
 
 
 
 
 
 
 
703
  jQuery( '#markItUpGwolle_gb_content li.markItUpButton.emoji a' ).click(function() {
704
  if ( jQuery('.gwolle_gb_emoji').css('display') == 'none' ) {
705
  jQuery('.gwolle_gb_emoji').slideDown("slow");
@@ -717,7 +726,14 @@ jQuery(document).ready(function() {
717
  });
718
 
719
 
720
- /* Insert the Emoji symbol (frontend, main editor) */
 
 
 
 
 
 
 
721
  jQuery('.gwolle_gb_emoji a').click(function() {
722
  emoticon = jQuery(this).attr("title");
723
  jQuery.markItUp( { target:'#gwolle_gb_content', replaceWith:emoticon } );
699
  jQuery('#gwolle_gb_editor textarea#gwolle_gb_admin_reply').markItUp(marktitup_mySettings);
700
 
701
 
702
+ /* Slide the Emoji rows (frontend) */
703
+ jQuery( '.gwolle-gb-write li.markItUpButton.emoji a' ).click(function() {
704
+ var form = jQuery(this).closest('form.gwolle-gb-write');
705
+ if ( jQuery('.gwolle_gb_emoji').css('display') == 'none' ) {
706
+ jQuery('.gwolle_gb_emoji', form).slideDown("slow");
707
+ } else {
708
+ jQuery('.gwolle_gb_emoji', form).slideUp("slow");
709
+ }
710
+ });
711
+ /* Slide the Emoji rows (main editor) */
712
  jQuery( '#markItUpGwolle_gb_content li.markItUpButton.emoji a' ).click(function() {
713
  if ( jQuery('.gwolle_gb_emoji').css('display') == 'none' ) {
714
  jQuery('.gwolle_gb_emoji').slideDown("slow");
726
  });
727
 
728
 
729
+ /* Insert the Emoji symbol (frontend) */
730
+ jQuery('.gwolle_gb_emoji a').click(function() {
731
+ var form = jQuery(this).closest('form.gwolle-gb-write');
732
+ var target = jQuery('.gwolle_gb_content', form);
733
+ emoticon = jQuery(this).attr("title");
734
+ jQuery.markItUp( { target:target, replaceWith:emoticon } );
735
+ });
736
+ /* Insert the Emoji symbol (main editor) */
737
  jQuery('.gwolle_gb_emoji a').click(function() {
738
  emoticon = jQuery(this).attr("title");
739
  jQuery.markItUp( { target:'#gwolle_gb_content', replaceWith:emoticon } );
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.0
7
  Author: Marcel Pol
8
  Author URI: https://timelord.nl
9
  License: GPLv2 or later
@@ -32,7 +32,7 @@ Domain Path: /lang/
32
 
33
 
34
  // Plugin Version
35
- define('GWOLLE_GB_VER', '4.0.0');
36
 
37
 
38
  /*
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.1
7
  Author: Marcel Pol
8
  Author URI: https://timelord.nl
9
  License: GPLv2 or later
32
 
33
 
34
  // Plugin Version
35
+ define('GWOLLE_GB_VER', '4.0.1');
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: 5.4
6
- Stable tag: 4.0.0
7
  License: GPLv2 or later
8
  Requires PHP: 5.3
9
 
@@ -422,6 +422,13 @@ But if you don't use standard comments, you can just as easily use the comment s
422
 
423
  == Changelog ==
424
 
 
 
 
 
 
 
 
425
  = 4.0.0 =
426
  * 2020-04-28
427
  * Many CSS ids and classes have changed, please review your custom CSS.
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: 4.0.1
7
  License: GPLv2 or later
8
  Requires PHP: 5.3
9
 
422
 
423
  == Changelog ==
424
 
425
+ = 4.0.1 =
426
+ * 2020-05-04
427
+ * Fix emoji in frontend form.
428
+ * Set timestamp in editor to hidden again.
429
+ * Make some CSS more specific.
430
+
431
+
432
  = 4.0.0 =
433
  * 2020-04-28
434
  * Many CSS ids and classes have changed, please review your custom CSS.