WordPress.org

Make WordPress Core

Changeset 13350


Ignore:
Timestamp:
02/23/10 23:32:17 (5 years ago)
Author:
nacin
Message:

Add .type-{post_type} to post_class. fixes #11609

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r13242 r13350  
    314314    $classes[] = 'post-' . $post->ID; 
    315315    $classes[] = $post->post_type; 
     316    $classes[] = 'type-' . $post->post_type; 
    316317 
    317318    // sticky for Sticky Posts 
Note: See TracChangeset for help on using the changeset viewer.