forked from DLXPlugins/simple-comment-editing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
399 lines (306 loc) · 11.6 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
=== Simple Comment Editing ===
Contributors: ronalfy
Tags: comment editing, comments,edit comments, edit, comment,
Requires at least: 5.0
Tested up to: 5.8
Stable tag: 2.7.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://mediaron.com/give/
Supercharge your comment section and allow your users to edit their comments for a period of time.
== Description ==
Supercharge your comment section and allow your users to edit their comments for a period of time. Save your users some headaches and let them fix their typos while you take a backseat and relax.
[youtube https://www.youtube.com/watch?v=bNCDdQbwA-s&rel=0]
Simple Comment Editing features:
<ol>
<li>Install the plugin. That's it. It just works.
<li>Anonymous users can edit comments for 5 minutes.</li>
<li>No styling is necessary. For advanced customization, see the "Other Notes" section.</li>
<li>Advanced customization can be achieved using filters.</li>
</ol>
For additional features in addition to comment editing, please check out <a href="https://mediaron.com/simple-comment-editing-options">SCE Options</a>. You can download a 1-site license for free.
== 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.
With <a href="https://mediaron.com/simple-comment-editing-options">Simple Comment Editing Options</a>, you can choose between three themes.
= Where are the options? =
No options :) - Just simple comment editing. If you prefer options, try out the paid add-on <a href="https://mediaron.com/simple-comment-editing-options">Simple Comment Editing Options</a>.
= How do I customize this plugin? =
For advanced options, please see the <a href="https://github.com/ronalfy/simple-comment-editing#wordpress-filters">SCE Filter/Action reference</a> or get <a href="https://mediaron.com/simple-comment-editing-options">Simple Comment Editing Options</a>.
= What browsers have you tested this with? =
Simple Comment Editing will work all the way back to IE10.
== Screenshots ==
1. Edit Button and Timer.
2. Styled Buttons and Compact Timer.
3. Default button theme.
4. Dark button theme.
5. Light button theme.
== Changelog ==
= 2.7.1 =
* Released 2021-07-02
* Added in a filter for better IP tracking when editing a comment. Props <a href="https://wordpress.org/support/users/tim-reeves/">Tim Reeves</a> for the fix.
= 2.7.0 =
* Released 2021-06-03
* New option: timer can now be compact (e.g., 41:15).
* New option: button themes.
* Using new comment check function name if it exists.
* Correcting typo in admin options.
* Basic styling for edit buttons.
= 2.6.1 =
* Released 2021-06-02
* Fix admin styling.
* Fixing timer for > 5 minutes.
= 2.6.0 =
* Released 2021-05-30
* New admin panel style in anticipation of a few more feature additions.
= 2.5.5 =
* Released 2021-04-25
* Added new filters to allow comment deletion only.
= 2.5.1 =
* Released 2020-04-28
* Fixing undefined variable error.
= 2.5.0 =
* Released 2020-04-26
* Unlimited logged-in comment was always failing.
= 2.4.6 =
* Released 2020-02-17
* Fixing WSOD error with incompatible PHP7 syntax.
= 2.4.5 =
* Released 2020-02-16
* Added better support for multisite.
= 2.4.2 =
* Released 2020-01-13
* Added hook for when the editing dialog is displayed.
= 2.4.1 =
* Released 2019-12-18
* Fix: Users (logged in) can now edit their comments.
* Fix: Removing ability of authors to see edited-enabled comments.
= 2.4.0 =
* Released 2019-12-13
* Fix: Users could not edit comments.
= 2.3.14 =
* Released 2019-12-11
* Removing ability of authors to see edited-enabled comments.
= 2.3.12 =
* Released 2019-12-08
* Fixing translation errors for Russian language.
= 2.3.11 =
* Released 2019-12-07
* Internal documentation update.
= 2.3.9 =
* Released 2019-11-06
* Fixed bug where edited (and approved) comments were sent back to moderation.
= 2.3.8 =
* Released 2019-03-17
* Adjusting filters to prevent WSOD
= 2.3.7 =
* Released 2019-03-06
* Added options panel for editing the timer time.
= 2.3.6 =
* Released 2019-02-20
* Added new filter for unlimited editing option.
* Fixing PHP 5.3 fatal error when posting a comment.
= 2.3.5 =
* Released 2019-02-17
* Updating JavaScript hooks to work with WordPress 5.0+
= 2.3.4 =
* Released 2019-02-14
* New hook to allow scripts to load after SCE scripts
* Ability to stop the timer and finish editing
= 2.3.3 =
* Released 2018-11-08
* Fixing timer when it's less than a minute and the timer disaappears
= 2.3.2 =
* Released 2018-11-08
* Added better i18n with JavaScript files. Updated German translation.
= 2.3.1 =
* Released 2018-11-08
* Fixing compatibility with WP Ajaxify Comments
= 2.3.0 =
* Released 2018-11-06
* WordPress 5.0 compatible only
* Enhancement: set the timer past the 90 minute mark
* Enhancement: new filter to hide the timer
* New add-on: <a href="https://mediaron.com/simple-comment-editing-options">Simple Comment Editing Options</a>
= 2.2.1 =
* Released 2018-10-21
* Added CSS around seperator so it can be hidden
= 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 <a href="https://github.com/ronalfy/simple-comment-editing/issues/7">bernie-simon</a>.
= 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.7.1 =
Added IP fix that should make editing comments more reliable and less prone to error. Props @tim-reeves.
= 2.7.0 =
New option: timer can now be compact (e.g., 41:15). New option: button themes. Using new comment check function name if it exists. Correcting typo in admin options. Basic styling for edit buttons.
= 2.6.1 =
Fixing admin styling. Fixing timer for times greater than 5 minutes.
= 2.6.0 =
* Released 2021-05-30
* New admin panel style in anticipation of a few more feature additions.