[wp-trac] Re: [WordPress Trac] #2803: Manage -> Categories Ajax problems

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 11 19:42:50 GMT 2006


#2803: Manage -> Categories Ajax problems
---------------------------------------------------------------+------------
 Reporter:  davidhouse                                         |        Owner:  mdawaffe
     Type:  defect                                             |       Status:  assigned
 Priority:  normal                                             |    Milestone:          
Component:  Administration                                     |      Version:  2.1     
 Severity:  normal                                             |   Resolution:          
 Keywords:  ajax admin category bg|has-patch bg|needs-testing  |  
---------------------------------------------------------------+------------
Changes (by mdawaffe):

  * keywords:  => ajax admin category bg|has-patch bg|needs-testing
  * status:  new => assigned
  * owner:  anonymous => mdawaffe

Comment:

 First pass: 2803a.diff

  1. Splits cat_rows() into cat_rows() and _cat_row() to eliminate code
 duplication.
  1. In wp_insert_category(), make sure parent category exists.
  1. When AJAX adding category, display name as "parent - cat" instead of
 "- cat" (the quick fix mentioned above to this larger problem).
  1. When AJAX adding, add to dropdown.
  1. When AJAX deleting, remove from dropdown.

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


More information about the wp-trac mailing list