Fix a "__" that should be "esc_html__" (triggering deprecation notice)
This commit is contained in:
parent
9821d5d0fe
commit
0853bf411d
|
@ -312,8 +312,7 @@ class WC_Admin_Notices {
|
|||
* @deprecated 4.6.0
|
||||
*/
|
||||
public static function install_notice() {
|
||||
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', __( 'Onboarding is maintained in WooCommerce Admin.', 'woocommerce' ) );
|
||||
_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', esc_html__( 'Onboarding is maintained in WooCommerce Admin.', 'woocommerce' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue