Skip to content

Commit

Permalink
Refresh the page to open the link
Browse files Browse the repository at this point in the history
  • Loading branch information
renintw committed Dec 11, 2024
1 parent 9ec5620 commit 359594b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function render( $attributes, $content, $block ) {
$lesson_plan_url = get_permalink( $lesson_plan->ID );
return sprintf(
// If changing classname here, you'd also need to update it in style.scss and view.js.
'<div class="wporg-learn-lesson-facilitator-notes-label"><a href="%s" target="_blank">%s</a></div>',
'<div class="wporg-learn-lesson-facilitator-notes-label"><a href="%s">%s</a></div>',
esc_url( $lesson_plan_url ),
esc_html__( 'Facilitator Note', 'wporg-learn' )
);
Expand Down

0 comments on commit 359594b

Please sign in to comment.