Changeset 6231
- Timestamp:
- 10/12/07 21:24:08 (1 year ago)
- Files:
-
- branches/2.3/wp-admin/link-import.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.3/wp-admin/link-import.php
r6026 r6231 46 46 <?php _e('Category:') ?> <select name="cat_id"> 47 47 <?php 48 $categories = get_ categories('hide_empty=0');48 $categories = get_terms('link_category', 'get=all'); 49 49 foreach ($categories as $category) { 50 50 ?> 51 <option value="<?php echo $category-> cat_ID; ?>"><?php echo wp_specialchars(apply_filters('link_category', $category->cat_name)); ?></option>51 <option value="<?php echo $category->term_id; ?>"><?php echo wp_specialchars(apply_filters('link_category', $category->name)); ?></option> 52 52 <?php 53 53 } // end foreach
