Comments are turned off after edit
Viewing 5 Posts - 1 through 5 (of 5 total)
Author | Posts |
---|---|
April 14, 2013 at 7:40 pm 2190 | |
bazelski | Post is created with form and the comments are allowed when the post is created. The problem is after updating that post with the edit form, comments are turned off. Can I change that, I need comments enabled for every post |
April 14, 2013 at 8:00 pm 2191 | |
Tareq Hasan | I guess some other plugin might be doing this, there’s no way this plugin is doing that. |
April 14, 2013 at 8:02 pm 2192 | |
bazelski | I will check |
April 15, 2013 at 5:04 am 2221 | |
bazelski | Its from WPFU. I deactivated all other plugins and changed to default theme, its still working the same. “Allow people to post comments on new articles ” in discussion settings is checked |
April 15, 2013 at 11:42 am 2227 | |
Tareq Hasan | Confirming that bug, but thats from WordPress itself. If you don’t set a comment_status while updating a post, it automatically closes the comment option. Here’s a fix, putting it to your themes functions.php will work. return $args; add_filter( ‘wpuf_update_post_args’, ‘wpufe_set_comment_status’ ); |
April 15, 2013 at 12:05 pm 2228 | |
bazelski | Great. Its working good with the fix. Thanks |
Viewing 5 Posts - 1 through 5 (of 5 total)