Changeset 18886
- Timestamp:
- 10/05/2011 05:20:43 PM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r18818 r18886 435 435 if ( post_type_supports( $post->post_type, 'post-formats' ) ) { 436 436 $post_format = get_post_format( $post->ID ); 437 437 438 438 if ( $post_format && !is_wp_error($post_format) ) 439 439 $classes[] = 'single-format-' . sanitize_html_class( $post_format ); … … 507 507 if ( is_admin_bar_showing() ) 508 508 $classes[] = 'admin-bar'; 509 510 if ( get_background_image() || get_background_color() ) 511 $classes[] = 'custom-background'; 509 512 510 513 $page = $wp_query->get( 'page' ); -
trunk/wp-includes/theme.php
r18821 r18886 1794 1794 ?> 1795 1795 <style type="text/css"> 1796 body { <?php echo trim( $style ); ?> }1796 body.custom-background { <?php echo trim( $style ); ?> } 1797 1797 </style> 1798 1798 <?php
Note: See TracChangeset
for help on using the changeset viewer.