[wp-trac] [WordPress Trac] #12243: Taxonomy Checkboxes sync to any checkbox array on the edit form

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 15 23:06:56 UTC 2010


#12243: Taxonomy Checkboxes sync to any checkbox array on the edit form
--------------------------+-------------------------------------------------
 Reporter:  kevinB        |       Owner:                          
     Type:  defect (bug)  |      Status:  new                     
 Priority:  normal        |   Milestone:  3.0                     
Component:  General       |     Version:  3.0                     
 Severity:  normal        |    Keywords:  taxonomy, category, post
--------------------------+-------------------------------------------------
 (see #12242 for corresponding WP 2.9 patch)

 The javascript which syncs "All" and "Most Used" category checkboxes was
 rewritten for WP 2.9.  The new JQuery code binds to the click event of
 every checkbox on the form, and synchronizes the category checkboxes with
 matching value attribute.

 In the default configuration it works fine.  But if a plugin adds another
 checkbox array to the form, these checkboxes also become a sync source for
 the category checkboxes.  Category checkboxes are (un)checked when the
 plugin checkbox is clicked.

 This occurs only with plugin-defined checkbox arrays, and only for
 checkboxes whose values attribute matches a category ID.  So there is a
 limited incidence, but potentially significant severity.  The error would
 presumably also occur with custom taxonomy checkboxes.

 == To reproduce: ==
 * Activate [http://wordpress.org/extend/plugins/role-scoper/ Role Scoper
 plugin]

 * Edit or Add New Post

 * In the Readers metabox, toggle the checkbox of a Group or User whose ID
 value matches any Category ID (Firebug is helpful here).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12243>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list