From 210ad2f63f09cc940325078b99a1b2c0992572dc Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Sun, 21 Apr 2013 07:32:11 -0700 Subject: [PATCH] Balance ze curly braces to meet WP standards https://github.com/wp-cli/wp-cli/pull/407/files#r3886566 --- php/commands/term.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/php/commands/term.php b/php/commands/term.php index 12e56bda..8adba26c 100644 --- a/php/commands/term.php +++ b/php/commands/term.php @@ -59,14 +59,15 @@ class Term_Command extends WP_CLI_Command { if ( isset( $assoc_args['porcelain'] ) ) { $porcelain = true; unset( $assoc_args['porcelain'] ); - } else + } else { $porcelain = false; + } $ret = wp_insert_term( $term, $taxonomy, $assoc_args ); - if ( is_wp_error( $ret ) ) + if ( is_wp_error( $ret ) ) { WP_CLI::error( $ret->get_error_message() ); - else { + } else { if ( $porcelain ) WP_CLI::line( $ret['term_id'] ); else -- 2.11.0