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

props avryl.
fixes #28893.

Built from https://develop.svn.wordpress.org/trunk@29618


git-svn-id: http://core.svn.wordpress.org/trunk@29392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2014-08-26 05:25:16 +00:00
parent 7b75eff693
commit 86f071355c
5 changed files with 5 additions and 3 deletions

View File

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

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -490,7 +490,7 @@ do_action( 'edit_form_after_title', $post );
if ( post_type_supports($post_type, 'editor') ) { 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( <?php wp_editor( $post->post_content, 'content', array(
'dfw' => true, 'dfw' => true,