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

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 18 22:22:56 UTC 2011


#16282: PHP catchable error with get_term_link and WP3.1RC2
--------------------------+------------------------------
 Reporter:  illutic       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:  3.1
 Severity:  major         |  Resolution:
 Keywords:  2nd-opinion   |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 It's not mentioned neither in Codex nor in the inline documentation that
 `get_term_link()` can return `WP_Error` instead of a string. Should we
 update the docs or change the function?

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


More information about the wp-trac mailing list