Skip to content

Commit

Permalink
Keep render_quiz_question deprecated as it's not used
Browse files Browse the repository at this point in the history
  • Loading branch information
donnapep committed Aug 19, 2024
1 parent 4482a5c commit bd0e45a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion includes/blocks/class-sensei-block-quiz-question.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,17 @@ public function __construct() {
/**
* Renders the block as an empty string.
*
* @deprecated 4.24.2
*
* @param array $attributes The block attributes.
* @param string $content The block content.
*
* @return string The block HTML.
*/
public function render_quiz_question(): string {
public function render_quiz_question( array $attributes, string $content ): string {
// phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
_deprecated_function( __METHOD__, '4.24.2', '__return_empty_string' );

return '';
}
}

0 comments on commit bd0e45a

Please sign in to comment.