[wp-trac] Re: [WordPress Trac] #7000: On Write Post screen, Checked Categories should be on top of the list

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 16 19:42:00 GMT 2009


#7000: On Write Post screen, Checked Categories should be on top of the list
------------------------------------+---------------------------------------
 Reporter:  mdawaffe                |        Owner:  anonymous
     Type:  enhancement             |       Status:  reopened 
 Priority:  high                    |    Milestone:  2.8      
Component:  Administration          |      Version:  2.5.1    
 Severity:  normal                  |   Resolution:           
 Keywords:  has-patch dev-feedback  |  
------------------------------------+---------------------------------------

Comment(by aaroncampbell):

 The new patch is based off the one one by sivel, and properly displays all
 the ancestors using `get_category_parents()`.  There is however, another
 problem.  If you have a category structure like this:
 {{{
 Prefixes
   Other
   PHP
     test
   Something
 Uncategorized
 }}}
 Now, if you check test it works great like this:
 {{{
 C Prefixes:PHP:test
 U Prefixes
 U   Other
 U   PHP
 U   Something
 U Uncategorized
 }}}
 However, if you check only PHP you get this:
 {{{
 C Prefixes:PHP
 U Prefixes
 U   Other
 U   Something
 U Uncategorized
 U test
 }}}
 Notice that the test category has been orphaned at the bottom.  What do
 you think should be done in this case?

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


More information about the wp-trac mailing list