Skip to content

Commit

Permalink
add release notes, bump to 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
willnorris committed Jun 24, 2023
1 parent 8e959b7 commit 6508469
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
4 changes: 2 additions & 2 deletions comment-saver.php
Expand Up @@ -5,7 +5,7 @@
* Author: Will Norris
* Plugin URI: http://wordpress.org/extend/plugins/comment-saver/
* Author URI: http://willnorris.com/
* Version: 1.5
* Version: 1.6
* License: Dual GPL (http://www.fsf.org/licensing/licenses/info/GPLv2.html) and Modified BSD (http://www.fsf.org/licensing/licenses/index_html#ModifiedBSD)
*
* @package comment-saver
Expand All @@ -31,7 +31,7 @@ function comment_saver_js() {
return;
}

wp_enqueue_script( 'comment-saver', plugin_dir_url( __FILE__ ) . 'comment-saver.js', array(), '1.4', true );
wp_enqueue_script( 'comment-saver', plugin_dir_url( __FILE__ ) . 'comment-saver.js', array(), '1.6', true );
wp_localize_script(
'comment-saver',
'comment_saver_cookie',
Expand Down
17 changes: 13 additions & 4 deletions readme.txt
Expand Up @@ -2,8 +2,8 @@
Contributors: willnorris
Tags: comments
Requires at least: 2.8
Tested up to: 2.8
Stable tag: 1.5
Tested up to: 6.2.2
Stable tag: 1.6

Save comment content in a cookie in case something goes wrong while posting.

Expand All @@ -16,7 +16,7 @@ if the user forgot to include their name and email address and those fields are
required, the comment may be lost on some browsers. When the user returns to
the comment form, Comment Saver will automatically populate the comment box if
the cookie is still set. It will remove the temporary cookie once the comment
has been successfully submitted, or after one hour.
has been successfully submitted, or after one hour.


== Installation ==
Expand All @@ -31,11 +31,20 @@ This plugin follows the [standard WordPress installation method][]:

== Changelog ==

= version 1.6 =
- fix wordpress.org publishing

= version 1.5 =
- all changes this release thanks to @meszarosrob
- fix PHP compatibility issues
- adhere to WordPress coding standards
- remove dependency on jQuery

= version 1.4 =
- load jQuery.cookie in footer (plugin now requires 2.8)
- don't call cookie stuff into jQuery ready

= version 1.3 =
= version 1.3 =
- use plugins_url (plugin now requires WP 2.6)
- code cleanup

Expand Down

0 comments on commit 6508469

Please sign in to comment.