FEATURE: constrain post_excerpt_maxlength (#13064)
Too long excerpts don't make sense. They would make UI wonky. We already have a constraint for the `topic_excerpt_maxlength` setting. This adds the same constraint to `post_excerpt_maxlength`. It also changes the max value of `topic_excerpt_maxlength` from 999 to 1000.
This commit is contained in:
parent
6d3c975519
commit
9e4288a4ab
|
@ -863,13 +863,14 @@ posting:
|
||||||
default: 0
|
default: 0
|
||||||
post_excerpt_maxlength:
|
post_excerpt_maxlength:
|
||||||
default: 300
|
default: 300
|
||||||
|
max: 1000
|
||||||
locale_default:
|
locale_default:
|
||||||
ja: 120
|
ja: 120
|
||||||
zh_CN: 120
|
zh_CN: 120
|
||||||
zh_TW: 120
|
zh_TW: 120
|
||||||
topic_excerpt_maxlength:
|
topic_excerpt_maxlength:
|
||||||
default: 220
|
default: 220
|
||||||
max: 999
|
max: 1000
|
||||||
locale_default:
|
locale_default:
|
||||||
ja: 120
|
ja: 120
|
||||||
zh_CN: 120
|
zh_CN: 120
|
||||||
|
|
Loading…
Reference in New Issue