diff --git a/src/my-calendar-shortcodes.php b/src/my-calendar-shortcodes.php index acaeb598..e1440178 100644 --- a/src/my-calendar-shortcodes.php +++ b/src/my-calendar-shortcodes.php @@ -500,7 +500,7 @@ function mc_calendar_generator_fields( $post, $callback_args ) {

' . __( 'Save this post to update your My Calendar settings.', 'my-calendar' ) . '

'; + echo '

' . esc_html__( 'Save this post to update your My Calendar settings.', 'my-calendar' ) . '

'; } ?>
@@ -537,14 +537,14 @@ function mc_calendar_generator_fields( $post, $callback_args ) {

- +


- + settings if this is left blank. Use none to hide all navigation.", 'my-calendar' ), admin_url( 'admin.php?page=my-calendar-config#mc-output' ) ); + echo wp_kses_post( sprintf( __( "Navigation above and below the calendar: your settings if this is left blank. Use none to hide all navigation.", 'my-calendar' ), esc_url( admin_url( 'admin.php?page=my-calendar-config#mc-output' ) ) ) ); mc_help_link( __( 'Help', 'my-calendar' ), __( 'Navigation Keywords', 'my-calendar' ), 'navigation keywords', 3 ); ?>

@@ -582,11 +582,14 @@ function mc_calendar_generator_fields( $post, $callback_args ) { 'card' => __( 'Card', 'my-calendar' ), 'mini' => __( 'Mini', 'my-calendar' ), ); - $options = ''; + ?> + + ' . $format_labels[ $f ] . ''; + ?> + +

@@ -806,7 +809,7 @@ function mc_calendar_generator_fields( $post, $callback_args ) { custom template.', 'my-calendar' ), admin_url( 'admin.php?page=my-calendar-design#my-calendar-templates' ) ); + echo wp_kses_post( sprintf( __( 'Creates a new custom template.', 'my-calendar' ), esc_url( admin_url( 'admin.php?page=my-calendar-design#my-calendar-templates' ) ) ) ); ?>