Changes from branches/2.3/wp-admin/link-import.php at r6231 to trunk/wp-admin/link-import.php at r6026
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-import.php
r6231 r6026 46 46 <?php _e('Category:') ?> <select name="cat_id"> 47 47 <?php 48 $categories = get_ terms('link_category', 'get=all');48 $categories = get_categories('hide_empty=0'); 49 49 foreach ($categories as $category) { 50 50 ?> 51 <option value="<?php echo $category-> term_id; ?>"><?php echo wp_specialchars(apply_filters('link_category', $category->name)); ?></option>51 <option value="<?php echo $category->cat_ID; ?>"><?php echo wp_specialchars(apply_filters('link_category', $category->cat_name)); ?></option> 52 52 <?php 53 53 } // end foreach
Note: See TracChangeset
for help on using the changeset viewer.