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

View File

@@ -168,7 +168,7 @@ if ( !is_multisite() ) {
echo '<p>' . __( 'That person will be sent an email asking them to click a link confirming the invite. New users will then be sent an email with a randomly generated password and a login link.' ) . '</p>';
}
?>
<form action="#add-new-user" method="post" name="adduser" id="adduser" class="add:users: validate">
<form action="#add-new-user" method="post" name="adduser" id="adduser" class="add:users: validate"<?php do_action('user_new_form_tag');?>>
<?php wp_nonce_field('add-user') ?>
<?php
//Load up the passed data, else set to a default.