Use submit_button() in more places. See #15064

git-svn-id: https://develop.svn.wordpress.org/trunk@15830 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu
2010-10-17 18:24:34 +00:00
parent 9cd7bdec08
commit 0911aa3e1a
14 changed files with 32 additions and 31 deletions
+5 -5
View File
@@ -384,11 +384,11 @@ if ( $show_password_fields ) :
</table>
<?php } ?>
<p class="submit">
<input type="hidden" name="action" value="update" />
<input type="hidden" name="user_id" id="user_id" value="<?php echo esc_attr($user_id); ?>" />
<input type="submit" class="button-primary" value="<?php IS_PROFILE_PAGE ? esc_attr_e('Update Profile') : esc_attr_e('Update User') ?>" name="submit" />
</p>
<input type="hidden" name="action" value="update" />
<input type="hidden" name="user_id" id="user_id" value="<?php echo esc_attr($user_id); ?>" />
<?php submit_button( IS_PROFILE_PAGE ? __('Update Profile') : __('Update User') ); ?>
</form>
</div>
<?php