[wp-trac] [WordPress Trac] #16521: Inconsistent return values in get_category_link and get_tag_link
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 10 20:18:20 UTC 2011
#16521: Inconsistent return values in get_category_link and get_tag_link
------------------------------------+---------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.1
Component: General | Version:
Severity: critical | Resolution: fixed
Keywords: has-patch dev-feedback |
------------------------------------+---------------------
Comment (by nacin):
Want to also point out that this removes an int cast on the
$category/term_id. These were added in [15825] and did not previously
exist. Keeping them out allows for the flexibility introduced here. My
point is, a number as a string, such as '1', would have been treated as a
slug in 3.0 too.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16521#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list