Index: wp-includes/post-template.php
===================================================================
--- wp-includes/post-template.php	(revision 16330)
+++ wp-includes/post-template.php	(working copy)
@@ -349,7 +349,7 @@
 
 	// Categories
 	if ( is_object_in_taxonomy( $post->post_type, 'category' ) ) {
-		foreach ( (array) get_the_category($post->ID) as $cat ) {
+		foreach ( (array) get_the_categories($post->ID) as $cat ) {
 			if ( empty($cat->slug ) )
 				continue;
 			$classes[] = 'category-' . sanitize_html_class($cat->slug, $cat->cat_ID);
Index: wp-includes/link-template.php
===================================================================
--- wp-includes/link-template.php	(revision 16330)
+++ wp-includes/link-template.php	(working copy)
@@ -119,7 +119,7 @@
 
 		$category = '';
 		if ( strpos($permalink, '%category%') !== false ) {
-			$cats = get_the_category($post->ID);
+			$cats = get_the_categories($post->ID);
 			if ( $cats ) {
 				usort($cats, '_usort_terms_by_ID'); // order by ID
 				$category = $cats[0]->slug;
Index: wp-includes/deprecated.php
===================================================================
--- wp-includes/deprecated.php	(revision 16330)
+++ wp-includes/deprecated.php	(working copy)
@@ -72,17 +72,17 @@
  *
  * @since 0.71
  * @deprecated 0.71
- * @deprecated use get_the_category()
- * @see get_the_category()
+ * @deprecated use get_the_categories()
+ * @see get_the_categories()
  *
  * @param bool $echo
  * @return null|int
  */
 function the_category_ID($echo = true) {
-	_deprecated_function( __FUNCTION__, '0.71', 'get_the_category()' );
+	_deprecated_function( __FUNCTION__, '0.71', 'get_the_categories()' );
 
 	// Grab the first cat in the list.
-	$categories = get_the_category();
+	$categories = get_the_categories();
 	$cat = $categories[0]->term_id;
 
 	if ( $echo )
@@ -108,7 +108,7 @@
 	_deprecated_function( __FUNCTION__, '0.71', 'get_the_category_by_ID()' );
 
 	// Grab the first cat in the list.
-	$categories = get_the_category();
+	$categories = get_the_categories();
 	$currentcat = $categories[0]->category_id;
 	if ( $currentcat != $previouscat ) {
 		echo $before;
@@ -2556,3 +2556,19 @@
 
 	return false;
 }
+
+/**
+ * Retrieve post categories.
+ *
+ * @since 0.71
+ * @uses $post
+ * @deprecated 3.1
+ * @deprecated Use get_post_categories() instead.
+ *
+ * @param int $id Optional, default to current post ID. The post ID.
+ * @return array
+ */
+function get_the_category( $id = false ) {
+	_deprecated_function( __FUNCTION__, '3.1', 'get_the_categories()' );
+	return get_the_categories( $id );
+}
Index: wp-includes/feed.php
===================================================================
--- wp-includes/feed.php	(revision 16330)
+++ wp-includes/feed.php	(working copy)
@@ -299,7 +299,7 @@
 function get_the_category_rss($type = null) {
 	if ( empty($type) )
 		$type = get_default_feed();
-	$categories = get_the_category();
+	$categories = get_the_categories();
 	$tags = get_the_tags();
 	$the_list = '';
 	$cat_names = array();
Index: wp-includes/category-template.php
===================================================================
--- wp-includes/category-template.php	(revision 16330)
+++ wp-includes/category-template.php	(working copy)
@@ -57,35 +57,19 @@
 /**
  * Retrieve post categories.
  *
- * @since 0.71
- * @uses $post
+ * @since 3.1
  *
  * @param int $id Optional, default to current post ID. The post ID.
  * @return array
  */
-function get_the_category( $id = false ) {
-	global $post;
+function get_the_categories( $id = false ) {
+	$categories = get_the_terms( $id, 'category' );
 
-	$id = (int) $id;
-	if ( !$id )
-		$id = (int) $post->ID;
-
-	$categories = get_object_term_cache( $id, 'category' );
-	if ( false === $categories ) {
-		$categories = wp_get_object_terms( $id, 'category' );
-		wp_cache_add($id, $categories, 'category_relationships');
-	}
-
-	if ( !empty( $categories ) )
-		usort( $categories, '_usort_terms_by_name' );
-	else
-		$categories = array();
-
 	foreach ( (array) array_keys( $categories ) as $key ) {
 		_make_cat_compat( $categories[$key] );
 	}
-
-	return $categories;
+	
+	return apply_filters( 'get_the_categories', $categories );
 }
 
 /**
@@ -155,7 +139,7 @@
  */
 function get_the_category_list( $separator = '', $parents='', $post_id = false ) {
 	global $wp_rewrite;
-	$categories = get_the_category( $post_id );
+	$categories = get_the_categories( $post_id );
 	if ( !is_object_in_taxonomy( get_post_type( $post_id ), 'category' ) )
 		return apply_filters( 'the_category', '', $separator, $parents );
 
Index: wp-content/themes/twentyten/loop.php
===================================================================
--- wp-content/themes/twentyten/loop.php	(revision 16330)
+++ wp-content/themes/twentyten/loop.php	(working copy)
@@ -141,7 +141,7 @@
 	<?php endif; ?>
 
 			<div class="entry-utility">
-				<?php if ( count( get_the_category() ) ) : ?>
+				<?php if ( count( get_the_categories() ) ) : ?>
 					<span class="cat-links">
 						<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
 					</span>
Index: wp-admin/includes/class-wp-posts-list-table.php
===================================================================
--- wp-admin/includes/class-wp-posts-list-table.php	(revision 16330)
+++ wp-admin/includes/class-wp-posts-list-table.php	(working copy)
@@ -596,7 +596,7 @@
 			case 'categories':
 			?>
 			<td <?php echo $attributes ?>><?php
-				$categories = get_the_category();
+				$categories = get_the_categories();
 				if ( !empty( $categories ) ) {
 					$out = array();
 					foreach ( $categories as $c ) {
