[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
Sun Jan 30 10:28:52 UTC 2011


#16385: Catchable fatal error in WP 3.1 RC3 - echo get_category_link
---------------------------------------------------+-----------------------
 Reporter:  vasylesku                              |       Owner:
     Type:  defect (bug)                           |      Status:  reopened
 Priority:  normal                                 |   Milestone:  3.1
Component:  General                                |     Version:  3.1
 Severity:  normal                                 |  Resolution:
 Keywords:  reporter-feedback needs-investigating  |
---------------------------------------------------+-----------------------
Changes (by westi):

 * cc: westi (added)


Comment:

 Unless we have somehow broken get_theme_mod during 3.1 I'm not sure I see
 a bug here.

 Previously get_category_link was slightly more lenient in that it would
 blindly trust the ID you passed in if pretty permalinks were not enabled.

 WP_Error has always been a possible return from get_category_link.

 Have you got pretty permalinks enabled or are you using query string style
 urls?

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


More information about the wp-trac mailing list