From 55e4d49f74d39bb63deac57395d2fd7d0f136aff Mon Sep 17 00:00:00 2001 From: Jackreichert <jack@jackreichert.com> Date: Tue, 20 May 2014 20:36:16 -0400 Subject: [PATCH] whitespace whitespace fixed --- includes/class-syndication-wp-rss-client.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/class-syndication-wp-rss-client.php b/includes/class-syndication-wp-rss-client.php index 88cf013..d2241cd 100644 --- a/includes/class-syndication-wp-rss-client.php +++ b/includes/class-syndication-wp-rss-client.php @@ -224,15 +224,15 @@ class Syndication_WP_RSS_Client extends SimplePie implements Syndication_Client $ids['cats'][] = $result->term_id; } } elseif ( $result = get_term_by( 'name', $cat->term, 'post_tag' ) ) { - if ( isset( $result->term_id ) ) { - $ids['tags'][] = $result->term_id; - } + if ( isset( $result->term_id ) ) { + $ids['tags'][] = $result->term_id; + } } else { - // creates if not - $result = wp_insert_term( $cat->term, 'category' ); - if ( isset( $result->term_id ) ) { - $ids['cats'][] = $result->term_id; - } + // creates if not + $result = wp_insert_term( $cat->term, 'category' ); + if ( isset( $result->term_id ) ) { + $ids['cats'][] = $result->term_id; + } } } -- GitLab