diff --git a/includes/wc-core-functions.php b/includes/wc-core-functions.php index 096ec27881e..e0d84f4fc38 100644 --- a/includes/wc-core-functions.php +++ b/includes/wc-core-functions.php @@ -1530,8 +1530,11 @@ function wc_get_logger() { wc_doing_it_wrong( __FUNCTION__, sprintf( - __( 'The class %s provided by woocommerce_logging_class filter must implement WC_Logger_Interface.', 'woocommerce' ), - esc_html( is_object( $class ) ? get_class( $class ) : $class ) + /* translators: 1: class name 2: woocommerce_logging_class 3: WC_Logger_Interface */ + __( 'The class %1$s provided by %2$s filter must implement %3$s.', 'woocommerce' ), + '' . esc_html( is_object( $class ) ? get_class( $class ) : $class ) . '', + 'woocommerce_logging_class', + 'WC_Logger_Interface' ), '3.0' );