WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19776, comment 2


Ignore:
Timestamp:
01/08/12 19:09:22 (2 years ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19776, comment 2

    initial v1  
    1 I agree with helgatheviking in presuming that when using `wp_dropdown_categories` with categories, it would likely never return nothing because you'll always have the default category in place. Therefore, we shouldn't assume the taxonomy is `categories`. Attached patch changes `'No Categories'` to `'No Terms'`. 
     1I agree with helgatheviking in presuming that when using `wp_dropdown_categories` with categories, it would likely never return nothing because you'll always have the default category in place. Therefore, we shouldn't A) assume the taxonomy is `categories` and B) hard-code the string to match. Attached patch changes `'No Categories'` to `'No Terms'`.