WCF icon indicating copy to clipboard operation
WCF copied to clipboard

Consistently use (User)Option::getTitle()

Open TimWolla opened this issue 4 years ago • 2 comments
trafficstars

The getTitle() method was added in a41ce9459e97d83a620d5c3743907f4850f35eb5, but was not consistently used. It's missing from optionFieldList.tpl for starters:

https://github.com/WoltLab/WCF/blob/c29b75e0e43c5680f7d4182325b5958902997661/com.woltlab.wcf/templates/optionFieldList.tpl#L10

All occurrences can probably be found by searching for wcf.user.option..

TimWolla avatar Apr 08 '21 13:04 TimWolla

With this change it is no longer possible to use HTML in the title. Is that intended?

Sir-Will avatar May 17 '21 21:05 Sir-Will

Is that intended?

Yes.

TimWolla avatar May 18 '21 07:05 TimWolla