Permalink
Browse files

added twitter posts to blog with tweaks to display categories

  • Loading branch information...
1 parent c6d9bed commit 21e345744a1cd72e334ac27bdfc0c254e2ee9259 @ullasjos ullasjos committed Feb 26, 2014
Showing with 0 additions and 4 deletions.
  1. +0 −4 plugins/twitter-posts-to-blog/functions.php
@@ -591,8 +591,6 @@ function dg_tw_publish_tweet($tweet,$query = false) {
case "energydatagov":
$category_id = get_cat_ID("energy");
break;
- default:
- $category_id="";
}
}
wp_set_post_categories( $dg_tw_this_post, array($category_id));
@@ -683,8 +681,6 @@ function dg_tw_publish_mega_tweet($tweets) {
case "energydatagov":
$category_id = get_cat_ID("energy");
break;
- default:
- $category_id="";
}
}
wp_set_post_categories( $dg_tw_this_post, array($category_id));

0 comments on commit 21e3457

Please sign in to comment.