[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 21:11:27 UTC 2011


#16521: Inconsistent return values in get_category_link and get_tag_link
------------------------------------+-----------------------
 Reporter:  nacin                   |       Owner:
     Type:  defect (bug)            |      Status:  reopened
 Priority:  normal                  |   Milestone:  3.1
Component:  General                 |     Version:
 Severity:  critical                |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+-----------------------
Changes (by ryan):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Places such as get_the_category_list() are passing string ints and
 expected them to be treated as IDs.  Now they are treated as slugs which
 results in fail.  We need a more conservative patch.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16521#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list