[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 19:03:30 UTC 2011
#16521: Inconsistent return values in get_category_link and get_tag_link
------------------------------------+------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: General | Version:
Severity: critical | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------
Comment (by markjaquith):
Replying to [comment:4 westi]:
> Template tags should never return WP_Error - I think that should be a
rule
That seems prudent. WordPress themes are popular partly because of
simplicity. Handling error objects isn't simple.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16521#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list