Skip to content

Commit 3a7938d

Browse files
authored
Merge branch 'develop' into ari/auto-register-if-branded
2 parents 4ae6d71 + 8b5a513 commit 3a7938d

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
= 1.9.0 =
2+
3+
Bugs we fixed:
4+
5+
* Fix missing content and streak badges after they are all completed.
6+
7+
18
= 1.8.0 =
29

310
Enhancements:

classes/admin/widgets/class-badge-streak.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function get_details( $context ) {
3737
// Get the badge to display.
3838
foreach ( $badges as $badge ) {
3939
$progress = $badge->get_progress();
40-
if ( 100 > $progress['progress'] ) {
40+
if ( 100 >= $progress['progress'] ) {
4141
$result[ $context ] = $badge;
4242
break;
4343
}

classes/ui/class-branding.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ final class Branding {
1818
* @var array<string, int>
1919
*/
2020
const BRANDING_IDS = [
21-
// TODO: Change this to the default value of 0.
22-
'default' => 5159,
21+
'default' => 0,
2322
];
2423

2524
/**

0 commit comments

Comments
 (0)