Skip to content

Commit

Permalink
Fix migration lock displays
Browse files Browse the repository at this point in the history
  • Loading branch information
corsacca committed Dec 15, 2022
1 parent a7ab264 commit fc1a365
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dt-core/admin/menu/tabs/tab-utilities-overview.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,17 @@ public function box_message() {
</tr>
<tr>
<td>
<?php echo esc_html( sprintf( __( 'D.T Migration version: %1$s of %2$s' ), Disciple_Tools_Migration_Engine::get_current_db_migration(), Disciple_Tools_Migration_Engine::$migration_number ) ); ?>.
Lock: <?php echo esc_html( get_transient( 'dt_migration_lock' ) ?? 0 ) ?>
<?php echo esc_html( sprintf( 'D.T Migration version: %1$s of %2$s', Disciple_Tools_Migration_Engine::get_current_db_migration(), Disciple_Tools_Migration_Engine::$migration_number ) ); ?>.
Lock: <?php echo esc_html( get_transient( 'dt_migration_lock' ) ?: 0 ) ?>
</td>
<td>
<button name="reset_lock" value="dt_migration_lock">Reset Lock</button>
</td>
</tr>
<tr>
<td>
<?php echo esc_html( sprintf( __( 'Mapping migration version: %1$s of %2$s' ), DT_Mapping_Module_Migration_Engine::get_current_db_migration(), DT_Mapping_Module_Migration_Engine::$migration_number ) ); ?>.
Lock: <?php echo esc_html( get_transient( 'dt_mapping_module_migration_lock' ) ?? 0 ) ?>
<?php echo esc_html( sprintf( 'Mapping migration version: %1$s of %2$s', DT_Mapping_Module_Migration_Engine::get_current_db_migration(), DT_Mapping_Module_Migration_Engine::$migration_number ) ); ?>.
Lock: <?php echo esc_html( get_transient( 'dt_mapping_module_migration_lock' ) ?: 0 ) ?>
</td>
<td>
<button name="reset_lock" value="dt_mapping_module_migration_lock">Reset Lock</button>
Expand Down

0 comments on commit fc1a365

Please sign in to comment.