[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:17:57 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:  new => closed
 * resolution:   => fixed


Comment:

 (In [17437]) Return empty strings instead of WP_Errro from
 get_category_link(), get_term_link(), and get_tag_link() when passed an
 invalid term.  Clarify phpdoc.  Props nacin. fixes #16521 for trunk

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


More information about the wp-trac mailing list