[wp-trac] [WordPress Trac] #13397: Bulk Edit - Changing cats kills tags
WordPress Trac
wp-trac at lists.automattic.com
Sat May 15 20:52:10 UTC 2010
#13397: Bulk Edit - Changing cats kills tags
--------------------------+-------------------------------------------------
Reporter: ipstenu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: General | Version: 3.0
Severity: blocker | Keywords:
--------------------------+-------------------------------------------------
Comment(by duck_):
Replying to [comment:8 duck_]:
> I think the reason for Quick Edit not allowing you to remove all
categories is because the jQuery serialize method doesn't pickup the
catgories if all the boxes are unchecked
([http://core.trac.wordpress.org/browser/trunk/wp-admin/js/inline-edit-
post.dev.js#L212 see inline-edit-post.js])
I tell a lie... in fact it's to do with how {{{wp_update_post}}} handles
an empty post_category[] array. Patch uses the trick used in the
categories meta-box of adding an input with a fake term id.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13397#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list