Changeset 12515 for trunk/wp-admin/import/wp-cat2tag.php
- Timestamp:
- 12/23/2009 03:31:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/wp-cat2tag.php
r11204 r12515 40 40 function populate_cats() { 41 41 42 $categories = get_categories( 'get=all');42 $categories = get_categories(array('get' => 'all')); 43 43 foreach ( $categories as $category ) { 44 44 $this->all_categories[] = $category; … … 50 50 function populate_tags() { 51 51 52 $tags = get_terms( array('post_tag'), 'get=all');52 $tags = get_terms( array('post_tag'), array('get' => 'all') ); 53 53 foreach ( $tags as $tag ) { 54 54 $this->all_tags[] = $tag;
Note: See TracChangeset
for help on using the changeset viewer.