Opened 13 years ago
Closed 13 years ago
#17939 closed defect (bug) (fixed)
Adding an existing category via the category meta box on the post edit screen fails
Reported by: | mdawaffe | Owned by: | westi |
---|---|---|---|
Milestone: | 3.4 | Priority: | normal |
Severity: | normal | Version: | 3.2 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
To reproduce:
- Create a post category called "test".
- Go to post-new.php
- In the category meta box, click "+ Add New Category"
- Type "test" into the textbox and click "Add New Category"
- Watch "Uncategorized" get added to the list. Look at the AJAX response and see that checkbox's category ID is "Array".
term_exists()
can return an array or an ID. Attached checks for arrayness.
Caused by [12798]
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Combine original patch with #17938