Ticket #22590: get_post_class.diff
| File get_post_class.diff, 497 bytes (added by mordauk, 6 months ago) |
|---|
-
wp-includes/post-template.php
345 345 if ( is_sticky($post->ID) && is_home() && !is_paged() ) 346 346 $classes[] = 'sticky'; 347 347 348 // post-sticky for sticky posts in the admin 349 if ( is_sticky($post->ID) && is_admin() ) 350 $classes[] = 'post-sticky'; 351 348 352 // hentry for hAtom compliance 349 353 $classes[] = 'hentry'; 350 354
