Make WordPress Core

Opened 17 years ago

Closed 15 years ago

#5440 closed enhancement (invalid)

Add filter to disable email box on profile page

Reported by: axelseaa's profile axelseaa Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: needs-patch
Focuses: Cc:

Description

Attached is a patch which would apply a filter so the email box can be disabled on the profile page (wp-admin/profile.php). This will be used in conjunction with LDAP authentication so we would not want this variable to be user editable.

Attachments (2)

profile-email-filter.patch (793 bytes) - added by axelseaa 17 years ago.
patch
5440.patch (733 bytes) - added by Viper007Bond 17 years ago.
A little more simple code

Download all attachments as: .zip

Change History (7)

@Viper007Bond
17 years ago

A little more simple code

#1 @axelseaa
17 years ago

More simple is always better! Hopefully it'll get committed

#2 @santosj
17 years ago

I wonder if people realize that you can undisable disabled fields using the Web Developer Firefox Extension. Never really understood why the username field wasn't just plain text.

#3 @axelseaa
16 years ago

  • Milestone changed from 2.9 to 2.6.1

any chance this can be considered? Thanks!

#4 @westi
16 years ago

  • Keywords needs-patch added
  • Milestone changed from 2.6.1 to 2.9

Feature request not bug fix so not for a maintenance release.

#5 @Denis-de-Bernardy
15 years ago

  • Milestone 2.9 deleted
  • Resolution set to invalid
  • Status changed from new to closed

you can also override the field's changes in wp_update_user() or wp_insert_user()

Note: See TracTickets for help on using tickets.