mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
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:
@@ -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] ) ) {
|
||||
|
||||
Reference in New Issue
Block a user