[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 23:31:48 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  |

Comment (by dd32):

 3.0.4, When passed invalid data (ie. null/false) when running without
 rewrite, it'll will create a link as such: 'http://...../?cat='. When
 running with rewrite it'll Catchable error. As expected, Works with valid
 data (ie. '1');

 Upgrade to 3.1; When presented with valid data, it continues to work, give
 it invalid data, or a non-set theme mod, and it fails.

 I've tested it, get_theme_mod() is persisting on the upgrade, However this
 was tested with TwentyTen.

 vasylesku: As those are both Premium themes, I'm unable to test or confirm
 if they trigger any bugs.

 I'll echo my previous statement:
 > So, What's the return value of `get_theme_mod('featured')`? ie.
 Or in this case, `var_dump(get_theme_mod('featured_top_left'));`

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

More information about the wp-trac mailing list