[wp-trac] [WordPress Trac] #16282: PHP catchable error with get_term_link and WP3.1RC2
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 24 04:51:50 UTC 2011
#16282: PHP catchable error with get_term_link and WP3.1RC2
------------------------------+-----------------------
Reporter: illutic | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.1
Component: Multisite | Version: 3.1
Severity: major | Resolution:
Keywords: has-patch commit |
------------------------------+-----------------------
Comment (by markjaquith):
Well ... except for this ticket! [16832] went in after the milestone was
changed, and it breaks the way people were using get_term_link() (which
apparently wasn't documented sufficiently to justify breaking these uses).
This seems like a regression to me.
Our term API is horrible, but it's what we have. We can do a nice object-
oriented API for a future version of WP that makes people be explicit
about whether they're asking for a term by name, slug, ID, etc. But until
then, we should avoid breaking our existing API.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16282#comment:37>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list