Ticket #18698: 18698.diff
| File 18698.diff, 1.1 KB (added by GaryJ, 20 months ago) |
|---|
-
wp-includes/post-template.php
434 434 // Post Format 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 ); 440 440 else … … 507 507 if ( is_admin_bar_showing() ) 508 508 $classes[] = 'admin-bar'; 509 509 510 if ( get_background_image() || get_background_color() ) 511 $classes[] = 'custom-background'; 512 510 513 $page = $wp_query->get( 'page' ); 511 514 512 515 if ( !$page || $page < 2) -
wp-includes/theme.php
1794 1794 } 1795 1795 ?> 1796 1796 <style type="text/css"> 1797 body { <?php echo trim( $style ); ?> }1797 body.custom-background { <?php echo trim( $style ); ?> } 1798 1798 </style> 1799 1799 <?php 1800 1800 }
