Merge pull request #7272 from bryceadams/patch-7270

Fix 5.2 func_args issue
This commit is contained in:
Mike Jolley 2015-02-03 10:22:07 +00:00
commit d68dc3c6e0
1 changed files with 2 additions and 1 deletions

View File

@ -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 );
}
/**