Changeset 1835806
- Timestamp:
- 03/07/2018 11:01:07 PM (8 years ago)
- Location:
- event-scheduler/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
README_DE.txt (modified) (2 diffs)
-
event-scheduler.php (modified) (1 diff)
-
public/class-event-scheduler-public.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
event-scheduler/trunk/README.txt
r1823746 r1835806 5 5 Requires at least: 4 6 6 Tested up to: 4.9.4 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later … … 41 41 == Changelog == 42 42 43 = 1.0.2 = 44 * Fix in the mail notification, wordpress admin mail is now used as sender. 45 43 46 = 1.0.1 = 44 47 * Small fix for accepting and declining events -
event-scheduler/trunk/README_DE.txt
r1823746 r1835806 5 5 Requires at least: 4 6 6 Tested up to: 4.9.4 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later … … 39 39 == Changelog == 40 40 41 = 1.0.2 = 42 * Fix in der Benachrichtigungsmail, zudem wird nun die Admin-Mail als Absender verwendet. 43 41 44 = 1.0.1 = 42 45 * Kleiner Fix beim Zu- und Absagen von Events -
event-scheduler/trunk/event-scheduler.php
r1823967 r1835806 17 17 * Plugin URI: https://github.com/poisl/event-scheduler 18 18 * Description: Event scheduler can be used for planning of recurring events. 19 * Version: 1.0. 119 * Version: 1.0.2 20 20 * Author: Thomas Poisl 21 21 * Author URI: https://profiles.wordpress.org/poisl -
event-scheduler/trunk/public/class-event-scheduler-public.php
r1823639 r1835806 372 372 373 373 $notify_users = $div->findUndecidedParticipants( $events[0]->uid ); 374 375 $admin_email = get_option('admin_email'); 376 $admin_info = get_user_by('email', $admin_email); 374 377 375 378 foreach ( $notify_users as $row ) { … … 395 398 ), 396 399 $options['event_notification_body'] 397 ) ); 398 399 $headers = array( 'Content-Type: text/html; charset=UTF-8' ); 400 ), ENT_QUOTES); 401 402 $headers = "Content-Type: text/html; charset=UTF-8" . "\r\n"; 403 $headers .= "From: \"" . $admin_info->first_name . " " . $admin_info->last_name . "\" <" . $admin_email . ">" . "\r\n"; 400 404 401 405 // Send mail
Note: See TracChangeset
for help on using the changeset viewer.