Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Important update for bbpress seo tools


Olaf Lederer
Participant

@finalwebsites

Hi,

locate in the plugin file the function

function create_seo_meta_txt($content) {
$raw = str_replace(PHP_EOL, ' ', strip_tags($content));
$raw = str_replace(' ', ' ', $raw);
$snippet = substring_words($raw, 120, '');
return htmlentities($snippet, ENT_QUOTES);
}

and replace “htmlentities” with “wp_specialchars”.

Let me know if this works for you. This plugin is a little quick and dirty for these functions :)

The seo plugin for wordpress has for internationalization huge blocks of code :)

Skip to toolbar