Skip to content

Commit e46d52c

Browse files
committed
Exclude abstraction from updates to run
1 parent 681daf5 commit e46d52c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

classes/class-plugin-migrations.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ function ( $file ) {
8585
);
8686
\sort( $updates );
8787

88+
// Remove "class-update" from the updates.
89+
$updates = \array_filter(
90+
$updates,
91+
function ( $update ) {
92+
return $update !== 'class-update';
93+
}
94+
);
95+
8896
// Run the upgrades.
8997
foreach ( $updates as $version_int ) {
9098
$upgrade_class = 'Progress_Planner\Update\Update_' . $version_int;

0 commit comments

Comments
 (0)