[wp-trac] Re: [WordPress Trac] #9089: categories not appearing in admin - 'prune working set' the culprit ?

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 3 18:45:16 GMT 2009


#9089: categories not appearing in admin - 'prune working set' the culprit ?
----------------------------+-----------------------------------------------
 Reporter:  yogomozilla     |       Owner:  anonymous                       
     Type:  defect (bug)    |      Status:  new                             
 Priority:  normal          |   Milestone:                                  
Component:  Administration  |     Version:  2.7                             
 Severity:  major           |    Keywords:  category,admin,missing,hierarchy
----------------------------+-----------------------------------------------
Changes (by idealien):

 * cc: idealien (added)
  * severity:  normal => major


Comment:

 This also prevents anybody from being able to edit any categories nested
 beyond 2 layers deep. They will not show up in the primary manage
 categories table. (CatChild in the example of catParent1 > CatParent2 >
 CatChild) Raising severity to high due to inability to manage core site
 data elements.

 The table rows are built in the function cat_rows (/wp-
 admin/includes/template.php) which calls get_categories with an array of
 arguments. However, the nested categories do show up in the
 category_parent dropdown of the add/edit category form. This form also
 calls get_categories with a different set of arguments via
 wp_dropdown_categories (/wp-includes/category-template.php/)

 A duct tape solution was proposed in the original thread on wp.org where
 this bug was identified (http://wordpress.org/support/topic/224546). but
 the author (me) fully admits there are probably more elegant solutions
 that should be used to resolve this.

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


More information about the wp-trac mailing list