Index: wp-includes/category-template.php
===================================================================
--- wp-includes/category-template.php	(revision 23776)
+++ wp-includes/category-template.php	(working copy)
@@ -12,13 +12,10 @@
  * @since 1.0.0
  * @see get_term_link()
  *
- * @param int|object $category Category ID or object.
+ * @param int|object|string $category Category ID, object, or string.
  * @return string Link on success, empty string if category does not exist.
  */
 function get_category_link( $category ) {
-	if ( ! is_object( $category ) )
-		$category = (int) $category;
-
 	$category = get_term_link( $category, 'category' );
 
 	if ( is_wp_error( $category ) )
Index: wp-content/themes/twentyten/loop.php
===================================================================
--- wp-content/themes/twentyten/loop.php	(revision 23777)
+++ wp-content/themes/twentyten/loop.php	(working copy)
@@ -93,7 +93,7 @@
 				<a href="<?php echo get_post_format_link( 'gallery' ); ?>" title="<?php esc_attr_e( 'View Galleries', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a>
 				<span class="meta-sep">|</span>
 			<?php elseif ( in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?>
-				<a href="<?php echo get_term_link( _x( 'gallery', 'gallery category slug', 'twentyten' ), 'category' ); ?>" title="<?php esc_attr_e( 'View posts in the Gallery category', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a>
+				<a href="<?php echo get_category_link( _x( 'gallery', 'gallery category slug', 'twentyten' ) ); ?>" title="<?php esc_attr_e( 'View posts in the Gallery category', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a>
 				<span class="meta-sep">|</span>
 			<?php endif; ?>
 				<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
