這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Featured Comments

描述

Lets the admin add “featured” or “buried” css class to selected comments. Handy to highlight comments that add value to your post.

This plugin makes use of the meta_query option added in WordPress 3.5 to the WP_Comment_Query class, so it is no longer compatible with earlier versions of WordPress.

Please report bugs and suggestions on Github.

螢幕截圖

  • Comment Edit Table
  • Single Comment Edit
  • Class added to comment, as seen on the frontend (screenshot shows source viewed in Firebug)

安裝

This section describes how to install the plugin and get it working.

  1. Upload ‘feature-comments’ directory to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

All the options will be automatically added to the edit comments table, and single comment edit screen

評價

閱讀全部2個評價

貢獻者及開發者

“Featured Comments” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Featured Comments 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2.6

  • Fixed a bug that caused the Feature / Bury links to not work on pages where comments were loaded through ajax
  • Updated add_comment_meta() to update_comment_meta() to ensure we are not adding duplicate values

1.2.5

  • Fixed a minor security vulnerability that could allow someone to trick an admin into featuring or burying a comment

1.2.4

  • Fixed a bug with the Featured Comments widget and not being able to properly set the number of comments to show

1.2.3

  • Fixed a fatal error in the Featured Comments widget
  • Fixed an undefined index error in the Featured Comments widget
  • Fixed a missing comment ID parameter to the get_comment_author_link()

1.2.2

  • Improved capability check when processing ajax requests

1.2.1

  • Re-added Buried checkbox to the edit comment screen
  • Added a file-modified-time version number to the JS to ensure file is not cached between updates
  • Added a div.feature-burry-comments wrapper to the Feature | Bury links added to comments

1.2

  • Development taken over by Pippin Williamson
  • NOTE: no longer compatible with WordPress versions less than 3.5
  • Replaced deprecated functions with up-to-date versions
  • Added new Featured Comments widget
  • Updated plugin class to a singleton

1.1.1

  • Fixed bug, which showed feature/bury links to all users, instead of users with ‘moderate_comments’ capability.

1.1

  • Major update
  • Anyone with ‘moderate_comments’ capability is now able to feature/bury comments both from the frontend and backend
  • Added support for featuring comments using ajax.
  • The edit comments section now highlights featured comments, and reduces the opacity of buried comments.
  • Fixed some E_NOTICE’s

1.0.3

  • Fixed a bug introduced in the last update

1.0.2

  • Refactored source code

1.0.1

  • Added missing screenshot files

1.0

  • First version