Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#12630 closed defect (bug) (fixed)

Use correct argument for wp_dropdown_categories() in options-writing.php

Reported by: nacin Owned by: filosofo
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords:
Focuses: Cc:

Description

We're using a 'type' argument instead of 'taxonomy'. The 'taxonomy' argument also needs to be documented, and we should confirm we're not using wp_dropdown_categories() incorrectly elsewhere.

Change History (1)

#1 @automattor
12 years ago

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

(In [13754]) Account for old type=link (now taxonomy=link_category) in wp_dropdown_categories(). Don't use the deprecated argument in options-writing. Sprinkle in some deprecated warnings. fixes #12630

Note: See TracTickets for help on using tickets.