In wp-includes/comment-template.php in WordPress before 5.4.2, comments from a post or page could sometimes be seen in the latest comments even if the post or page was not public.
Link | Tags |
---|---|
https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/ | vendor advisory |
https://core.trac.wordpress.org/changeset/47984 | patch vendor advisory |