Skip to content

Commit

Permalink
Change quiz grade notice title to an h2
Browse files Browse the repository at this point in the history
  • Loading branch information
donnapep committed Oct 16, 2023
1 parent 31629f2 commit 57f6d8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/course-theme/quiz-grade-notice.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
/**
* Notices map to echo notices HTML.
*
* @param array $notice
* @param array $notice Quiz grade notice.
*/
function sensei_quiz_grade_notices_map( $notice ) {
?>
<div class='sensei-course-theme__frame sensei-lms-notice sensei-course-theme-quiz-graded-notice'>
<?php if ( isset( $notice['title'] ) && ! empty( $notice['title'] ) ) { ?>
<div class='sensei-course-theme-quiz-graded-notice__title'><?php echo wp_kses_post( $notice['title'] ); ?></div>
<h2 class='sensei-course-theme-quiz-graded-notice__title'><?php echo wp_kses_post( $notice['title'] ); ?></h2>
<?php } ?>

<?php if ( isset( $notice['text'] ) && ! empty( $notice['text'] ) ) { ?>
Expand Down

0 comments on commit 57f6d8a

Please sign in to comment.