Making WordPress.org


Ignore:
Timestamp:
08/26/2024 01:46:57 AM (2 years ago)
Author:
adamwood
Message:

Learn: Sync with git WordPress/learn@f972c5f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/inc/block-hooks.php

    r13938 r13990  
    9393        $label = '';
    9494        while ( $html->next_tag( array( 'class_name' => 'wp-block-sensei-lms-course-outline-lesson' ) ) ) {
    95                 if ( $html->has_class( 'is-complete' ) ) {
     95                if ( $html->has_class( 'is-complete' ) || $html->has_class( 'is-passed' ) ) {
    9696                        $label = __( 'Completed', 'wporg-learn' );
    9797                } else if ( $html->has_class( 'is-in-progress' ) ) {
Note: See TracChangeset for help on using the changeset viewer.