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:
parent
3c03251197
commit
ee43238413
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue