[wp-trac] [WordPress Trac] #16282: PHP catchable error with get_term_link and WP3.1RC2

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 23 21:35:17 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 nacin):

 Replying to [comment:26 scribu]:
 > If it was working, it was working by accident. We should discourage
 passing a name to get_term_link().
 >
 > I would go even one step further and not call sanitize_title_for_query()
 at all. That way, at least it would fail consistently.

 That would be even worse for back compat, no?

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


More information about the wp-trac mailing list