Ticket #1981 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Unable to disable comments when writing a post

Reported by: Viper007Bond Assigned to: anonymous
Priority: high Milestone:
Component: Administration Version: 2.0
Severity: major Keywords: bg|has-patch
Cc:

Description

On both v2.0-Beta 2 and v2.0-RC1, when writing a new post, if I uncheck "Allow Comments" in the "Discussion" box, it doesn't deactivate comments for that post. I have to edit the post after I've published it and untick the "Allow Comments" box again to get it to work.

Attachments

functions-post.php.diff (0.6 kB) - added by Viper007Bond on 12/20/05 02:09:39.
Fixes (hopefully) this ticket

Change History

12/20/05 02:09:39 changed by Viper007Bond

  • attachment functions-post.php.diff added.

Fixes (hopefully) this ticket

12/20/05 02:11:44 changed by Viper007Bond

  • keywords set to bg|has-patch.

Okay, I think this should fix it.

Before, if $_POST['comment_status'] was not set (i.e. the checkbox was not checked), it'd be set to the defualt value for comment status.

01/24/06 21:54:33 changed by Viper007Bond

  • status changed from new to closed.
  • resolution set to fixed.

Seems to have been fixed, although it seems to now be doing it for pings/trackbacks, but that's another issue.

02/18/06 04:35:07 changed by Viper007Bond

It actually wasn't fixed I don't think, but not it really is thanks to #2445.