Skip to content

Commit 2e7b7d6

Browse files
swissspidyCopilot
andauthored
Update src/Core_Command.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 93f028b commit 2e7b7d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ public function version_db_actual( $args = [], $assoc_args = [] ) {
999999
$details = self::get_wp_details();
10001000

10011001
// Get the actual database version from the options table
1002-
$actual_db_version = get_option( 'db_version' );
1002+
$actual_db_version = (int) get_option( 'db_version' );
10031003

10041004
echo Utils\mustache_render(
10051005
self::get_template_path( 'versions.mustache' ),

0 commit comments

Comments
 (0)