[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:49:33 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 ryan):

 (In [17444]) Don't allow passing slugs to get_tag_link() and
 get_category_link(); they are too ambiguous.  Restore WP_Error return to
 get_term_link(). fixes #16521 for 3.1

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


More information about the wp-trac mailing list