Decode Closes #2728.

This commit is contained in:
Mike Jolley 2013-03-18 13:37:07 +00:00
parent d6ec17604f
commit 75a874ea7a
2 changed files with 2 additions and 2 deletions

View File

@ -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' ) ) );
}
/**

View File

@ -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 );
}
/**