Make WordPress Core


Ignore:
Timestamp:
04/16/2010 01:57:57 PM (17 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r14043 r14106  
    168168<h2><?php echo esc_html( $title ); ?></h2>
    169169
    170 <form id="your-profile" action="<?php echo esc_url( admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post">
     170<form id="your-profile" action="<?php echo esc_url( admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post"<?php do_action('user_edit_form_tag'); ?>>
    171171<?php wp_nonce_field('update-user_' . $user_id) ?>
    172172<?php if ( $wp_http_referer ) : ?>
Note: See TracChangeset for help on using the changeset viewer.