Typo in get_from_name method.

Closes #7388
This commit is contained in:
Mike Jolley 2015-02-12 13:20:23 +00:00
parent 16e14914d8
commit 2347af7e73
2 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,7 @@ class WC_Emails {
* @return string
*/
public function get_from_name() {
return wp_specialchars_decode( et_option( 'woocommerce_email_from_name' ) );
return wp_specialchars_decode( get_option( 'woocommerce_email_from_name' ) );
}
/**

View File

@ -139,6 +139,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
== Changelog ==
* Fix - Potential notice with preg_match wildcard search, if used incorrectly.
* Fix - Typo in get_from_name method.
* Tweak - Only run the uninstaller if the "Uninstall on Delete" option is checked in system status.
= 2.3.2 - 12/02/2015 =