Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
333 views
in Q2A Core by

Because this reason:

http://www.question2answer.org/qa/14311/censored-words-separate-by-spaces-or-commas

 

I rewrite this function in qa-util-string.php , to return a new string after filter.

function qa_block_words_replace($string, $wordspreg, $character='*')

 

I find that this function can return a string replace each censored word with a *(like "平安" to "*", I don't know if it is requried to return not only one *). But on the website page,the censored words appears always. 

Should I do more things?

 

 

Q2A version: 1.5

Please log in or register to answer this question.

...