內容簡介
這個外掛專為安全地允許 BBCode 短代碼及其他安全的短代碼,能夠嵌入 bbpress 話題和回覆,以及部落格評論中。您不希望使用者在回覆中中間輸入 [bbp-login] 這樣的短代碼。
然而,它並沒有實際執行短代碼,您需要另一個外掛來做這件事。我推薦我的自己的 bbPress2 BBCode 外掛,因為它完全白名單感知,也會解析短代碼的內容,所以 [b] [bbp-login] [/b] 也會被解析為安全的內容。這是非白名單感知短代碼外掛所缺乏的功能。
外掛標籤
開發者團隊
② 後台搜尋「bbPress2 shortcode whitelist」→ 直接安裝(推薦)
原文外掛簡介
This plugin is designed to safely allow bbcode shortcodes and other
safe shortcodes to be embedded in bbpress topics and replies and also
blog comments. You don’t wan’t users entering shortcodes such as
[bbp-login] in the middle of their reply.
It doesn’t actually implement the shortcodes though,
for that you need a separate plugin. I recommend my own bbPress2
BBCode plugin, as this is fully whitelist aware, in that it also
parses the contents of the shortcodes, so [b][bbp-login][/b] also
gets parsed for safety. Something that doesn’t happen with non
whitelist aware shortcode plugins.
