pulled the latest

This commit is contained in:
John Clause 2015-02-17 20:30:16 -07:00
commit 7197afae08
1 changed files with 3 additions and 1 deletions

View File

@ -335,7 +335,9 @@ class WC_Email extends WC_Settings_API {
* @return string
*/
public function get_option( $key, $empty_value = null ) {
return apply_filters( 'woocommerce_email_get_option', __( parent::get_option( $key, $empty_value ) ), $this, $key, $empty_value );
$value = parent::get_option( $key, $empty_value );
return apply_filters( 'woocommerce_email_get_option', __( $value ), $this, $value, $key, $empty_value );
}
/**