diff --git a/src/my-calendar-templating.php b/src/my-calendar-templating.php index 371a13fe..2ca59a6c 100644 --- a/src/my-calendar-templating.php +++ b/src/my-calendar-templating.php @@ -226,7 +226,7 @@ function mc_templates_edit() { return; } if ( 'true' === mc_get_option( 'disable_legacy_templates' ) ) { - echo mc_php_templates_docs(); + echo wp_kses( mc_php_templates_docs(), mc_kses_elements() ); return; } $templates = mc_get_option( 'templates', array() ); @@ -264,7 +264,7 @@ function mc_templates_edit() { $core" ) : ''; ?>
- +

@@ -427,7 +427,7 @@ function mc_templates_edit() {