Modify Comment Parent

ຄຳອະທິບາຍ

Sometimes when replying to a comment, I fail to reply and instead create a new
comment. This prevents the comment thread from displaying properly. In the
past, I’ve fixed this directly in the database. This plugin, allows me to fix
it from the backend comment edit screen.

There are other plugins with similar functionality, however they either worked differently than I prefer or included additional functionality. One of these other plugins may meet your needs better.

  • Change Comment Parent allows you to modify the parent comment by clicking on the comments on the front-end.
  • Yoast Comment Hacks includes many different pieces of comment related functionality, this is one of them.

Image Credit

Pixabay

Author

Built by Sal Ferrarello / @salcode

ພາບໜ້າຈໍ

  • The backend comment edit page.
  • The new Comment Parent field.

ການຕິດຕັ້ງ

  1. Install plugin from WordPress plugin repository https://wordpress.org/plugins/
  2. Activate Stop Emails through the ‘Plugins’ menu in WordPress.

Manual Installation

  1. Upload the entire stop-emails directory to the /wp-content/plugins/ directory.
  2. Activate Stop Emails through the ‘Plugins’ menu in WordPress.

mu-plugin Installation

  1. If the directory wp-content/mu-plugins/ does not exist, create it.
  2. Upload the single file modify-comment-parent.php to the wp-content/mu-plugins/ directory

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

What if I assign a parent ID that does not exist?

The comment will not appear.

What if I assign a parent ID for a comment on another post?

The comment will not appear.

How do I remove the parent ID?

You can either delete the parent ID entirely or set it to zero.

Where can I report a bug?

Please report bugs at https://github.com/salcode/modify-comment-parent/issues

ການຣີວິວ

23 ພະຈິກ 2023
about comments parent issue, I wrote a topic here: wordpress.org/support/topic/any-way-to-move-comments/#post-17222049 finally, fixed with this plugin.
15 ກັນຍາ 2021
All my compliments to the coder of this little handy plugin. You avoid to me to argue with WordPress database, thank you. I hope you’ll keep this plugin simple (and updated, only when will be necessary). UPDATE: Also with Wordpress 5.8.x it works perfectly!
ອ່ານການຣີວິວທັງໝົດ 1 ລາຍການ

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

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

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

ແປ “Modify Comment Parent” ເປັນພາສາຂອງເຈົ້າ.

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

ເບິ່ງລະຫັດ, ກວດເບິ່ງ ຄັງເກັບ SVN, ຫຼື ຕິດຕາມ ບັນທຶກການພັດທະນາ ຜ່ານ RSS.

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

1.0.3

  • Remove extraneous return $post_id; to prevent PHP Warning Undefined variable $post_id (#6)

1.0.2

  • Replace FILTER_SANITIZE_STRING with FILTER_UNSAFE_RAW (#2)

1.0.1

  • Increase text input box width. Previously, it was too narrow for large numbers.

1.0.0

  • Initial release.