Skip to content

Commit 17dd351

Browse files
committed
Update my-calendar-event-editor.php
1 parent afb5d64 commit 17dd351

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/my-calendar-event-editor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2040,7 +2040,8 @@ function mc_form_fields( $data, $mode, $event_id ) {
20402040
<?php
20412041
}
20422042
$views = mc_get_option( 'views' );
2043-
if ( ( current_user_can( 'mc_edit_templates' ) || current_user_can( 'manage_options' ) ) && in_array( 'single', $views, true ) ) { ?>
2043+
if ( ( current_user_can( 'mc_edit_templates' ) || current_user_can( 'manage_options' ) ) && in_array( 'single', $views, true ) ) {
2044+
?>
20442045
<div class="postbox">
20452046
<h2><button type="button" class="button button-secondary has-disclosure" aria-expanded="false" aria-controls="template-tag-preview"><?php esc_html_e( 'Preview Template Output', 'my-calendar' ); ?></button></h2>
20462047
<div class="inside" id="template-tag-preview">

0 commit comments

Comments
 (0)