WordPress.org

Make WordPress Core

Ticket #23198: 23198.patch

File 23198.patch, 555 bytes (added by azaozz, 15 months ago)
  • wp-includes/class-wp-editor.php

     
    397397                        $body_class = $editor_id; 
    398398 
    399399                        if ( $post = get_post() ) 
    400                                 $body_class .= ' post-type-' . $post->post_type; 
     400                                $body_class .= ' post-type-' . $post->post_type . ' post-status-' . $post->post_status; 
    401401 
    402402                        if ( !empty($set['tinymce']['body_class']) ) { 
    403403                                $body_class .= ' ' . $set['tinymce']['body_class'];