WordPress.org

Make WordPress Core

Ticket #24334: edit_form_after_editor.24334.diff

File edit_form_after_editor.24334.diff, 864 bytes (added by wycks, 5 years ago)
  • wp-admin/edit-form-advanced.php

    diff --git wp-admin/edit-form-advanced.php wp-admin/edit-form-advanced.php
    index 044e0b3..448068f 100644
    if ( post_type_supports($post_type, 'editor') ) { 
    410410</tr></tbody></table>
    411411
    412412</div>
    413 <?php }
    414 
    415 if ( has_action( 'edit_form_after_editor' ) ) {
    416         echo '<div class="edit-form-section">';
    417         do_action( 'edit_form_after_editor', $post );
    418         echo '</div>';
    419 }
    420 ?>
     413<?php } ?>
    421414</div><!-- /post-body-content -->
    422415
    423416<div id="postbox-container-1" class="postbox-container">
    do_meta_boxes($post_type, 'side', $post); 
    435428<div id="postbox-container-2" class="postbox-container">
    436429<?php
    437430
     431if ( has_action( 'edit_form_after_editor' ) ) {
     432        do_action( 'edit_form_after_editor', $post );
     433}
     434
    438435do_meta_boxes(null, 'normal', $post);
    439436
    440437if ( 'page' == $post_type )