This topic contains 5 reply and 2 voices, and was last updated by bazelski 6 years, 5 months ago
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 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 bazelski

I will check

April 15, 2013 at 5:04 am 2221
bazelski 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 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.
[php]
function wpufe_set_comment_status( $args ) {
$args[‘comment_status’] = ‘open’;

return $args;
}

add_filter( ‘wpuf_update_post_args’, ‘wpufe_set_comment_status’ );
[/php]

April 15, 2013 at 12:05 pm 2228
bazelski bazelski

Great. Its working good with the fix.  Thanks

Viewing 5 Posts - 1 through 5 (of 5 total)