Changeset 35139 for trunk/src/wp-admin/includes/template-functions.php
- Timestamp:
- 10/13/2015 04:39:47 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/template-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template-functions.php
r35128 r35139 315 315 } elseif ( $taxonomy->show_ui ) { 316 316 317 $terms_to_edit = get_terms_to_edit( $post->ID, $taxonomy_name ); 318 if ( ! is_string( $terms_to_edit ) ) { 319 $terms_to_edit = ''; 320 } 321 317 322 echo '<div class="tags_input" id="'.$taxonomy_name.'_'.$post->ID.'">' 318 . esc_html( str_replace( ',', ', ', get_terms_to_edit( $post->ID, $taxonomy_name )) ) . '</div>';323 . esc_html( str_replace( ',', ', ', $terms_to_edit ) ) . '</div>'; 319 324 320 325 }
Note: See TracChangeset
for help on using the changeset viewer.