Ticket #14306: export.patch
File export.patch, 669 bytes (added by , 15 years ago) |
---|
-
export.php
255 255 256 256 $the_list = ''; 257 257 $filter = 'rss'; 258 259 $taxonomies = get_object_taxonomies( 'post' ); 260 $terms = wp_get_post_terms( $post->ID, $taxonomies ); 258 259 $taxonomies = get_object_taxonomies( $post->post_type ); 260 $terms = wp_get_object_terms($post->ID, $taxonomies); 261 261 262 foreach ( (array) $terms as $term ) { 262 263 $domain = ( 'post_tag' == $term->taxonomy ) ? 'tag' : $term->taxonomy; 263 264 $term_name = sanitize_term_field( 'name', $term->name, $term->term_id, $term->taxonomy, $filter );