Decode Closes #2728.
This commit is contained in:
parent
d6ec17604f
commit
75a874ea7a
|
@ -373,7 +373,7 @@ abstract class WC_Email extends WC_Settings_API {
|
|||
* @return string
|
||||
*/
|
||||
function get_from_name() {
|
||||
return esc_html( get_option( 'woocommerce_email_from_name' ) );
|
||||
return wp_specialchars_decode( esc_html( get_option( 'woocommerce_email_from_name' ) ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -98,7 +98,7 @@ class WC_Emails {
|
|||
if ( ! $this->_from_name )
|
||||
$this->_from_name = get_option( 'woocommerce_email_from_name' );
|
||||
|
||||
return $this->_from_name;
|
||||
return wp_specialchars_decode( $this->_from_name );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue