Comments not displayed when !comments_open()
-
When comments are closed (comments_open() returns false), the comments are not being displayed. You can see this in the built-in themes such as in design-1. In accelerated-mobile-pages/templates/design-manager/design-1/elements/comments.php it has the following at the top of the file:
if (!comments_open() || ( isset($redux_builder_amp['wordpress-comments-support']) && $redux_builder_amp['wordpress-comments-support']==false ) ) { return; }
This is inconsistent with the WordPress behavior. When comments_open() returns false it should not allow new comments but it should still display the comments that were already made.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Comments not displayed when !comments_open()’ is closed to new replies.