Merge pull request #2866 from reinoudvansanten/master

Patch for #2865
This commit is contained in:
Mike Jolley 2013-04-04 09:17:54 -07:00
commit 3401fb32b0
1 changed files with 10 additions and 0 deletions

View File

@ -261,6 +261,16 @@ abstract class WC_Email extends WC_Settings_API {
}
}
/**
* Proxy to parent's get_option and attempty to localize the result using gettext.
*
* @access public
* @return string
*/
function get_option($opt) {
return __( parent::get_option( $opt ) );
}
/**
* Checks if this email is enabled and will be sent.
*