Index: wp-includes/category.php
===================================================================
--- wp-includes/category.php	(revision 11596)
+++ wp-includes/category.php	(working copy)
@@ -15,7 +15,7 @@
  */
 function get_all_category_ids() {
 	if ( ! $cat_ids = wp_cache_get( 'all_category_ids', 'category' ) ) {
-		$cat_ids = get_terms( 'category', 'fields=ids&get=all' );
+		$cat_ids = get_terms( 'category', array('fields' => 'ids', 'get' => 'all') );
 		wp_cache_add( 'all_category_ids', $cat_ids, 'category' );
 	}
 
@@ -113,7 +113,7 @@
 	foreach ( (array) $category_paths as $pathdir )
 		$full_path .= ( $pathdir != '' ? '/' : '' ) . sanitize_title( $pathdir );
 
-	$categories = get_terms( 'category', "get=all&slug=$leaf_path" );
+	$categories = get_terms( 'category', array('get' => 'all', 'slug' => $leaf_path) );
 
 	if ( empty( $categories ) )
 		return null;
Index: wp-includes/taxonomy.php
===================================================================
--- wp-includes/taxonomy.php	(revision 11596)
+++ wp-includes/taxonomy.php	(working copy)
@@ -1076,7 +1076,7 @@
 		$taxonomies = array($taxonomies);
 
 	foreach ( (array) $taxonomies as $taxonomy ) {
-		$tt_ids = wp_get_object_terms($object_id, $taxonomy, 'fields=tt_ids');
+		$tt_ids = wp_get_object_terms($object_id, $taxonomy, array('fields' => 'tt_ids'));
 		$in_tt_ids = "'" . implode("', '", $tt_ids) . "'";
 		$wpdb->query( $wpdb->prepare("DELETE FROM $wpdb->term_relationships WHERE object_id = %d AND term_taxonomy_id IN ($in_tt_ids)", $object_id) );
 		wp_update_term_count($tt_ids, $taxonomy);
@@ -1492,7 +1492,7 @@
 	if ( ! $append && isset($t->sort) && $t->sort ) {
 		$values = array();
 		$term_order = 0;
-		$final_tt_ids = wp_get_object_terms($object_id, $taxonomy, 'fields=tt_ids');
+		$final_tt_ids = wp_get_object_terms($object_id, $taxonomy, array('fields' => 'tt_ids'));
 		foreach ( $tt_ids as $tt_id )
 			if ( in_array($tt_id, $final_tt_ids) )
 				$values[] = $wpdb->prepare( "(%d, %d, %d)", $object_id, $tt_id, ++$term_order);
@@ -1931,7 +1931,7 @@
 	if ( empty( $ids ) )
 		return false;
 
-	$terms = wp_get_object_terms($ids, $taxonomies, 'fields=all_with_object_id');
+	$terms = wp_get_object_terms($ids, $taxonomies, array('fields' => 'all_with_object_id'));
 
 	$object_terms = array();
 	foreach ( (array) $terms as $term )
@@ -2002,7 +2002,7 @@
 		return $children;
 
 	$children = array();
-	$terms = get_terms($taxonomy, 'get=all');
+	$terms = get_terms($taxonomy, array('get' => 'all'));
 	foreach ( $terms as $term ) {
 		if ( $term->parent > 0 )
 			$children[$term->parent][] = $term->term_id;
Index: wp-includes/post.php
===================================================================
--- wp-includes/post.php	(revision 11596)
+++ wp-includes/post.php	(working copy)
@@ -1684,7 +1684,7 @@
 
 	// Update counts for the post's terms.
 	foreach ( (array) get_object_taxonomies('post') as $taxonomy ) {
-		$tt_ids = wp_get_object_terms($post_id, $taxonomy, 'fields=tt_ids');
+		$tt_ids = wp_get_object_terms($post_id, $taxonomy, array('fields' => 'tt_ids'));
 		wp_update_term_count($tt_ids, $taxonomy);
 	}
 
Index: wp-includes/bookmark.php
===================================================================
--- wp-includes/bookmark.php	(revision 11596)
+++ wp-includes/bookmark.php	(working copy)
@@ -33,7 +33,7 @@
 			$_bookmark = & $GLOBALS['link'];
 		} elseif ( ! $_bookmark = wp_cache_get($bookmark, 'bookmark') ) {
 			$_bookmark = $wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->links WHERE link_id = %d LIMIT 1", $bookmark));
-			$_bookmark->link_category = array_unique( wp_get_object_terms($_bookmark->link_id, 'link_category', 'fields=ids') );
+			$_bookmark->link_category = array_unique( wp_get_object_terms($_bookmark->link_id, 'link_category', array('fields' => 'ids')) );
 			wp_cache_add($_bookmark->link_id, $_bookmark, 'bookmark');
 		}
 	}
Index: wp-includes/link-template.php
===================================================================
--- wp-includes/link-template.php	(revision 11596)
+++ wp-includes/link-template.php	(working copy)
@@ -876,7 +876,7 @@
 		$join = " INNER JOIN $wpdb->term_relationships AS tr ON p.ID = tr.object_id INNER JOIN $wpdb->term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id";
 
 		if ( $in_same_cat ) {
-			$cat_array = wp_get_object_terms($post->ID, 'category', 'fields=ids');
+			$cat_array = wp_get_object_terms($post->ID, 'category', array('fields' => 'ids'));
 			$join .= " AND tt.taxonomy = 'category' AND tt.term_id IN (" . implode(',', $cat_array) . ")";
 		}
 
@@ -1018,7 +1018,7 @@
 	$excluded_categories = array();
 	if ( !empty($in_same_cat) || !empty($excluded_categories) ) {
 		if ( !empty($in_same_cat) ) {
-			$cat_array = wp_get_object_terms($post->ID, 'category', 'fields=ids');
+			$cat_array = wp_get_object_terms($post->ID, 'category', array('fields' => 'ids'));
 		}
 
 		if ( !empty($excluded_categories) ) {
Index: wp-includes/deprecated.php
===================================================================
--- wp-includes/deprecated.php	(revision 11596)
+++ wp-includes/deprecated.php	(working copy)
@@ -986,7 +986,7 @@
 	if ( $category == -1 ) //get_bookmarks uses '' to signify all categories
 		$category = '';
 
-	$results = get_bookmarks("category=$category&orderby=$orderby&order=$order&show_updated=$show_updated&limit=$limit");
+	$results = get_bookmarks(array('category' => $category, 'orderby' => $orderby, 'order' => $order, 'show_updated' => $show_updated, 'limit' => $limit));
 
 	if ( !$results )
 		return;
@@ -1083,7 +1083,7 @@
 	if ( !isset($direction) )
 		$direction = '';
 
-	$cats = get_categories("type=link&orderby=$order&order=$direction&hierarchical=0");
+	$cats = get_categories(array('type' => 'link', 'orderby' => $order, 'order' => $direction, 'hierarchical' => 0));
 
 	// Display each category
 	if ( $cats ) {
Index: wp-app.php
===================================================================
--- wp-app.php	(revision 11596)
+++ wp-app.php	(working copy)
@@ -395,7 +395,7 @@
 		$home = esc_attr(get_bloginfo_rss('home'));
 
 		$categories = "";
-		$cats = get_categories("hierarchical=0&hide_empty=0");
+		$cats = get_categories(array('hierarchical' => 0, 'hide_empty' => 0));
 		foreach ((array) $cats as $cat) {
 			$categories .= "    <category term=\"" . esc_attr($cat->name) .  "\" />\n";
 }
Index: xmlrpc.php
===================================================================
--- xmlrpc.php	(revision 11596)
+++ xmlrpc.php	(working copy)
@@ -2783,7 +2783,7 @@
 
 		$categories_struct = array();
 
-		if ( $cats = get_categories('get=all') ) {
+		if ( $cats = get_categories(array('get' => 'all') ) {
 			foreach ( $cats as $cat ) {
 				$struct['categoryId'] = $cat->term_id;
 				$struct['parentId'] = $cat->parent;
@@ -2970,7 +2970,7 @@
 
 		$categories_struct = array();
 
-		if ( $cats = get_categories('hide_empty=0&hierarchical=0') ) {
+		if ( $cats = get_categories(array('hide_empty' => 0, 'hierarchical' => 0)) ) {
 			foreach ($cats as $cat) {
 				$struct['categoryId'] = $cat->term_id;
 				$struct['categoryName'] = $cat->name;
Index: wp-links-opml.php
===================================================================
--- wp-links-opml.php	(revision 11596)
+++ wp-links-opml.php	(working copy)
@@ -36,9 +36,9 @@
 <?php
 
 if (empty ($link_cat))
-	$cats = get_categories("type=link&hierarchical=0");
+	$cats = get_categories(array('type' => 'link', 'hierarchical' => 0));
 else
-	$cats = get_categories('type=link&hierarchical=0&include='.$link_cat);
+	$cats = get_categories(array('type' => 'link', 'hierarchical' => 0, 'include' => $link_cat));
 
 foreach ((array) $cats as $cat) {
 	$catname = apply_filters('link_category', $cat->name);
@@ -47,7 +47,7 @@
 <outline type="category" title="<?php echo esc_attr($catname); ?>">
 <?php
 
-	$bookmarks = get_bookmarks("category={$cat->term_id}");
+	$bookmarks = get_bookmarks(array("category" => $cat->term_id));
 	foreach ((array) $bookmarks as $bookmark) {
 		$title = esc_attr(apply_filters('link_title', $bookmark->link_name));
 ?>
Index: wp-admin/includes/bookmark.php
===================================================================
--- wp-admin/includes/bookmark.php	(revision 11596)
+++ wp-admin/includes/bookmark.php	(working copy)
@@ -102,7 +102,7 @@
  */
 function wp_get_link_cats( $link_id = 0 ) {
 
-	$cats = wp_get_object_terms( $link_id, 'link_category', 'fields=ids' );
+	$cats = wp_get_object_terms( $link_id, 'link_category', array('fields' => 'ids') );
 
 	return array_unique( $cats );
 }
Index: wp-admin/includes/template.php
===================================================================
--- wp-admin/includes/template.php	(revision 11596)
+++ wp-admin/includes/template.php	(working copy)
@@ -508,11 +508,11 @@
 		$args['popular_cats'] = get_terms( 'category', array( 'fields' => 'ids', 'orderby' => 'count', 'order' => 'DESC', 'number' => 10, 'hierarchical' => false ) );
 
 	if ( $descendants_and_self ) {
-		$categories = get_categories( "child_of=$descendants_and_self&hierarchical=0&hide_empty=0" );
+		$categories = get_categories(array('child_of' => $descendants_and_self, 'hierarchical' => 0, 'hide_empty' => 0));
 		$self = get_category( $descendants_and_self );
 		array_unshift( $categories, $self );
 	} else {
-		$categories = get_categories('get=all');
+		$categories = get_categories(array('get' => 'all');
 	}
 
 	// Post process $categories rather than adding an exclude to the get_terms() query to keep the query the same across all posts (for any query cache)
@@ -607,7 +607,7 @@
 		$checked_categories[] = $default;
 	}
 
-	$categories = get_terms('link_category', 'orderby=count&hide_empty=0');
+	$categories = get_terms('link_category', array('orderby' => 'count', 'hide_empty' => 0));
 
 	if ( empty($categories) )
 		return;
Index: wp-admin/includes/export.php
===================================================================
--- wp-admin/includes/export.php	(revision 11596)
+++ wp-admin/includes/export.php	(working copy)
@@ -43,8 +43,8 @@
 // grab a snapshot of post IDs, just in case it changes during the export
 $post_ids = $wpdb->get_col("SELECT ID FROM $wpdb->posts $where ORDER BY post_date_gmt ASC");
 
-$categories = (array) get_categories('get=all');
-$tags = (array) get_tags('get=all');
+$categories = (array) get_categories(array('get' => 'all');
+$tags = (array) get_tags(array('get' => 'all'));
 
 /**
  * {@internal Missing Short Description}}
@@ -69,7 +69,7 @@
 }
 
 while ( $parents = wxr_missing_parents($categories) ) {
-	$found_parents = get_categories("include=" . join(', ', $parents));
+	$found_parents = get_categories(array('include' => join(', ', $parents)));
 	if ( is_array($found_parents) && count($found_parents) )
 		$categories = array_merge($categories, $found_parents);
 	else
Index: wp-admin/import/opml.php
===================================================================
--- wp-admin/import/opml.php	(revision 11596)
+++ wp-admin/import/opml.php	(working copy)
@@ -55,7 +55,7 @@
 <p style="clear: both; margin-top: 1em;"><label for="cat_id"><?php _e('Now select a category you want to put these links in.') ?></label><br />
 <?php _e('Category:') ?> <select name="cat_id" id="cat_id">
 <?php
-$categories = get_terms('link_category', 'get=all');
+$categories = get_terms('link_category', array('get' => 'all'));
 foreach ($categories as $category) {
 ?>
 <option value="<?php echo $category->term_id; ?>"><?php echo esc_html(apply_filters('link_category', $category->name)); ?></option>
Index: wp-admin/import/wp-cat2tag.php
===================================================================
--- wp-admin/import/wp-cat2tag.php	(revision 11596)
+++ wp-admin/import/wp-cat2tag.php	(working copy)
@@ -39,7 +39,7 @@
 
 	function populate_cats() {
 
-		$categories = get_categories('get=all');
+		$categories = get_categories(array('get' => 'all');
 		foreach ( $categories as $category ) {
 			$this->all_categories[] = $category;
 			if ( is_term( $category->slug, 'post_tag' ) )
@@ -49,7 +49,7 @@
 
 	function populate_tags() {
 
-		$tags = get_terms( array('post_tag'), 'get=all' );
+		$tags = get_terms( array('post_tag'), array('get' => 'all') );
 		foreach ( $tags as $tag ) {
 			$this->all_tags[] = $tag;
 			if ( is_term( $tag->slug, 'category' ) )
Index: wp-admin/import/wordpress.php
===================================================================
--- wp-admin/import/wordpress.php	(revision 11596)
+++ wp-admin/import/wordpress.php	(working copy)
@@ -290,7 +290,7 @@
 	function process_categories() {
 		global $wpdb;
 
-		$cat_names = (array) get_terms('category', 'fields=names');
+		$cat_names = (array) get_terms('category', array('fields' => 'names'));
 
 		while ( $c = array_shift($this->categories) ) {
 			$cat_name = trim($this->get_tag( $c, 'wp:cat_name' ));
@@ -320,7 +320,7 @@
 	function process_tags() {
 		global $wpdb;
 
-		$tag_names = (array) get_terms('post_tag', 'fields=names');
+		$tag_names = (array) get_terms('post_tag', array('fields' => 'names'));
 
 		while ( $c = array_shift($this->tags) ) {
 			$tag_name = trim($this->get_tag( $c, 'wp:tag_name' ));
Index: wp-admin/link-manager.php
===================================================================
--- wp-admin/link-manager.php	(revision 11596)
+++ wp-admin/link-manager.php	(working copy)
@@ -106,7 +106,7 @@
 <input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
 
 <?php
-$categories = get_terms('link_category', "hide_empty=1");
+$categories = get_terms('link_category', array("hide_empty" => 1));
 $select_cat = "<select name=\"cat_id\">\n";
 $select_cat .= '<option value="all"'  . (($cat_id == 'all') ? " selected='selected'" : '') . '>' . __('View all Categories') . "</option>\n";
 foreach ((array) $categories as $cat)
