Changeset 30982 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 12/20/2014 10:46:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r30890 r30982 302 302 $default = 1; 303 303 304 $checked_categories = array(); 305 304 306 if ( $link_id ) { 305 307 $checked_categories = wp_get_link_cats( $link_id ); 306 308 // No selected categories, strange 307 if ( ! count( $checked_categories ) ) 309 if ( ! count( $checked_categories ) ) { 308 310 $checked_categories[] = $default; 311 } 309 312 } else { 310 313 $checked_categories[] = $default;
Note: See TracChangeset
for help on using the changeset viewer.