Ticket #8446: post-template.php.diff
File post-template.php.diff, 641 bytes (added by , 15 years ago) |
---|
-
wp-includes/post-template.php
319 319 foreach ( (array) get_the_category($post->ID) as $cat ) { 320 320 if ( empty($cat->slug ) ) 321 321 continue; 322 $classes[] = 'category-' . $cat-> slug;322 $classes[] = 'category-' . $cat->term_id; 323 323 } 324 324 325 325 // Tags 326 326 foreach ( (array) get_the_tags($post->ID) as $tag ) { 327 327 if ( empty($tag->slug ) ) 328 328 continue; 329 $classes[] = 'tag-' . $tag-> slug;329 $classes[] = 'tag-' . $tag->term_id; 330 330 } 331 331 332 332 if ( !empty($class) ) {