svivian/q2a-edit-history

qa-edh-revisions.php line 107: qa_block_words_replace needs require qa-util-string.php

Closed this issue · 1 comments

PHP gave me the error that function qa_block_words_replace() does not exist.

So I think you need to add this line before the foreach:

// censor posts
require_once QA_INCLUDE_DIR.('qa-util-string.php');
$options = array( 'blockwordspreg' => qa_get_block_words_preg(), 'fulldatedays' => qa_opt('show_full_date_days') );

Thanks for reporting, now fixed.