Title: Always Allow Admin Comments
Author: Scott Reilly
Published: <strong>10 ມີນາ 2016</strong>
Last modified: 15 ຕຸລາ 2021

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/always-allow-admin-comments/assets/banner-772x250.png?rev=1368668)

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://ps.w.org/always-allow-admin-comments/assets/icon-128x128.png?rev=1368668)

# Always Allow Admin Comments

 ໂດຍ [Scott Reilly](https://profiles.wordpress.org/coffee2code/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/always-allow-admin-comments.1.3.2.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/always-allow-admin-comments/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/always-allow-admin-comments/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/always-allow-admin-comments/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/always-allow-admin-comments/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/always-allow-admin-comments/)

## ຄຳອະທິບາຍ

This plugin enables a user with the administrator role the ability to comment on
any post or page, even if the comments for that post or page are closed. When the
plugin is active, this behavior is automatically enabled.

Administrators can be explicitly prevented from commenting on specific posts via
two approaches:

 * When creating or editing a post, in the “Prevent Admin Comments” metabox (in 
   the block editor) or the “Discussion” metabox (in the classic editor) there is
   a checkbox labeled “Prevent administrators from commenting” that only administrators
   can access. Checking the checkbox will prevent administrators from commenting
   on the post even though this plugin is active. (If the metabox isn’t visible 
   for you when using the classic editor, then expand the “Screen Options” slide-
   down panel on the upper-right of the page.)
 * Programmatically, via the use of the ‘c2c_admin_can_always_comment_disable’ filter.
   This can be used be provide more fine-grained access control and contextual handling.
   See the “Hooks” section for documentation on the filter’s use.

Links: [Plugin Homepage](https://coffee2code.com/wp-plugins/always-allow-admin-comments/)
| [Plugin Directory Page](https://wordpress.org/plugins/always-allow-admin-comments/)
| [GitHub](https://github.com/coffee2code/always-allow-admin-comments/) | [Author Homepage](https://coffee2code.com)

### Developer Documentation

Developer documentation can be found in [DEVELOPER-DOCS.md](https://github.com/coffee2code/always-allow-admin-comments/blob/master/DEVELOPER-DOCS.md).
That documentation covers the hooks provided by the plugin.

As an overview, these are the hooks provided by the plugin:

 * `c2c_always_allow_admin_comments_disable` : Customizes if comments should actually
   be disabled for a particular admin user.
 * `c2c_always_allow_admin_comments_post_types`: Customizes which post types are
   supported by the plugin.

## ພາບໜ້າຈໍ

 * [[
 * A screenshot of the `Discussion` metabox when creating/editing a post or page
   that allows you to override the plugin to truly disable admin commenting for 
   the post/page. This is the form field used for versions of WordPress older than
   5.0, or for versions later than 5.0 when the block editor is disabled.
 * [[
 * A screenshot of the `Prevent Admin Comments` metabox when creating/editing a 
   post or page that allows you to override the plugin to truly disable admin commenting
   for the post/page. This is the form field used for WordPress 5.0 and later when
   the block editor is enabled (which it is by default).

## ການຕິດຕັ້ງ

 1. Install via the built-in WordPress plugin installer. Or install the plugin code
    inside the plugins directory for your site (typically `/wp-content/plugins/`).
 2. Activate the plugin through the ‘Plugins’ admin menu in WordPress

## ຄຳຖາມທີ່ພົບເລື້ອຍ

### Will this plugin allow an administrator to comment on a post whose comments have been automatically closed for being old?

Yes.

### Does this plugin support the block editor (aka Gutenberg)?

Yes, though not entirely. The primary functionality of the plugin–allowing administrators
to always comment on posts–works regardless of the post editor being used. However,
the checkbox that allows the plugin to be disabled on a per-post basis (in order
to actively prevent administrators from being able to comment on the post) is currently
only available in the classic editor. This is unlikely to affect most users.

### Does this plugin include unit tests?

Yes.

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Always Allow Admin Comments” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້
ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Scott Reilly ](https://profiles.wordpress.org/coffee2code/)

“Always Allow Admin Comments” ໄດ້ຖືກແປເປັນ 1 ພາສາທ້ອງຖິ່ນ. ຂໍຂອບໃຈ [ທີມງານຜູ້ແປ](https://translate.wordpress.org/projects/wp-plugins/always-allow-admin-comments/contributors)
ສຳລັບການປະກອບສ່ວນຂອງເຂົາເຈົ້າ.

[ແປ “Always Allow Admin Comments” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/always-allow-admin-comments)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/always-allow-admin-comments/),
ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/always-allow-admin-comments/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/always-allow-admin-comments/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/always-allow-admin-comments/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.3.2 (2021-10-14)

 * New: Add DEVELOPER-DOCS.md and move hooks documentation into it
 * Change: Note compatibility through WP 5.8+
 * Change: Tweak installation instruction
 * Unit tests:
    - Change: Explicitly test a custom post type that supports comments and one 
      that does not
    - Change: Restructure unit test directories
       * Change: Move `bin` into `tests/`
       * Change: Move `tests/bootstrap.php` into `tests/phpunit/`
       * Change: Move `tests/test-*.php` into `tests/phpunit/tests/`
    - Change: Remove ‘test-‘ prefix from unit test file
    - Change: Rename `phpunit.xml` to `phpunit.xml.dist` per best practices
    - Change: In bootstrap, store path to plugin file constant
    - Change: In bootstrap, add backcompat for PHPUnit pre-v6.0

#### 1.3.1 (2021-04-04)

 * Change: Note compatibility through WP 5.7+
 * Change: Update copyright date (2021)

#### 1.3 (2020-05-12)

 * Change: Add customization for post type support
    - New: Add filter `c2c_always_allow_admin_comments_post_types` to allow customizing
      supported post types
    - New: Add `get_post_types()` to get the list of supported post types
    - Change: Enhance `can_show_ui()` to check if post’s post type is supported
 * Change: Change label for setting
 * New: Add TODO.md and move existing TODO list from top of main plugin file into
   it (and add more items to the list)
 * Change: Use HTTPS for link to WP SVN repository in bin script for configuring
   unit tests
 * Change: Note compatibility through WP 5.4+
 * Change: Update links to coffee2code.com to be HTTPS
 * Unit tests:
    - New: Add tests for registering of hooks
    - Change: Remove unnecessary unregistering of hooks

_Full changelog is available in [CHANGELOG.md](https://github.com/coffee2code/always-allow-admin-comments/blob/master/CHANGELOG.md)._

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.3.2**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **5 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 4.6 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **5.8.13**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/always-allow-admin-comments/) ແລະ
   [Russian](https://ru.wordpress.org/plugins/always-allow-admin-comments/).
 *  [ແປເປັນພາສາຂອງເຈົ້າ](https://translate.wordpress.org/projects/wp-plugins/always-allow-admin-comments)
 * ແທັກ
 * [admin](https://lo.wordpress.org/plugins/tags/admin/)[comment](https://lo.wordpress.org/plugins/tags/comment/)
   [commenting](https://lo.wordpress.org/plugins/tags/commenting/)[comments](https://lo.wordpress.org/plugins/tags/comments/)
   [comments_open](https://lo.wordpress.org/plugins/tags/comments_open/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/always-allow-admin-comments/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

[Your review](https://wordpress.org/support/plugin/always-allow-admin-comments/reviews/#new-post)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/always-allow-admin-comments/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Scott Reilly ](https://profiles.wordpress.org/coffee2code/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/always-allow-admin-comments/)

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6ARCFJ9TX3522)