[wp-trac] [WordPress Trac] #16385: Catchable fatal error in WP 3.1 RC3 - echo get_category_link

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 27 10:01:01 UTC 2011


#16385: Catchable fatal error in WP 3.1 RC3 - echo get_category_link
-------------------------------------------------+-------------------------
 Reporter:  vasylesku                            |       Owner:
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  General                              |     Version:  3.1
 Severity:  normal                               |  Resolution:  duplicate
 Keywords:  Catchable fatal error, echo          |
  get_category_link                              |
-------------------------------------------------+-------------------------

Comment (by dd32):

 > so your comment is shallow.
 Your bug report is shallow. We can all play that game.

 The fact still remains, WP_Error is a ''valid'' return from this function,
 Regardless of if this is a core problem, You'll still need to change that
 code to prevent it in the future.

 What is the return value of `get_theme_mod('featured')`?

 What about the error contents?
 (`var_dump(get_category_link(get_theme_mod('featured')));`)

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


More information about the wp-trac mailing list