WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/08/2010 08:34:39 AM (10 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/wordpress.php

    r12652 r12657  
    361361       
    362362        $custom_taxonomies = array_keys( $custom_taxonomies );
    363         $current_terms = (array) get_terms( $custom_taxonomies, 'get=all' );
     363        $current_terms = (array) get_terms( $custom_taxonomies, array('get' => 'all') );
    364364        $taxonomies = array();
    365365        foreach ( $current_terms as $term ) {
Note: See TracChangeset for help on using the changeset viewer.