Ticket #18236: change-post_edit_form_tag_hook-from-action-to-filter.diff
File change-post_edit_form_tag_hook-from-action-to-filter.diff, 804 bytes (added by , 13 years ago) |
---|
-
wp-admin/edit-form-advanced.php
202 202 <?php if ( $message ) : ?> 203 203 <div id="message" class="updated"><p><?php echo $message; ?></p></div> 204 204 <?php endif; ?> 205 <form name="post" action="post.php" method="post" id="post"<?php do_action('post_edit_form_tag'); ?>>205 <form name="post" action="post.php" method="post" id="post"<?php echo apply_filters( 'post_edit_form_tag', '' ); ?>> 206 206 <?php wp_nonce_field($nonce_action); ?> 207 207 <input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" /> 208 208 <input type="hidden" id="hiddenaction" name="action" value="<?php echo esc_attr( $form_action ) ?>" />