← All changes
|
features/email-customizer/admin-email-customizer.php
+5
-2
3.9.8
→
4.0.3
View file →
| @@ -1,5 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | +// Exit if accessed directly | |
| 3 | +if ( ! defined( 'ABSPATH' ) ) exit; | |
| 4 | + | |
| 2 | 5 | /** |
| 3 | 6 | * Function that creates the Admin Email Customizer menu |
| 4 | 7 | * |
| 5 | 8 | * @since v.2.0 |
| @@ -101,9 +104,9 @@ | ||
| 101 | 104 | 'default' => $registration_default_email_content, // type of field |
| 102 | 105 | ) |
| 103 | 106 | ); |
| 104 | 107 | |
| 105 | - new PB_Mustache_Generate_Admin_Box( 'aec_default_registration', __( 'Default Registration & Registration with Email Confirmation', 'profile-builder' ), 'profile-builder_page_admin-email-customizer', 'core', $mustache_vars, '', $fields); | |
| 108 | + new PB_Mustache_Generate_Admin_Box( 'aec_default_registration', __( 'Registration: Default & Email Confirmation', 'profile-builder' ), 'profile-builder_page_admin-email-customizer', 'core', $mustache_vars, '', $fields); | |
| 106 | 109 | |
| 107 | 110 | if( PROFILE_BUILDER != 'Profile Builder Free' ){ |
| 108 | 111 | $registration_admin_approval_email_content = __( "<p>New subscriber on {{site_name}}.</p>\n<p>Username:{{username}}</p>\n<p>Email:{{user_email}}</p>\n<p>The Admin Approval feature was activated at the time of registration,\nso please remember that you need to approve this user before he/she can log in!</p>", 'profile-builder' ); |
| 109 | 112 | |
| @@ -163,7 +166,7 @@ | ||
| 163 | 166 | 'default' => $user_password_reset_email_content , // type of field |
| 164 | 167 | ) |
| 165 | 168 | ); |
| 166 | 169 | |
| 167 | - new PB_Mustache_Generate_Admin_Box( 'aec_user_password_reset', __( 'Admin Notification for User Password Reset', 'profile-builder' ), 'profile-builder_page_admin-email-customizer', 'core', $mustache_vars, '', $fields ); | |
| 170 | + new PB_Mustache_Generate_Admin_Box( 'aec_user_password_reset', __( 'User Password Reset', 'profile-builder' ), 'profile-builder_page_admin-email-customizer', 'core', $mustache_vars, '', $fields ); | |
| 168 | 171 | |
| 169 | 172 | } |