fatal error re 2.07 wp-includes/functions.php on line 2365
-
What’s wrong with the NEW wp-includes/functions.php on line 2365?
The old one works but has the vulnerability. The new one does not work on my site. This fatal error is called when I go to edit a theme:
Fatal error: Call to undefined function: attribute_escape()
IN THIS CODE:
function wp_referer_field() {
$ref = attribute_escape(stripslashes($_SERVER[‘REQUEST_URI’]));
echo ‘<input type=”hidden” name=”_wp_http_referer” value=”‘. $ref . ‘” />’;
if ( wp_get_original_referer() ) {
$original_ref = attribute_escape(stripslashes(wp_get_original_referer()));
echo ‘<input type=”hidden” name=”_wp_original_http_referer” value=”‘. $original_ref . ‘” />’;
}
}
- The topic ‘fatal error re 2.07 wp-includes/functions.php on line 2365’ is closed to new replies.