我在管理面板中发现以下错误。
Deprecated : contextual_help has been deprecated since version 3.3.0. Use get_current_screen () -> add_help_tab (), get_current_screen () -> remove_help_tab () instead. in /var/www/html/invertir/wp-includes/functions.php on line 5088
我在/var/www/html/invertir/wp-includes/functions中得到了以下代码。php在线5088
if ( WP_DEBUG && apply_filters( \'deprecated_hook_trigger_error\', true ) ) {
$message = empty( $message ) ? \'\' : \' \' . $message;
if ( ! is_null( $replacement ) ) {
trigger_error(
sprintf(
/* translators: 1: WordPress hook name, 2: Version number, 3: Alternative hook name. */
__( \'%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.\' ),
$hook,
$version,
$replacement
) . $message,
E_USER_DEPRECATED
);
} else {
trigger_error(
sprintf(
/* translators: 1: WordPress hook name, 2: Version number. */
__( \'%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.\' ),
$hook,
$version
) . $message,
E_USER_DEPRECATED
);
}
}
}
我如何解决这个问题?