[wp-trac] [WordPress Trac] #60601: $include should be checked not empty in `comment-template.php`

WordPress Trac noreply at wordpress.org
Thu Feb 22 12:02:02 UTC 2024


#60601: $include should be checked not empty in `comment-template.php`
--------------------------+-----------------------------
 Reporter:  monzuralam    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  6.4.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 $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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60601>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list