Fix email subjects Closes #2944

This commit is contained in:
Mike Jolley 2013-04-12 09:32:55 +01:00
parent 1e33ccb6c8
commit 85f357b375
2 changed files with 3 additions and 2 deletions

View File

@ -267,8 +267,8 @@ abstract class WC_Email extends WC_Settings_API {
* @access public
* @return string
*/
function get_option( $opt ) {
return __( parent::get_option( $opt ) );
function get_option( $key, $empty_value = null ) {
return __( parent::get_option( $key, $empty_value ) );
}
/**

View File

@ -168,6 +168,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
= X =
* Feature - Option for GA _setDomainName.
* Fix - Allow extra flat rate options even if main rate is 0.
* Fix - Fix email subject lines if options not set.
= 2.0.6 - 10/04/2013 =
* Tweak/Fix - Merge taxes by CODE so totals are displayed clearer. Also added additonal function for getting merged tax totals, and to keep compatibility with themes.