Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#6810 closed defect (bug) (fixed)

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

Reported by: mdawaffe's profile mdawaffe Owned by:
Milestone: 2.5.1 Priority: normal
Severity: normal Version: 2.6
Component: General Keywords:
Focuses: 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 (1)

6810.diff (3.5 KB) - added by mdawaffe 16 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe
16 years ago

#1 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

#2 @ryan
16 years ago

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

Note: See TracTickets for help on using tickets.