### Eclipse Workspace Patch 1.0
#P wordpress
Index: wp-includes/category-template.php
===================================================================
--- wp-includes/category-template.php	(revision 15679)
+++ wp-includes/category-template.php	(working copy)
@@ -248,14 +248,12 @@
  *
  * @since 1.2.0
  *
- * @uses has_term()
- *
  * @param int|string|array $category Category ID, name or slug, or array of said.
  * @param int|object $_post Optional. Post to check instead of the current post. (since 2.7.0)
  * @return bool True if the current post is in any of the given categories.
  */
 function in_category( $category, $post = null ) {
-	return has_term( $category, 'category', $post );
+	return has_term( 'category', $category, $post );
 }
 
 /**
@@ -962,14 +960,12 @@
  *
  * @since 3.1.0
  *
- * @uses has_term()
- *
  * @param string|int|array $tag Optional. The category name/term_id/slug or array of them to check for.
  * @param int|object $post Optional. Post to check instead of the current post.
  * @return bool True if the current post has any of the given categories (or any category, if no category specified).
  */
 function has_category( $category = '', $post = null ) {
-	return has_term( $category, 'category', $post );
+	return has_term( 'category', $category, $post );
 }
 
 /**
@@ -985,34 +981,29 @@
  *
  * @since 2.6.0
  *
- * @uses has_term()
- *
  * @param string|int|array $tag Optional. The tag name/term_id/slug or array of them to check for.
  * @param int|object $post Optional. Post to check instead of the current post. (since 2.7.0)
  * @return bool True if the current post has any of the given tags (or any tag, if no tag specified).
  */
 function has_tag( $tag = '', $post = null ) {
-	return has_term( $tag, 'post_tag', $post );
+	return has_term( 'post_tag', $tag, $post );
 }
 
 /**
- * Check if the current post has any of given terms.
+ * Check if the current post has one of given term(s).
  * 
- * The given terms are checked against the post's terms' term_ids, names and slugs.
- * Terms given as integers will only be checked against the post's terms' term_ids.
- * If no terms are given, determines if post has any terms.
- *
+ * this function wrap is_object_in_term() and maps the arguments
+ * accordingly. {@see is_object_in_term} for parameter details.
+ * 
  * @since 3.1.0
  *
- * @uses is_object_in_term()
- *
- * @param string|int|array $term Optional. The term name/term_id/slug or array of them to check for.
+ * @param string $taxonomy
+ * @param string|int|array $term The term name/term_id/slug or array of them to check for.
  * @param int|post object Optional.  Post to check instead of the current post.
- * @since 2.7.0
  * @return bool True if the current post has any of the given tags (or any tag, if no tag specified).
  */
-function has_term( $term = '', $taxonomy = '', $post = null ) {
-	$post = get_post($post);
+function has_term( $taxonomy, $term,  $post = null ) {
+	$post = get_post( $post );
 
 	if ( !$post )
 		return false;

