Fix error message
This commit is contained in:
parent
e0d1cfc7b0
commit
0c7218047c
|
@ -76,11 +76,9 @@ abstract class WC_Deprecated_Hooks {
|
|||
|
||||
/**
|
||||
* Display a deprecated notice for old hooks.
|
||||
*
|
||||
* @since 2.0
|
||||
*/
|
||||
protected static function display_notice( $old_hook, $new_hook ) {
|
||||
_deprecated_function( sprintf( 'The "%s" hook uses out of date data structures so', esc_html( $old_hook ) ), false, esc_html( $new_hook ) );
|
||||
protected function display_notice( $old_hook, $new_hook ) {
|
||||
_deprecated_function( sprintf( 'The "%s" hook uses out of date data structures and', esc_html( $old_hook ) ), WC_VERSION, esc_html( $new_hook ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue