Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #19780


Ignore:
Timestamp:
01/08/2012 10:27:13 PM (13 years ago)
Author:
helenyhou
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19780 – Description

    initial v2  
    1 Spawning from a small discussion in #19766, I think it's about time something is done to deal with the older named category functions such as `wp_category_dropdown` and `wp_list_categories` in category-template.php
     1Spawning from a small discussion in #19776, I think it's about time something is done to deal with the older named category functions such as `wp_category_dropdown` and `wp_list_categories` in category-template.php
    22
    33These functions aren't technically category-only as they accept a set $taxonomy. And because they are actually taxonomy-agnostic, I think we have a few different routes we can take to clean up after ourselves a bit:
     
    55A) Lock down these functions to 'categories'-only in favor of new, taxonomy-agnostic ones.
    66
    7 B) Leave the functions alone but let the inline-docs and hard-coded strings such as 'No Categories' reflect their versatility. e.g. 'No Terms' vs 'No Categoriies'.
     7B) Leave the functions alone but let the inline-docs and hard-coded strings such as 'No Categories' reflect their versatility. e.g. 'No Terms' vs 'No Categories'.
    88
    99C) Deprecate these older functions in deference to newer, taxonomy-agnostic ones.