Version: 4.0.8 Reporter: Simon Job —
The “Allow comments default?” setting is not adhered to when an entry is submitted via a channel form.
With Allow comments default? set to yes in the Channel settings, when a new entry is submitted via a Channel Form, the Allow comments? field is set to no.
In 4.2.1 in system/ee/EllisLab/Addons/channel/libraries/channel_form/Channel_form_lib.php add this on line 1518
// If allow_comments is NOT included in the form and it's not set by parameter, use the default
if ( ! isset($_POST['allow_comments']) && $this->_meta['allow_comments'] == FALSE)
{
$_POST['allow_comments'] = ($this->channel('deft_comments') == TRUE && $this->channel('comment_system_enabled') == TRUE) ? 'y' : 'n';
}
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```