You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create function which allows more tags within commentsfunctionfilter_html_usage() {
global$allowedtags;
$allowedtags['pre'] = array('class'=>array());
$allowedtags['p'] = array('class'=>array());
$allowedtags['code'] = array('class'=>array());
$allowedtags['strong'] = array('class'=>array());
$allowedtags['href'] = array('class'=>array());
}
// Add WordPress hook to use the function
add_action('init', 'filter_html_usage',11);
The text was updated successfully, but these errors were encountered:
prevent xss filter html usage
The text was updated successfully, but these errors were encountered: