Closed AngelaCelis closed 7 years ago
Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/wp/wp-includes/kses.php on line 1416
function wp_kses_named_entities($matches) {
global $allowedentitynames;
if ( empty($matches[1]) )
return '';
$i = $matches[1];
return ( ! in_array( $i, $allowedentitynames ) ) ? "&$i;" : "&$i;";
}
The problem is the var global $allowedentitynames;
, this is not defined
I add in the final of wp-config.php a validation for this:
global $allowedentitynames;
if (is_null($allowedentitynames)) $allowedentitynames = array();
http://rnc.humboldt.org.co/wp/