
Property changes on: .
___________________________________________________________________
Added: svn:ignore
   + wp-config.php


Index: wp-includes/post-template.php
===================================================================
--- wp-includes/post-template.php	(revision 23307)
+++ wp-includes/post-template.php	(working copy)
@@ -437,7 +437,7 @@
 			if ( post_type_supports( $post->post_type, 'post-formats' ) ) {
 				$post_format = get_post_format( $post->ID );
 
-				if ( $post_format && !is_wp_error($post_format) )
+				if ( $post_format && !is_wp_error( $post_format ) )
 					$classes[] = 'single-format-' . sanitize_html_class( $post_format );
 				else
 					$classes[] = 'single-format-standard';
Index: wp-includes/class-wp-editor.php
===================================================================
--- wp-includes/class-wp-editor.php	(revision 23307)
+++ wp-includes/class-wp-editor.php	(working copy)
@@ -395,9 +395,18 @@
 			}
 
 			$body_class = $editor_id;
+			$post = get_post();
 
-			if ( $post = get_post() )
-				$body_class .= ' post-type-' . $post->post_type;
+			if ( $post ) {
+				$body_class .= ' post-type-' . $post->post_type . ' post-status-' . $post->post_status;
+				if ( post_type_supports( $post->post_type, 'post-formats' ) ) {
+					$post_format = get_post_format( $post );
+					if ( $post_format && !is_wp_error( $post_format ) )
+						$body_class .= ' post-format-' . sanitize_html_class( $post_format );
+					else
+						$body_class .= ' post-format-standard';
+				}
+			}
 
 			if ( !empty($set['tinymce']['body_class']) ) {
 				$body_class .= ' ' . $set['tinymce']['body_class'];

Property changes on: wp-content
___________________________________________________________________
Added: svn:ignore
   + uploads


