WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16567, comment 9


Ignore:
Timestamp:
09/14/12 09:07:31 (19 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16567, comment 9

    initial v1  
    77The only difference from 3.0.5 is that "Uncategorized" item no longer gets added to the list in step 3. That was fixed in [19792] (for #17939). 
    88 
    9 A check for empty name was added in [6303]. `is_term()` was added in [12798] as a check for an existing term, and renamed to `term_exists()` in [15220]. 
     9A check for empty name was added in [6303]. `is_term()` was added in [12798] as a check for an existing term, and replaced with `term_exists()` in [15220]. 
    1010 
    1111Looking at the code, it doesn't make much sense to check if a category with the same slug exists here. This is better handled further down the stack in `wp_insert_term()`, as noted by garyc40 in comment:6.