OSDN Git Service

Use empty() check instead of count()
authorJames Collins <james@jamesc.id.au>
Wed, 5 Jun 2013 13:41:29 +0000 (23:41 +1000)
committerJames Collins <james@jamesc.id.au>
Wed, 5 Jun 2013 13:41:29 +0000 (23:41 +1000)
commit2e220527ac4ad325a357c1d7ccedcc8d8b96c66c
tree61f8617fd1e9a6530ada2504b0e08d7d0cd6cdca
parent186b0480e3b9940afdad73921abfe56842803642
Use empty() check instead of count()

Requested in https://github.com/wp-cli/wp-cli/pull/492#discussion_r4545088.
php/WP_CLI/CommandWithUpgrade.php