Opened 8 months ago
Closed 8 months ago
#60601 closed defect (bug) (wontfix)
$include should be checked not empty in `comment-template.php`
Reported by: | monzuralam | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.4.3 |
Component: | Comments | Keywords: | |
Focuses: | Cc: |
Description
$include should be checked not empty in if condition wp-includes/comment-template.php
line number 1617.
I think, here need to check ! empty() and file_exits() both.
Change History (1)
Note: See
TracTickets for help on using
tickets.
If
$include
is empty, thenfile_exists()
simply returnsfalse
. So there is no need for an extra empty check.