Fix a "__" that should be "esc_html__" (triggering deprecation notice)

This commit is contained in:
Nestor Soriano 2022-01-13 09:52:55 +01:00
parent 9821d5d0fe
commit 0853bf411d
No known key found for this signature in database
GPG Key ID: 08110F3518C12CAD
1 changed files with 1 additions and 2 deletions

View File

@ -312,8 +312,7 @@ class WC_Admin_Notices {
* @deprecated 4.6.0 * @deprecated 4.6.0
*/ */
public static function install_notice() { public static function install_notice() {
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped _deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', esc_html__( 'Onboarding is maintained in WooCommerce Admin.', 'woocommerce' ) );
_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', __( 'Onboarding is maintained in WooCommerce Admin.', 'woocommerce' ) );
} }
/** /**