Add actions to the form tags of user-new, user-edit, and post edit. props sivel, fixes #11933.

git-svn-id: https://develop.svn.wordpress.org/trunk@14106 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-04-16 13:57:57 +00:00
parent a45a03c4c3
commit 25a910c025
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ require_once('admin-header.php');
<?php if ( $message ) : ?>
<div id="message" class="updated"><p><?php echo $message; ?></p></div>
<?php endif; ?>
<form name="post" action="post.php" method="post" id="post">
<form name="post" action="post.php" method="post" id="post"<?php do_action('post_edit_form_tag'); ?>>
<?php wp_nonce_field($nonce_action); ?>
<input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" />
<input type="hidden" id="hiddenaction" name="action" value="<?php echo esc_attr($form_action) ?>" />