mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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:
parent
7b75eff693
commit
86f071355c
@ -670,6 +670,7 @@ span.wp-media-buttons-icon:before {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#post-body-content,
|
||||
.edit-form-section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
@ -670,6 +670,7 @@ span.wp-media-buttons-icon:before {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#post-body-content,
|
||||
.edit-form-section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user