Skip to content

Commit

Permalink
Stray semicolon in HTML; don't use same meta box ID as in pro
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 12, 2025
1 parent 013d494 commit 2e2609b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/includes/general-utilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function mc_flatten_array( $events ) {
* @return void
*/
function mc_add_outer_box() {
add_meta_box( 'mcs_add_event', __( 'My Calendar Event', 'my-calendar' ), 'mc_add_inner_box', 'mc-events', 'side', 'high' );
add_meta_box( 'mc_add_event', __( 'My Calendar Event', 'my-calendar' ), 'mc_add_inner_box', 'mc-events', 'side', 'high' );
}

/**
Expand Down Expand Up @@ -116,7 +116,7 @@ function mc_add_inner_box() {
<?php
}
?>
<p><a href="<?php echo esc_url( $url ); ?>"><?php esc_html_e( 'Edit event', 'my-calendar' ); ?></a></p>';
<p><a href="<?php echo esc_url( $url ); ?>"><?php esc_html_e( 'Edit event', 'my-calendar' ); ?></a></p>
<?php
}
}
Expand Down

0 comments on commit 2e2609b

Please sign in to comment.