Skip to content

Commit

Permalink
Simple Classic: make Users -> Profile -> Email input readonly instead…
Browse files Browse the repository at this point in the history
… of disabled (#38752)
  • Loading branch information
fushar authored Aug 7, 2024
1 parent 8e31de5 commit a99ad99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Simple Classic: make Users -> Profile -> Email input readonly instead of disabled
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const wpcom_profile_settings_disable_email_field = () => {
}
const emailField = document.getElementById( 'email' ) as HTMLInputElement;
if ( emailField ) {
emailField.disabled = true;
emailField.readOnly = true;
}

const emailDescription = document.getElementById( 'email-description' ) as HTMLInputElement;
Expand Down

0 comments on commit a99ad99

Please sign in to comment.