#34578 closed defect (bug) (invalid)
Notice: Theme without comments.php is deprecated since version 3.0 with no alter,
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.4 |
Component: | Themes | Keywords: | |
Focuses: | Cc: |
Description
WP 4.4
I have the following location for my comments.php:
/template_parts/_includes/comments.php
When I include it like this:
comments_template('template_parts/_includes/comments.php')
The comments get displayed but I get the notice:
Notice: Theme without comments.php is deprecated since version 3.0 with no alter
I even tried adding a dummy comments.php to the root of the theme but i still get that notice.
why?
Change History (2)
Note: See
TracTickets for help on using
tickets.
The notice is gone If I add a absolute path like this:
The docs say we should add a relative path.