Changeset 22634 for trunk/wp-includes/post-template.php
- Timestamp:
- 11/17/2012 03:11:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r22451 r22634 442 442 else 443 443 $classes[] = 'single-format-standard'; 444 } 444 } 445 445 } 446 446 … … 460 460 if ( isset( $author->user_nicename ) ) { 461 461 $classes[] = 'author-' . sanitize_html_class( $author->user_nicename, $author->ID ); 462 $classes[] = 'author-' . $author->ID; 462 $classes[] = 'author-' . $author->ID; 463 463 } 464 464 } elseif ( is_category() ) { … … 467 467 if ( isset( $cat->term_id ) ) { 468 468 $classes[] = 'category-' . sanitize_html_class( $cat->slug, $cat->term_id ); 469 $classes[] = 'category-' . $cat->term_id; 469 $classes[] = 'category-' . $cat->term_id; 470 470 } 471 471 } elseif ( is_tag() ) { … … 474 474 if ( isset( $tags->term_id ) ) { 475 475 $classes[] = 'tag-' . sanitize_html_class( $tags->slug, $tags->term_id ); 476 $classes[] = 'tag-' . $tags->term_id; 476 $classes[] = 'tag-' . $tags->term_id; 477 477 } 478 478 } elseif ( is_tax() ) {
Note: See TracChangeset
for help on using the changeset viewer.