Changeset 12515 for trunk/wp-admin/includes/export.php
- Timestamp:
- 12/23/2009 03:31:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/export.php
r12506 r12515 44 44 $post_ids = $wpdb->get_col("SELECT ID FROM $wpdb->posts $where ORDER BY post_date_gmt ASC"); 45 45 46 $categories = (array) get_categories( 'get=all');47 $tags = (array) get_tags( 'get=all');46 $categories = (array) get_categories(array('get' => 'all')); 47 $tags = (array) get_tags(array('get' => 'all')); 48 48 49 49 $custom_taxonomies = $wp_taxonomies; … … 77 77 78 78 while ( $parents = wxr_missing_parents($categories) ) { 79 $found_parents = get_categories( "include=" . join(', ', $parents));79 $found_parents = get_categories(array('include' => join(', ', $parents))); 80 80 if ( is_array($found_parents) && count($found_parents) ) 81 81 $categories = array_merge($categories, $found_parents);
Note: See TracChangeset
for help on using the changeset viewer.