[wp-trac] [WordPress Trac] #21127: Selected categories displayed out of order on main edit screen

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 1 16:53:25 UTC 2012


#21127: Selected categories displayed out of order on main edit screen
--------------------------+------------------------
 Reporter:  CircleReader  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  UI            |     Version:  3.4
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |
--------------------------+------------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => duplicate
 * component:  Editor => UI
 * milestone:  Awaiting Review =>


Old description:

> (First time submitting a ticket...)
>
> Fixed for Quick Edit in [http://core.trac.wordpress.org/ticket/19474],
> this is still happening in the main edit screen. Selected categories
> float to top upon updating the post, losing their visual relationship
> with other categories.
>
> 1. A selected child category, if the parent is not selected, is removed
> from its place under its parent and shown as a parent at the top of the
> list.
> 2. If both a child category & it's parent are selected, both float to the
> top, and the parent-child relationship is preserved visually.
> 3. In both cases, unselected categories remain orphaned at the bottom,
> with unselected child categories no longer shown as children.

New description:

 (First time submitting a ticket...)

 Fixed for Quick Edit in #19474, this is still happening in the main edit
 screen. Selected categories float to top upon updating the post, losing
 their visual relationship with other categories.

 1. A selected child category, if the parent is not selected, is removed
 from its place under its parent and shown as a parent at the top of the
 list.
 2. If both a child category & it's parent are selected, both float to the
 top, and the parent-child relationship is preserved visually.
 3. In both cases, unselected categories remain orphaned at the bottom,
 with unselected child categories no longer shown as children.

--

Comment:

 This is intentional, see #10982.

 A filter was introduced in #20054, allowing plugins to change that
 behaviour.

 This plugin implements the change:
 http://wordpress.org/extend/plugins/category-checklist-tree/

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21127#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list