Merge pull request #7272 from bryceadams/patch-7270
Fix 5.2 func_args issue
This commit is contained in:
commit
d68dc3c6e0
|
@ -84,7 +84,8 @@ class WC_Emails {
|
|||
*/
|
||||
public static function send_transactional_email() {
|
||||
self::instance();
|
||||
do_action_ref_array( current_filter() . '_notification', func_get_args() );
|
||||
$args = func_get_args();
|
||||
do_action_ref_array( current_filter() . '_notification', $args );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue