[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:52:53 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 scribu):

 Replying to [comment:4 westi]:
 > Template tags should never return WP_Error - I think that should be a
 rule

 I agree, but which are template tags and which are simple API functions?

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


More information about the wp-trac mailing list