Make WordPress Core

Changeset 29618 for trunk/src


Ignore:
Timestamp:
08/26/2014 05:24:55 AM (11 years ago)
Author:
helen
Message:

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

props avryl.
fixes #28893.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/edit.css

    r29593 r29618  
    671671}
    672672
     673#post-body-content,
    673674.edit-form-section {
    674675    margin-bottom: 20px;
  • trunk/src/wp-admin/edit-form-advanced.php

    r29402 r29618  
    491491if ( post_type_supports($post_type, 'editor') ) {
    492492?>
    493 <div id="postdivrich" class="postarea edit-form-section<?php if ( get_user_setting( 'editor_expand', 'on' ) === 'on' ) { echo ' wp-editor-expand'; } ?>">
     493<div id="postdivrich" class="postarea<?php if ( get_user_setting( 'editor_expand', 'on' ) === 'on' ) { echo ' wp-editor-expand'; } ?>">
    494494
    495495<?php wp_editor( $post->post_content, 'content', array(
Note: See TracChangeset for help on using the changeset viewer.