Skip to content

Commit d536c88

Browse files
authored
Merge pull request #1069 from ExpressionEngine/bugfix/comment-entry-status-param
Documenting the entry_status parameter for comment forms
2 parents af7f7c9 + 3188529 commit d536c88

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

docs/comment/entries.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ NOTE: **Note:** This parameter takes precedence over any entry specified dynamic
8484

8585
entry_status="Featured"
8686

87+
NOTE: **Note:** If this parameter is not specified, comments for entries with any status other than "closed" will be returned.
88+
8789
### `limit=`
8890

8991
limit="30"

docs/comment/form.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ You can hard code the comment form tag to display a comment form for a specific
7474

7575
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belongs to.
7676

77+
### `entry_status=`
78+
79+
entry_status="Featured"
80+
81+
NOTE: **Note:** If this parameter is not specified, the form display will not be affected by an entry's status, unless the entry is set to "closed".
82+
7783
#### `form_class=`
7884

7985
form_class="news_comment_form"

0 commit comments

Comments
 (0)