Ticket #6810 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

wp_category_checklist() does not treat popular categories correctly, does not work with ajax

Reported by: mdawaffe Assigned to: anonymous
Priority: normal Milestone: 2.5.1
Component: General Version: 2.6
Severity: normal Keywords:
Cc:

Description

Attached

  1. Makes wp_category_checklist() work with ajax add-cat call. Added args to only show part of the category tree.
  2. Corrects get_terms call for popular cats. get_terms() isn't fully functional for fields=ids: manually disable some incompatible checks by setting hierarchical=0
  3. Tweaks JS while I'm at it.

Attachments

6810.diff (3.5 kB) - added by mdawaffe on 04/22/08 22:43:54.

Change History

04/22/08 22:43:54 changed by mdawaffe

  • attachment 6810.diff added.

04/22/08 22:45:53 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [7777]) wp_category_checklist() fixes from mdawaffe. fixes #6810 for trunk

04/22/08 22:46:10 changed by ryan

(In [7778]) wp_category_checklist() fixes from mdawaffe. fixes #6810 for 2.5