[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:48:43 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  |
------------------------------------+---------------------
Changes (by ryan):

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


Comment:

 (In [17443]) 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 trunk

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


More information about the wp-trac mailing list