=== Simple Comment Editing ===
Contributors: ronalfy
Tags: ajax, comments,edit comments, edit, comment, admin
Requires at least: 4.1
Tested up to: 4.9
Stable tag: 2.2.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://mediaron.com/contribute/
Simple Comment Editing for your website.
== Description ==
Simple Comment Editing gives anonymous users the ability to edit and/or delete their comments for a period of time.
[youtube https://www.youtube.com/watch?v=KfKTVzEdClw]
YouTube video review from WPBeginner.
Simple Comment Editing features:
- No options. Install the plugin. It just works.
- Anonymous users can edit comments for 5 minutes.
- No styling is necessary. For advanced customization, see the "Other Notes" section.
- Advanced customization can be achieved using filters.
Help Contribute
* Leave a star rating
* Contribute a translation
* Contribute some code
== Installation ==
1. Just unzip and upload the "simple-comment-editor" folder to your '/wp-content/plugins/' directory
2. Activate the plugin through the 'Plugins' menu in WordPress
== Frequently Asked Questions ==
= Why doesn't this plugin come with any styles? =
It's impossible to style an inline comment editor for every theme. We've included basic HTML markup that is easily stylable to fit your theme.
= Where are the options? =
No options :) - Just simple comment editing.
= How do I customize this plugin? =
For advanced options, please see the SCE Filter/Action reference.
== Screenshots ==
1. Edit button and timer.
2. Textarea and Save/Cancel buttons.
== Changelog ==
= 2.2.0 =
* Released 2018-10-13
* Allow logged in users (author of the post) to bypass the cookies needed for comment editing
= 2.1.11 =
* Released 2018-05-08
* Fixes a bug where a proxy server can give a different IP and prevent the user from editing
= 2.1.9 =
* Released 2018-02-09
* Fixes a bug when the comment is deleted even when canceling the confirmation
= 2.1.7 =
* Released 2017-11-15
* Added filter to remove the delete comment notifications
= 2.1.5 =
* Released 2017-01-20
* Resolving Epoch 1.0 conflict
= 2.1.3 =
* Released 2016-12-07
* Added Thesis compatibility
= 2.1.1 =
* Released 2016-10-18
* Re-added filter `sce_return_comment_text`
= 2.1.0 =
* Released 2016-09-17
* Post meta is no longer used and comment meta is used instead
= 2.0.0 =
* Released 2016-08-14
* Bug fix: Deletion filter now works in JS and in HTML output
* Bug fix: Changing comment time in filter resulted in undefined in JS output
* New filters: Allow changing of edit and save/cancel/delete buttons
* Epoch 2.0 compatible
= 1.9.4 =
* Released 2016-04-02
* Polish translation added
= 1.9.3 =
* Released 2016-03-23
* Fixes issue where Ajax call wouldn't work on non-SSL site but SSL admin
* Resolves double query issue with Epoch
* Resolves comment ghosting with Epoch
= 1.9.1 =
* Released 2015-11-04
* Added minified script for events hooks
= 1.9.0 =
* Released 2015-10-27
* Timer now shows below save/cancel/delete buttons for convenience
= 1.8.5 =
* Released 2015-10-21
* Fixed Portuguese translation (thanks Marco Santos)
* Added Lithuanian translation
* Fixed timer scroll issue where the delay was too long (thanks MamasLT)
= 1.8.3 =
* Released 2015-10-20
* Fixing user logged in issue where unusual timer values are being shown, and the comment appears editable, but is not
= 1.8.1 =
* Released 2015-10-12
* Logged in users who log out can no longer edit comments
* Added Delete button
* Updated translations for language packs
= 1.7.1 =
* Released 2015-09-26
* Fixed Epoch+SCE user logged in dilemma
= 1.7.0 =
* Released 2015-09-20
* Fixed timer issue on many sites. New JS hook for allowing customization of output.
= 1.6.7 =
* Released 2015-09-20
* Fixing PHP bug declaring fatal error for multiple class instances. Props volresource.
= 1.6.5 =
* Released 2015-09-17
* Fixing strings that are not replaced in the timer. Sorry I didn't catch this error.
= 1.6.1 =
* Released 2015-09-16
* Fixed undefined JavaScript errors in timer. Sorry about that.
= 1.6.0 =
* Released 2015-09-16
* Added filter for custom timer output
* Added support for logged in users to bypass cookie checks
* Added support for custom post types
= 1.5.5 =
* Released 2015-09-07
* Fixed return call to be better compatible with third-party customizations
* Added Latvian translation
* Revised WP Ajaxify Comments integration
= 1.5.3 =
* Released 2015-08-23
* Fixing PHP 5.2 error
= 1.5.1 =
* Released 2015-08-19
* Forgot to update minified JS
= 1.5.0 =
* Released 2015-08-19
* Adding hooks for the capability to add extra comment fields.
* Added Epoch compatibility.
* Added JS events so third-party plugins can integrate with SCE.
= 1.3.3 =
* Released 2015-07-22
* Fixing JavaScript error that prevented editing if a certain ID wasn't wrapped around a comment.
= 1.3.2 =
* Released 2015-07-13
* Added filter sce_can_edit for more control over who can or cannot edit a comment.
* Updated translations (Arabic, Dutch, French, German, Norwegian, Persian, Portuguese, Romanian, Russian, Serbian, Spanish, and Swedish).
= 1.3.1 =
* Released 2015-06-26
* Fixed debug error that stated there were two few arguments when there was a percentage sign (%) in a comment. Thank you bernie-simon.
= 1.3.0 =
* Released 2015-06-18
* Improved timer internationalization to accept languages with plurality variations (e.g., Russian)
* Added Russian translation
* Improved the timer to be significantly more accurate
* Added filters to the SCE HTML in order to add custom attributes
* Improved inline documentation
* Added smooth scrolling to the comment after a page load
= 1.2.4 =
* Updated 2015-04-19 - Ensuring WordPress 4.2 compatibility
* Released 2015-02-04
* Added status error message area
* Added filter for custom error messages when saving a comment
= 1.2.2 =
* Updated 2014-12-11 - Ensuring WordPress 4.1 compatibility
* Released 2014-09-02
* Added Romanian language
* Added French language
* Added Dutch language
* Added better support for cached pages
* Fixed a bug where cached pages showed other users they could edit a comment, but in reality, they could not (saving would have failed, so this is not a severe security problem, although upgrading is highly recommended).
= 1.2.1 =
* Released 2014-08-27
* Added Arabic and Czech languages
* Ensuring WordPress 4.0 compatibility
= 1.2.0 =
* Released 2014-05-13
* Added Swedish translation
* Added better support for internationalization
* Removed barrier for admins/editors/authors to edit comments
= 1.1.2 =
* Released 2014-04-14
* Added support for WP-Ajaxify-Comments
= 1.1.1 =
* Released 2014-02-06
* Fixed an error where users were erroneously being told their comment was marked as spam
= 1.1.0 =
* Released 2014-02-05
* Added JavaScript textarea save states when hitting the cancel button
* Allow commenters to delete their comments when they leave an empty comment
= 1.0.7 =
* Released 2013-09-15
* Added Persian translation file
= 1.0.6 =
* Released 2013-09-12
* Added Serbian translation file
= 1.0.5 =
* Released 2013-09-12
* Added Portuguese translation file
= 1.0.4 =
* Released 2013-09-06
* Added German translation file
= 1.0.3 =
* Released 2013-08-23
* Fixed slashes being removed in the plugin
= 1.0.2 =
* Released 2013-08-05
* Fixed an internationalization bug and added Norwegian translations.
= 1.0.1 =
* Released 2013-08-05
* Improved script loading performance
= 1.0 =
* Initial release.
== Upgrade Notice ==
= 2.0.0 =
Allow logged in users (author of the post) t
== Customization ==
For advanced options, please see the SCE Filter/Action reference.