[wp-trac] [WordPress Trac] #17939: Adding an existing category via the category meta box on the post edit screen fails
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 30 00:32:27 UTC 2011
#17939: Adding an existing category via the category meta box on the post edit
screen fails
--------------------------+-----------------------------
Reporter: mdawaffe | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
To reproduce:
1. Create a post category called "test".
2. Go to post-new.php
3. In the category meta box, click "+ Add New Category"
4. Type "test" into the textbox and click "Add New Category"
5. 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]
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17939>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list