Changeset 3517 for trunk/wp-admin/edit-form-ajax-cat.php
- Timestamp:
- 02/12/2006 07:53:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-ajax-cat.php
r3135 r3517 18 18 foreach ($names as $cat_name) { 19 19 $cat_name = trim( $cat_name ); 20 20 21 21 if ( !$category_nicename = sanitize_title($cat_name) ) 22 22 continue; … … 25 25 continue; 26 26 } 27 27 28 28 $new_cat_id = wp_create_category($cat_name); 29 29 30 30 $ids[] = (string) $new_cat_id; 31 31 }
Note: See TracChangeset
for help on using the changeset viewer.