Skip to content

Commit 6261f2f

Browse files
committed
Fix broken else statement
1 parent 1e57980 commit 6261f2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Transient_Command.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,9 @@ public function delete( $args, $assoc_args ) {
212212
public function type() {
213213
if ( wp_using_ext_object_cache() ) {
214214
$message = 'Transients are saved to the object cache.';
215-
else
215+
} else {
216216
$message = 'Transients are saved to the database.';
217+
}
217218

218219
WP_CLI::line( $message );
219220
}

0 commit comments

Comments
 (0)