I’d like to announce the official release of the updated One Click Close Comments plugin (v2.0) for WordPress.
Conveniently close or open comments for a post or page with one click.
Update: Plugin updated to v2.0.1 (see comment below for more information)
For more details, instructions, screenshots, and the download link, visit the plugin’s official homepage at :
Comments welcome on this post for this version of the plugin. Comments will be closed once this release has been superseded by another.
Read more for a detailed ChangeLog of the release.
These are the detailed changes, which may or may not make sense to you depending on your familiarity with the previous features and internals of the plugin.
- Display commenting status even if JS is disabled
- Render commenting status as a ‘span’ instead of an ‘a’ and use unobtrusive JS to make it clickable
- Insert column into desired position using PHP instead of JS
- Fix issue related to disappearance of button for a post after using Quick Edit
- Fix issue of ‘Allow Comments’ checkbox in ‘Quick Edit’ getting out of sync with actual comment status
- Allow filtering of character used as click link, via ‘one-click-close-comments-click-char’
- Move initialization of config array out of constructor and into new function load_config()
- Create init() to handle calling load_textdomain() and load_config() (textdomain must be loaded before initializing config)
- Add support for localization
- Add .pot file
- Add PHPDoc documentation
- Note compatibility with WP 2.9+
- Drop compatibility with versions of WP older than 2.8
- Update documentation (descriptions, FAQs, etc) to reflect behavior changes
- Update copyright date
7 replies on “One Click Close Comments v2.0”
Great plug-in! Easy to use and a snap to install. I like the fact you can allow a certain number of comments and then turn the comment option off. I’ve found if you you allow more than 15 – 20 comments to your post you open yourself up to hours of deleting spammers comments. Just my two cents.
Plugin has been updated to v2.0.1
* Don’t even define class unless in the admin section of site
* Store plugin instance in global variable, $c2c_one_click_close_comments, to allow for external manipulation
* Move registering actions and filters into init()
* Remove docs from top of plugin file (all that and more are in readme.txt)
* Note compatibility with WP 3.0+
* Minor tweaks to code formatting (spacing)
* Add Upgrade Notice section to readme.txt
* Remove trailing whitespace
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/j/j/t/jjtug/html/wp-content/plugins/one-click-close-comments/one-click-close-comments.php on line 43
Hello Scott, I have enabled your plugin. I closed the comments for one post which already had one comment: glamourina.pl/konkurs-wygraj-puposke-i-naturalny-certyfikowany-balsam-do-ust/
It then received a pingback. And the amount of comments now appears as 2.
Is it possible to have this pingback shown?
I have tried to re-enable the comments for that post and re-disabled… but that pingback is still invisible.
I love this WordPress plugin! I have been using One Click Close Comments for about four months on three different blogs of mine. Sometimes a theme will come with pages that doesn’t close comments automatically. I would install your amazing plugin and with a click, comments are closed for the contact pages :D! Keep up the great work 🙂
@Jay: Please try the latest version of the plugin and see if this issue still persists for you.
@Glamourina: Pingbacks are often listed as comments, but are controlled by a separate “Allow pingbacks and trackbacks on this page?” setting that is not controlled/affected by this plugin. Additionally, this plugin does not have an affect on whether pingbacks are shown. Your theme likely controls the display of pingbacks/trackbacks on the front-end of your site.