-
Notifications
You must be signed in to change notification settings - Fork 6
/
readme.txt
157 lines (105 loc) · 5.71 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
=== Comment Hacks ===
Contributors: joostdevalk
Tags: comments, spam, emails
Text Domain: comment-hacks
Requires at least: 5.9
Tested up to: 6.7
Stable tag: 2.1
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Requires PHP: 7.4
Make comments management easier by applying the simple hacks Joost has gathered over the years.
== Description ==
Make comments management easier by applying the simple hacks Joost has gathered over the years.
This plugin adds some small hacks around core WordPress comments to make them more bearable:
* Cleaner comment notification emails.
* The option to enforce a comment policy: just create a comment policy page, toggle the option on and select it, and
commenters will have to accept your comment policy before being able to comment.
* The option to forward comments to an email address (for instance for your support team) and then trash them.
* The option to disallow comments below and above a certain length.
* The option to redirect first time commenters to a "thank you" page.
* An input field on the comment edit screen to change the comment parent ID.
* Links in the admin comments section to email individual commenters.
* A button in the WP toolbar to email all the commenters on a post.
* Adds a comment routing option. This adds a dropdown in a post's discussion settings, allowing the routing of comment emails to another user.
See the screenshots to get an even better idea of the plugins' functionality.
=== Have you found an issue? ===
If you have bugs to report, please go to [the plugin's GitHub repository](https://github.com/emilia-capital/comment-hacks). For security issues, please use our [vulnerability disclosure program](https://patchstack.com/database/vdp/comment-hacks), which is managed by PatchStack. They will assist you with verification, CVE assignment, and, of course, notify us.
== Installation ==
**Install through your backend**
1. Search for "comment hacks", click install.
1. You're done.
**Install manually**
1. Download and unzip the plugin.
1. Upload the `comment-hacks` directory to the `/wp-content/plugins/` directory.
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. Configure your settings on the Settings → Comment Hacks screen.
== Screenshots ==
1. Screenshot of a clean comment notification email.
2. The comment parent edit box.
3. The plugins admin settings.
4. The button on the frontend to email all the commenters on a post.
5. The link in the backend to email an individual commenters on a post.
== Changelog ==
= 2.1 =
* Added a link to remove the author's URL from the comment from the frontend.
* Fix comment policy function for admins and editors.
= 1.9.4 =
* Fix fatal due to wrong class import, props [@andizer](https://profiles.wordpress.org/andizer/).
= 1.9.3 =
* Fix bug where comment reroute recipient would not save.
* Added an option to disable the "Email all commenters" admin bar button.
= 1.9.2 =
* Fix missing autoloader.
= 1.9 =
* Introduces a new option to the plugin: adding a comment policy was never easier than this: just create a comment
policy page, toggle the option on and select it, and commenters will have to accept your comment policy before being
able to comment.
* Fixes a bug where editing a comment on the quick edit screen would cause that comment to lose its parent.
* Enhances performance by preventing too frequent option updates.
* Remove all direct DB queries in favor of using WordPress core functions.
= 1.8.1 =
* Fixed a couple of PHP 7.4 related issues.
= 1.8 =
* Changed namespace to `JoostBlog`.
* Removed Yoast branding.
* Updated plugin to require PHP 7.4.
= 1.7 =
* Bugfixes:
* Fixed: the "Email commenters" link would not be displayed in the WordPress admin bar and in the Comments list.
* Fixed: the "Email commenters" link in the front end admin bar wouldn't work when jQuery wasn't enqueued.
* Fixed: the notification emails for new comments would have incorrect content for the Author line and the text displayed before the comment.
= 1.6 =
* Fix language packs.
= 1.5 =
* Bugfixes:
* Fixed: comment recipient dropdown would reset on reload of the page.
* Fixed: admin bar CSS showing when no admin bar is showing.
= 1.4 =
* Enhancements:
* Limit the roles shown in the comment notifications dropdown to roles that normally exist and can write. Introduces a new filter to allow expanding them.
= 1.3 =
* Enhancements:
* Add option to restrict comments that are too long, next to too small.
* Add `reply-to` header to comment notification and moderation emails, pointing to the post author.
* Preserve the active tab when saving settings.
* Remove `[...]` from pingback / trackback excerpt in cleaned emails as that's already included by core.
* Replace link to ARIN with link to [ip-lookup.net](http://ip-lookup.net) for details about the IP.
* Refactored code for readability and code quality.
* Refactor upgrade routine to do less DB queries.
= 1.2 =
Fixes several issues:
* Differentiate between AJAX request and normal POST for nonce checking, fixes #7.
* Make sure comment type isn't empty in cleaned email, fixes #8.
* Allow setting the comment parent to 0, fixes #10.
* Prevents defaults from being reinstated, fixes #14.
Also:
* Adds translator comments to all strings with `sprintf` / `printf`.
* Updates to new version of Yoast i18n, in the process switching from `translate.yoast.com` to `translate.wordpress.org` and removing packaged translations.
* Added `yarn.lock` and removed no longer needed i18n grunt tasks.
= 1.1.1 =
* Add text domain so the plugin can be translated.
= 1.1 =
* Add comment routing option, adds a dropdown in a post's discussion settings, allowing the routing of comment emails to another user.
= 1.0 =
* Initial version.