When reading posts while logged in as an Administrator, the comment reply form will contain two additional checkboxes:
- “Make this comment private” – When checked, only site Administrators and the author of the current post will be able to see the comment. Threaded to private comments, whether left by an admin or by the post author, are always private as well.
- “Add a grade” – When checked, a Grade field will appear. Grades can appear in private or public comments, while the grade itself will always be private (visible only to the Administrator and the post author). Grades are also visible to administrators as a new column in Dashboard > Posts.
This plugin was developed for the [https://openlab.citytech.cuny.edu](City Tech OpenLab).
- Install and activate from Dashboard > Plugins.
- That’s it.
“WP Grade Comments” 是开源软件。 以下人员对此插件做出了贡献。贡献者
- Allow post authors to post private comments.
- Ensure that comments are private if there’s a grade attached.
- Don’t show the “Comment (Private)” UI if the comment content is empty.
- More flexible sanitization of comment content.
- Ensure that a grade of 0 can be submitted.
- Don’t show grades on RSS and Atom feeds, even for logged-in users.
- Allow empty comments to be submitted when a grade is present.
- Ensure that empty grades are not recorded in the database, which could cause visibility issues.
- Avoid fatal errors when checking compatibility with openlab-private-comments.
- Improved compatibility with the OpenLab Private Comments package of Commons In A Box.
- Hide comments from public feeds/streams when there’s only a grade and no content.
- Introduce notice that educates admin about the effects of deactivating the plugin when there are private comments.
- Improve compatibility between form elements and theme styles.
- Allow comment authors to see private replies to those comments.
- Improve comment counts to account for private comments.
- Add custom CSS selectors for private comments and comments with grades.
- Allow empty comments when a grade is present.
- Add show/hide toggle for private comments.
- Improve internationalization support.
- Fix bug that prevented 0 grades from showing on Dashboard.
- Better support for query edge cases.
- Now requires WP 4.4+.
- On front-end, grades are now shown via show/hide toggle.
- Fix bug that caused untrashed private comments to generate BuddyPress activity items.
- Fix bug that prevented grades of 0 from being saved and displayed.
- Fix bug that caused labels not to display properly on some themes.
- Fix PHP notice.
- Improve compatibility with recent versions of BuddyPress.
- Allow grade and privacy to be edited when editing comment via Dashboard.
- Allow non-instructors to see their own grades on Dashboard > Posts.
- Add a grade column to Dashboard > Comments, instead of showing grades in the comment content.
- Ensure that comment privacy is respected for trashed comments
- Prevent non-admins from editing comments that are private or contain grades, even when they are the post author
- Ensure that comment privacy is respected in feeds
- Ensure that all private comments are visible to all administrators, not just the comment author
- Fix name of plugin in readme header
- Initial release