• To use htmlspecialchars_decode(), thus making this plugin useless for anyone running an earlier version of PHP than 5.1.0 is lame.

    Fatal error: Call to undefined function: htmlspecialchars_decode() in …/wp-content/plugins/post-snippets/post-snippets.php on line 256

    For people with the same problem, edit the plugin code and add the following:

    function htmlspecialchars_decode($string,$style=ENT_COMPAT) {
    $translation = array_flip(get_html_translation_table(HTML_SPECIALCHARS,$style));
    if($style === ENT_QUOTES){ $translation[‘'’] = ‘\”; }
    return strtr($string,$translation);
    }

    http://wordpress.org/extend/plugins/post-snippets/

The topic ‘[Plugin: Post Snippets] htmlspecialchars_decode()’ is closed to new replies.