Hook wp_smush_should_skip_parse deprecated
-
Hi!
I am encountering the following error every time a page is loaded on my site, despite having the latest updates:
Deprecated: The hook wp_smush_should_skip_parse has been deprecated since version 3.16.1! Use wp_smush_should_skip_lazy_load instead. in /home/mysite/wp-includes/functions.php on line 6085
Deprecated: The hook wp_smush_should_skip_parse has been deprecated since version 3.16.1! Use wp_smush_should_skip_lazy_load instead. in /home/mysite/wp-includes/functions.php on line 6085
I noticed that on line 6085 (and nearby lines) there is the following code:
do_action( ‘wp_trigger_error_run’, $function_name, $message, $error_level );
if ( ! empty( $function_name ) ) { $message = sprintf( '%s(): %s', $function_name, $message ); } $message = wp_kses( $message, array( 'a' => array( 'href' => true ), 'br' => array(), 'code' => array(), 'em' => array(), 'strong' => array(), ), array( 'http', 'https' ) ); trigger_error( $message, $error_level );
}
Could you please advise on how to resolve this issue?
Thank you!
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.