Restore spacing on the edit screen when a post type supports title but not editor.

props avryl.
fixes #28893.


git-svn-id: https://develop.svn.wordpress.org/trunk@29618 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2014-08-26 05:24:55 +00:00
parent 3c03251197
commit ee43238413
2 changed files with 2 additions and 1 deletions

View File

@ -670,6 +670,7 @@ span.wp-media-buttons-icon:before {
padding: 0;
}
#post-body-content,
.edit-form-section {
margin-bottom: 20px;
}

View File

@ -490,7 +490,7 @@ do_action( 'edit_form_after_title', $post );
if ( post_type_supports($post_type, 'editor') ) {
?>
<div id="postdivrich" class="postarea edit-form-section<?php if ( get_user_setting( 'editor_expand', 'on' ) === 'on' ) { echo ' wp-editor-expand'; } ?>">
<div id="postdivrich" class="postarea<?php if ( get_user_setting( 'editor_expand', 'on' ) === 'on' ) { echo ' wp-editor-expand'; } ?>">
<?php wp_editor( $post->post_content, 'content', array(
'dfw' => true,