Skip to content

Commit

Permalink
Unneeded wp_kses_post call
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Aug 4, 2024
1 parent 0170d5c commit d2a3094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/my-calendar-help.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ function mc_print_contextual_help() {
<?php
echo wp_kses( mc_get_help_text( $id ), mc_kses_elements() );
$return_url = add_query_arg( 's', $query, 'https://docs.joedolson.com/my-calendar/' );
$return = wp_kses_post( '<p class="docs-link"><a target="_parent" href="' . esc_url( $return_url ) . '">' . __( 'Documentation', 'my-calendar' ) . '</a></p>' );
$return = '<p class="docs-link"><a target="_parent" href="' . esc_url( $return_url ) . '">' . __( 'Documentation', 'my-calendar' ) . '</a></p>';
echo wp_kses_post( mc_get_help_footer( $return ) );
?>
</div>
Expand Down

0 comments on commit d2a3094

Please sign in to comment.