Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.

git-svn-id: https://develop.svn.wordpress.org/trunk@12657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2010-01-08 08:34:39 +00:00
parent 6422cc2d63
commit 2a93c55f43
10 changed files with 12 additions and 12 deletions

View File

@@ -360,7 +360,7 @@ class WP_Import {
unset( $custom_taxonomies['link_category'] );
$custom_taxonomies = array_keys( $custom_taxonomies );
$current_terms = (array) get_terms( $custom_taxonomies, 'get=all' );
$current_terms = (array) get_terms( $custom_taxonomies, array('get' => 'all') );
$taxonomies = array();
foreach ( $current_terms as $term ) {
if ( isset( $_terms[$term->taxonomy] ) ) {