PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
← All changes | inc/admin/meta-box/fields/email-content.php +6 -6 4.1.74.4.8 View file →
@@ -1,7 +1,7 @@
1 1 <?php
2 -wp_enqueue_script( 'learn-press-email-content-field', LP()->plugin_url( 'inc/admin/meta-box/assets/email-content.js' ) );
3 -wp_enqueue_style( 'learn-press-email-content-field', LP()->plugin_url( 'inc/admin/meta-box/assets/email-content.css' ) );
2 +wp_enqueue_script( 'learn-press-email-content-field', LearnPress::instance()->plugin_url( 'inc/admin/meta-box/assets/email-content.js' ) );
3 +wp_enqueue_style( 'learn-press-email-content-field', LearnPress::instance()->plugin_url( 'inc/admin/meta-box/assets/email-content.css' ) );
4 4
5 5 if ( ! isset( $value ) ) {
6 6 return;
7 7 }
@@ -36,16 +36,16 @@
36 36 <label><?php echo wp_kses_post( $value['title'] ); ?> <?php echo wp_kses_post( $tooltip_html ?? '' ); ?></label>
37 37 </th>
38 38 <td class="forminp lp-metabox-field__email-content forminp-<?php echo esc_attr( sanitize_title( $value['type'] ) ); ?>">&lrm;
39 39 <?php
40 - learn_press_email_formats_dropdown(
40 + /*learn_press_email_formats_dropdown(
41 41 array(
42 42 'name' => $value['id'] . '[format]',
43 43 'class' => 'lp-email-format',
44 44 'selected' => $email_format,
45 - 'option_none' => array( '' => esc_html__( 'General Setting', 'learnpress' ) ),
45 + 'option_none' => array( '' => esc_html__( 'General Settings', 'learnpress' ) ),
46 46 )
47 - );
47 + );*/
48 48 ?>
49 49 <div class="lp-email-templates">
50 50 <?php
51 51 $templates = learn_press_email_formats();
@@ -131,9 +131,9 @@
131 131 <?php endforeach; ?>
132 132 </ol>
133 133
134 134 <p class="description">
135 - <?php esc_html_e( 'Click on any variables above to insert them to the email.', 'learnpress' ); ?>
135 + <?php esc_html_e( 'Click on any variables above to insert them into the email.', 'learnpress' ); ?>
136 136 </p>
137 137 <?php endif; ?>
138 138 <?php endif; ?>
139 139 </div>