Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.5/wp-admin/edit-form-advanced.php

    r23083 r24465  
    145145    add_meta_box('postcustom', __('Custom Fields'), 'post_custom_meta_box', null, 'normal', 'core');
    146146
    147 do_action('dbx_post_advanced');
     147do_action('dbx_post_advanced', $post);
    148148if ( post_type_supports($post_type, 'comments') )
    149149    add_meta_box('commentstatusdiv', __('Discussion'), 'post_comment_status_meta_box', null, 'normal', 'core');
     
    297297<div id="message" class="updated"><p><?php echo $message; ?></p></div>
    298298<?php endif; ?>
    299 <form name="post" action="post.php" method="post" id="post"<?php do_action('post_edit_form_tag'); ?>>
     299<form name="post" action="post.php" method="post" id="post"<?php do_action('post_edit_form_tag', $post); ?>>
    300300<?php wp_nonce_field($nonce_action); ?>
    301301<input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" />
     
    355355}
    356356
    357 do_action( 'edit_form_after_title' );
     357do_action( 'edit_form_after_title', $post );
    358358
    359359if ( post_type_supports($post_type, 'editor') ) {
     
    384384<?php } ?>
    385385
    386 <?php do_action( 'edit_form_after_editor' ); ?>
     386<?php do_action( 'edit_form_after_editor', $post ); ?>
    387387</div><!-- /post-body-content -->
    388388
     
    391391
    392392if ( 'page' == $post_type )
    393     do_action('submitpage_box');
     393    do_action('submitpage_box', $post);
    394394else
    395     do_action('submitpost_box');
     395    do_action('submitpost_box', $post);
    396396
    397397do_meta_boxes($post_type, 'side', $post);
     
    405405
    406406if ( 'page' == $post_type )
    407     do_action('edit_page_form');
     407    do_action('edit_page_form', $post);
    408408else
    409     do_action('edit_form_advanced');
     409    do_action('edit_form_advanced', $post);
    410410
    411411do_meta_boxes(null, 'advanced', $post);
     
    415415<?php
    416416
    417 do_action('dbx_post_sidebar');
     417do_action('dbx_post_sidebar', $post);
    418418
    419419?>
Note: See TracChangeset for help on using the changeset viewer.