Opened 5 years ago
Closed 5 years ago
#50221 closed defect (bug) (duplicate)
Fix comment header for only one comment in Twenty Twenty theme
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.3 |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | template | Cc: |
Description
In comments.php
of Twenty Twenty theme, get_comments_number()
has been sanitized by absint
. Therefore, the condition to show the comment header for only one comment in current code is wrong. This patch fixes the bug.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hi there, welcome back to WordPress Trac!
Thanks for the report, we're already tracking this issue in #49058.