Skip to content

Commit

Permalink
Learn: Sync with git WordPress/Learn@e8734f1
Browse files Browse the repository at this point in the history
git-svn-id: https://meta.svn.wordpress.org/sites/trunk@14267 74240141-8908-4e6f-9713-ba540dce6ec7
  • Loading branch information
ren committed Dec 11, 2024
1 parent 38818ba commit 2b603c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ function update_quiz_actions( $block_content ) {
function is_quiz_ungraded() {
$lesson_id = Sensei_Utils::get_current_lesson();
$quiz_id = Sensei()->lesson->lesson_quizzes( $lesson_id );
if ( ! $quiz_id ) {
return false;
}
$user_id = get_current_user_id();
$quiz_progress = Sensei()->quiz_progress_repository->get( $quiz_id, $user_id );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Author: WordPress.org
* Author URI: http://wordpress.org/
* Description: A theme for learn.wordpress.org, built in 2024.
* Version: 1.0.0-e7303ed
* Version: 1.0.0-813b159
* License: GNU General Public License v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: wporg-learn
Expand Down

0 comments on commit 2b603c7

Please sign in to comment.