Joy
(@joyously)
There was a change with default comment type. If the theme is checking the type for an empty type, it won’t match anymore.
Read https://make.wordpress.org/core/2020/07/29/miscellaneous-developer-focused-changes-in-wordpress-5-5/
Thread Starter
muppix
(@muppix)
Thanks for the succinct and accurate reply @joyously – that helped. I could see from my theme’s functions.php that the code which is responsible for rendering comments did indeed check for an empty string with regard to comment_type, and since 5.5 all of my comments had been updated to comment_type=’comment’. A quick modification as per changeset 47597 was all that was needed.
(@muppix)
1 year, 7 months ago
I’m in the process of moving my site to a new host and while running a functionality check in staging I noticed that visitor comments are no longer showing up in my theme – just a HTML comment that looks like a placeholder. Did something change in the way that comments are handled in the last few versions?
To eliminate my many customisations I span up a brand new instance, updated it to 5.5.3, and installed the freshly-downloaded theme. Same result.
To be clear, this isn’t a case of a site / post configuration preventing comments, it’s a case of existing comments not being rendered due to some kind of recent change. I’d be very grateful for any insights.
EDIT: I just created another fresh WP instance, installed the same theme, but this time didn’t update it, leaving it instead at 5.4.4. Comments do show up in this older version, so it’s something weird between 5.4.4 and 5.5.3.
The page I need help with: [log in to see the link]