From 6b26aad4a4bd9c53c5f2294ee02848687978a74f Mon Sep 17 00:00:00 2001 From: scribu Date: Thu, 24 Oct 2013 03:13:52 +0300 Subject: [PATCH] global flags have 'runtime' key '', which is falsy --- php/WP_CLI/Configurator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/WP_CLI/Configurator.php b/php/WP_CLI/Configurator.php index ff2d2045..7be52c1b 100644 --- a/php/WP_CLI/Configurator.php +++ b/php/WP_CLI/Configurator.php @@ -64,7 +64,7 @@ class Configurator { foreach ( $mixed_args as $tmp ) { list( $key, $value ) = $tmp; - if ( isset( $this->spec[ $key ] ) && $this->spec[ $key ]['runtime'] ) { + if ( isset( $this->spec[ $key ] ) && $this->spec[ $key ]['runtime'] !== false ) { $details = $this->spec[ $key ]; if ( isset( $details['deprecated'] ) ) { -- 2.11.0