Make WordPress Core

Ticket #23240: 23240.diff

File 23240.diff, 1.1 KB (added by helen, 13 years ago)
  • wp-admin/edit-form-advanced.php

     
    384384<?php
    385385}
    386386
    387 do_action( 'edit_form_after_title' );
     387if ( has_action( 'edit_form_after_title' ) ) {
     388        echo '<div class="edit-form-section">';
     389        do_action( 'edit_form_after_title' );
     390        echo '</div>';
     391}
    388392
    389393// post format fields
    390394if ( post_type_supports( $post_type, 'post-formats' ) ) {
     
    447451
    448452if ( post_type_supports($post_type, 'editor') ) {
    449453?>
    450 <div id="postdivrich" class="postarea">
     454<div id="postdivrich" class="postarea edit-form-section">
    451455
    452456<?php wp_editor($post->post_content, 'content', array('dfw' => true, 'tabfocus_elements' => 'insert-media-button,save-post', 'editor_height' => 360) ); ?>
    453457
  • wp-admin/css/wp-admin.css

     
    63256325        padding: 0;
    63266326}
    63276327
    6328 #post-body-content {
     6328.edit-form-section {
    63296329        margin-bottom: 20px;
    63306330}
    63316331