no override for comments on individual articles
-
The settings in General options > Discussion Settings
can be overridden: These settings may be overridden for individual articles
I dont want them to be overwritten by users. No comments on posts by users. How can I do that?If I comment out the next 2 lines, the box doesnt show up.
line 445 in edit-form-advanced.php
add_meta_box('commentstatusdiv', __('Discussion'), 'post_comment_status_meta_box', 'post', 'normal', 'core');line 333 in edit-page-form.php
add_meta_box('pagecommentstatusdiv', __('Discussion'), 'page_comments_status_meta_box', 'page', 'normal', 'core');How can I prevent the add_meta_box without hacking the core files?
Unset this in any way in functions.php?thanks for any info.
- The topic ‘no override for comments on individual articles’ is closed to new replies.