Changeset 25662 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 10/02/2013 07:58:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r25570 r25662 132 132 // having to assign it explicitly 133 133 if ( empty($category) ) { 134 $default_category = get_ category( get_option( 'default_category' ));134 $default_category = get_term( get_option( 'default_category' ), 'category' ); 135 135 $category = is_wp_error( $default_category ) ? '' : $default_category->slug; 136 136 }
Note: See TracChangeset
for help on using the changeset viewer.