Ticket #13860: 13860-post-class-post-password.diff
File 13860-post-class-post-password.diff, 634 bytes (added by , 15 years ago) |
---|
-
wp-includes/post-template.php
317 317 $classes[] = $post->post_type; 318 318 $classes[] = 'type-' . $post->post_type; 319 319 320 // post requires password 321 if ( post_password_required($post->ID) ) 322 $classes[] = 'post-password'; 323 320 324 // sticky for Sticky Posts 321 325 if ( is_sticky($post->ID) && is_home() && !is_paged() ) 322 326 $classes[] = 'sticky'; 323 327 324 // hentry for hAtom complia ce328 // hentry for hAtom compliance 325 329 $classes[] = 'hentry'; 326 330 327 331 // Categories