Title: Comment Tweaks
Author: jnorell
Published: <strong>1 ກຸມພາ 2019</strong>
Last modified: 12 ກັນຍາ 2021

---

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

![](https://ps.w.org/comment-tweaks/assets/banner-772x250.png?rev=2023100)

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

![](https://ps.w.org/comment-tweaks/assets/icon.svg?rev=2023100)

# Comment Tweaks

 ໂດຍ [jnorell](https://profiles.wordpress.org/jnorell/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/comment-tweaks.zip)

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

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

## ຄຳອະທິບາຍ

Comment Tweaks provides enhancements to WordPress native comments.

#### Features

 * Allow comment authors to edit their own comments
 * Add WP editor (quicktags and/or tinymce) to comments area
 * Filter to customize WP editor settings (buttons/appearance)

#### Bugs, Patches & Feature Requests

Please submit any security issues found and they will be addressed.

You can submit bug reports or feature requests in the [GitHub issue tracker](https://github.com/jnorell/comment-tweaks/issues).
Patches are preferred as pull requests.

### Known Bugs & Compatibility

You can check bug reports in the [GitHub issue tracker](https://github.com/jnorell/comment-tweaks/issues)
and check the [Changelog](https://wordpress.org/plugins/comment-tweaks/#developers)
for fixes.

 1. Jetpack: if you have Jetpack’s comments module enabled, that is what you will get
    for entering comments, not the wp editor.

## ພາບໜ້າຈໍ

 * [[
 * WP editor enabled for comment field in twentynineteen theme.

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

#### WordPress Admin

Go to the ‘Plugins’ menu in WordPress, click ‘Add New’, search for ‘Comment Tweaks’,
and click ‘Install Now’ for the ‘Comment Tweaks’ plugin. Once installed, click ‘
Activate’.

#### Plugin Upload

An alternative to installing via the WordPress admin page is to upload the plugin
to the WordPress installation on your web server.

 1. Upload the plugin (the entire `comment-tweaks` directory and everything in it) 
    to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

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

### Does Comment Tweaks work with Gutenberg enabled in WP 5.x?

Yes. The editor added to comments will be the WP editor (quicktags and/or tinymce),
not Gutenberg.

### I can’t find any settings for the plugin, are there any?

Yes, the plugin settings are under Settings > Discussion > Comment Editing.

Customizing the editor settings is possible using a filter, there is currently no
settings page for this.

### How can I customize the WP editor settings?

You can use the `comment_tweaks_editor_settings` filter to customize the appearance
of WP editor.

    ```
    <?php

    add_filter( 'comment_tweaks_editor_settings', function( $settings, $editor_id ) {

        $settings = array(
            'tinymce'      => array(
                'toolbar1'      => 'bold,italic,underline,bullist,numlist,aligncenter,blockquote,link,undo,redo',
                'plugins'       => 'charmap,colorpicker,hr,lists,paste,tabfocus,textcolor,fullscreen,wordpress,wpautoresize,wpeditimage,wpemoji,wpgallery,wplink,wptextpattern,media',
                'relative_urls' => true,
            ),
            'quicktags'    => false,
        );

        return $settings;

    }, 10, 2);

    ?>
    ```

### Can I use the ‘Add Media’ button

Yes, the ‘Add Media’ button can be enabled using custom settings for the WP editor,
allowing site users to access media.

    ```
    <?php

    add_filter( 'comment_tweaks_editor_settings', function( $settings, $editor_id ) {

        $settings = array(
            'mediaButtons' => true,
            'tinymce'      => array(
                'media_buttons' => true,
                'toolbar1'      => 'bold,italic,underline,bullist,numlist,aligncenter,blockquote,link,undo,redo',
                'plugins'       => 'charmap,colorpicker,hr,lists,paste,tabfocus,textcolor,fullscreen,wordpress,wpautoresize,wpeditimage,wpemoji,wpgallery,wplink,wptextpattern,media',
                'relative_urls' => true,
            ),
            'quicktags'    => array(
                'buttons'       => 'strong,em,ul,ol,li,block,link,img,close',
            ),
        );

        return $settings;

    }, 10, 2);

    ?>
    ```

### Image captions display the [caption] shortcode

Correct, enabling the ‘Add Media’ button allows users to add content and markup 
to the comments, but it does not change how that content is interpretted and displayed
by your theme. You can alter comments display to process shortcodes, but **be very
careful not to create a security vulnerability**.

If anonymous users can add comments, and those comments are processed to execute
shortcodes, you can easily allow anonymous users with many ways to abuse your site.

## ການຣີວິວ

![](https://secure.gravatar.com/avatar/d41daaad5020a5f3760c8fcd092f5060c72f584e7007a3f31746083f3d752f56?
s=60&d=retro&r=g)

### 󠀁[I realy love it.](https://wordpress.org/support/topic/i-realy-love-it/)󠁿

 [chienluong](https://profiles.wordpress.org/chienluong/) 17 ເມສາ 2020 1 ການຕອບກັບ

This plugin will be better if you can hook more functions. I have researched all
the plugins, but no one can support it.

 [ ອ່ານການຣີວິວທັງໝົດ 1 ລາຍການ ](https://wordpress.org/support/plugin/comment-tweaks/reviews/)

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

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

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

 *   [ jnorell ](https://profiles.wordpress.org/jnorell/)

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

[ແປ “Comment Tweaks” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/comment-tweaks)

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

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

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

#### 1.1.4

Release Date: Sep 12, 2021

 * Fix: Typo ‘update_option’ function name.
 * Fix: Editor buttons have dark background in twentytwentyone theme.
 * Fix: Settings link top margin in chrome.

#### 1.1.3

Release Date: May 24, 2019

 * Fix: Full compatibility with WP 5.1 and 5.2.
 * Tweak: Add dependency for comment-reply to script enqueue.
 * Improvement: Check if Jetpack comments module is enabled.

#### 1.1.2

Release Date: May 17, 2019

 * Incompatibility: cannot add WP editor to comments on WP 5.1+ with threaded comments
   enabled.

#### 1.1.1

Release Date: February 22, 2019

 * Improvement: Add Settings link to plugin admin screen.
 * Fix: Reverse format_for_editor() when editing comments in the dashboard and tinymce
   is loaded.

#### 1.1.0

Release Date: February 14, 2019

 * Feature: Allow comment authors (logged in users) to edit their own comments (
   post author can not).
 * Improvement: Add functions to manage plugin options.
 * Improvement: Add admin setting for whether to add wp_editor to comments.
 * Tweak: Save plugin version at activation.
 * Tweak: Don’t make ajax call if no comment_tweaks_editor_settings filters are 
   set.

#### 1.0.0

Release Date: January 31, 2019

 * Initial plugin version.
 * Feature: add the WP editor to comments area.
 * Feature: ‘comment_tweaks_editor_settings’ filter to customize WP editor.

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

 *  ເວີຊັນ **1.1.4**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **5 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 4.8 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **5.8.13**
 *  ເວີຊັນ PHP ** 5.4 ຫຼື ສູງກວ່າ **
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/comment-tweaks/) ແລະ [German](https://de.wordpress.org/plugins/comment-tweaks/).
 *  [ແປເປັນພາສາຂອງເຈົ້າ](https://translate.wordpress.org/projects/wp-plugins/comment-tweaks)
 * ແທັກ
 * [comments](https://lo.wordpress.org/plugins/tags/comments/)[editor](https://lo.wordpress.org/plugins/tags/editor/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/comment-tweaks/advanced/)

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

 5 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/comment-tweaks/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/comment-tweaks/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/comment-tweaks/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/comment-tweaks/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/comment-tweaks/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/comment-tweaks/reviews/#new-post)

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

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

 *   [ jnorell ](https://profiles.wordpress.org/jnorell/)

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

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

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