Make WordPress Core


Ignore:
Timestamp:
02/12/2006 07:53:23 AM (19 years ago)
Author:
ryan
Message:

Death to trailing tabs. Props Mark J. fixes #2405

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-ajax-cat.php

    r3135 r3517  
    1818foreach ($names as $cat_name) {
    1919    $cat_name = trim( $cat_name );
    20    
     20
    2121    if ( !$category_nicename = sanitize_title($cat_name) )
    2222        continue;
     
    2525        continue;
    2626    }
    27    
     27
    2828    $new_cat_id = wp_create_category($cat_name);
    29    
     29
    3030    $ids[] = (string) $new_cat_id;
    3131}
Note: See TracChangeset for help on using the changeset viewer.