Changeset 13990 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/inc/block-hooks.php
- Timestamp:
- 08/26/2024 01:46:57 AM (17 months ago)
- 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 93 93 $label = ''; 94 94 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' ) ) { 96 96 $label = __( 'Completed', 'wporg-learn' ); 97 97 } else if ( $html->has_class( 'is-in-progress' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.