field['msg'] = $this->field['msg'] ?? esc_html__( 'Javascript has been successfully escaped.', 'redux-framework' ); $js = esc_js( $this->value ); if ( $js !== $this->value ) { $this->field['current'] = $js; $this->warning = $this->field; } $this->value = $js; } } }