Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#4434 closed enhancement (fixed)

Add id's to fieldsets in wp-admin/profile.php

Reported by: Otto42 Owned by: rob1n
Milestone: 2.3 Priority: high
Severity: normal Version: 2.2
Component: Administration Keywords: has-patch
Focuses: Cc:


Change this:

<legend><?php _e('Update Your Password'); ?></legend>

to this:

<fieldset id='passwords'>
<legend><?php _e('Update Your Password'); ?></legend>

Reasoning: This would allow for a very simple plugin to do essentially the same thing that is given here:

All that would then be required of a plugin would be a hook to 'admin_head' to call wp_enqueue_script('jquery') and a hook to 'show_user_profile' to include the small amount of necessary html+javascript to do the password strength indicator.

Further suggestion: All fieldsets on profile.php should be given unique ID's.

Attachments (1)

4434.diff (1.5 KB) - added by rob1n 14 years ago.

Download all attachments as: .zip

Change History (5)

#1 @Otto42
14 years ago

  • Summary changed from Add id='passwords' to password fieldset in wp-admin/profile.php to Add id's to fieldsets in wp-admin/profile.php

#2 @rob1n
14 years ago

  • Milestone set to 2.3 (trunk)
  • Owner changed from anonymous to rob1n
  • Status changed from new to assigned

14 years ago

#3 @rob1n
14 years ago

  • Keywords has-patch added

#4 @rob1n
14 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [5689]) Add ID's to profile edit form's fieldsets. fixes #4434

Note: See TracTickets for help on using tickets.