Ticket #12949: menus_fatal_error_bug.diff
| File menus_fatal_error_bug.diff, 569 bytes (added by , 16 years ago) |
|---|
-
wp-admin/includes/nav-menu.php
247 247 // @todo transient caching of these results with proper invalidation on updating of a tax of this type 248 248 $terms = get_terms( $taxonomy['args']->name, $args ); 249 249 250 if ( !$terms )250 if ( !$terms || is_wp_error($terms) ) 251 251 $error = '<li id="error">'. sprintf( __( 'No %s exists' ), $taxonomy['args']->label ) .'</li>'; 252 252 253 253 $term_names = '';
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)