Fix PHP warning in log_wp_mail()