PluginProbe
Timetics – Appointment Booking Calendar & Scheduling / 1.0.64
Timetics – Appointment Booking Calendar & Scheduling v1.0.64
1.0.64 1.0.62 1.0.63 1.0.61 1.0.60 1.0.59 1.0.58 1.0.57 1.0.56 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 All 65 releases
← All changes | core/emails/re-invite-staff.php +4 -2 1.0.17 → 1.0.64 View file →
@@ -5,8 +5,10 @@
5 5 * @package Timetics
6 6 */
7 7 namespace Timetics\Core\Emails;
8 8
9 +defined( 'ABSPATH' ) || exit;
10 +
9 11 use Timetics\Core\Staffs\Staff;
10 12
11 13 class Re_Invite_Staff extends Email {
12 14
@@ -62,10 +64,10 @@
62 64 public function get_template() {
63 65 $user_login = $this->staff->user_login;
64 66 $locale = get_user_locale($this->staff);
65 67 $reset_key = get_password_reset_key($this->staff);
66 - $reset_url = site_url( "wp-login.php?action=rp&key={$reset_key}&login={$user_login}&wp_lang={$locale}" );
68 + $timetics_reset_url = site_url( "wp-login.php?action=rp&key={$reset_key}&login={$user_login}&wp_lang={$locale}" );
67 69
68 - $reset_url = apply_filters( 'timetics_staff_password_reset_url', $reset_url, $reset_key, $user_login, $locale );
70 + $timetics_reset_url = apply_filters( 'timetics_staff_password_reset_url', $timetics_reset_url, $reset_key, $user_login, $locale );
69 71 include_once TIMETICS_PLUGIN_DIR . '/templates/emails/new-staff.php';
70 72 }
71 73 }