- Disables input fields if subscriber is a WP user. #421 (5)

- Removes 'unconfirmed' status if subscriber is a WP user. #421 (9)
- Displays notice if subscriber is a WP user. #421 (6)
This commit is contained in:
Vlad
2016-05-12 19:15:54 -04:00
parent 290f749220
commit 77fe385645
5 changed files with 72 additions and 22 deletions

View File

@@ -14,6 +14,11 @@ function(
return (
<input
type="text"
disabled={
(this.props.field.disabled !== undefined)
? this.props.field.disabled(this.props.item)
: ''
}
className={ (this.props.field.size) ? '' : 'regular-text' }
size={
(this.props.field.size !== 'auto' && this.props.field.size > 0)