WordPress.org

Make WordPress Core

Changeset 5659


Ignore:
Timestamp:
06/06/2007 04:12:02 PM (11 years ago)
Author:
ryan
Message:

Fix category renaming. fixes #4415 see #4189

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/taxonomy.php

    r5637 r5659  
    8181
    8282    if ( empty ($slug) )
    83         $slug = sanitize_title($slug);
     83        $slug = sanitize_title($name);
    8484    else
    8585        $slug = sanitize_title($slug);
     
    9494        $parent = 0;
    9595
    96     $args = compact('slug', 'parent', 'description');
     96    $args = compact('name', 'slug', 'parent', 'description');
    9797
    9898    if ( $update )
Note: See TracChangeset for help on using the changeset viewer.