[wp-trac] [WordPress Trac] #51082: Default value for comment_type changed can lead to comments not shown
WordPress Trac
noreply at wordpress.org
Tue Sep 1 22:53:02 UTC 2020
#51082: Default value for comment_type changed can lead to comments not shown
--------------------------+------------------------------
Reporter: Ov3rfly | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 5.5
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by smerriman):
This isn't just affecting themes, but many plugins. For example, the WP
Recipe Maker plugin uses the comment_approved_ and comment_unapproved_
actions to sync comment statuses with its ratings.
After WP 5.5, this is now broken, so that when a comment is approved its
rating isn't.
I'm about to contact the author to get them to add a workaround, but I'm
sure a large number of other plugins do similar - this seems a pretty
breaking change. I'm not sure why an empty string couldn't continue to be
used for normal comments.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51082#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list