Skip to content

Commit

Permalink
fix: license deactivation behaviour Codeinwp/visualizer-pro#192
Browse files Browse the repository at this point in the history
  • Loading branch information
selul committed Aug 20, 2019
1 parent efe851c commit f641e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/Licenser.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function license_view() {
<?php
echo sprintf(
'<p>%s<input class="themeisle-sdk-license-input %s" type="text" id="%s_license" name="%s_license" value="%s" /><a class="%s">%s</a>&nbsp;&nbsp;&nbsp;<button name="%s_btn_trigger" class="button button-primary themeisle-sdk-licenser-button-cta" value="yes" type="submit" >%s</button></p><p class="description">%s</p>',
( ( 'valid' === $status ) ? sprintf( '<input type="hidden" value="%s" name="%s_license" />', $this->product->get_key(), $value ) : '' ),
( ( 'valid' === $status ) ? sprintf( '<input type="hidden" value="%s" name="%s_license" />', $value, $this->product->get_key() ) : '' ),
( ( 'valid' === $status ) ? 'themeisle-sdk-text-input-valid' : '' ),
$this->product->get_key(),
( ( 'valid' === $status ) ? $this->product->get_key() . '_mask' : $this->product->get_key() ),
Expand Down

0 comments on commit f641e18

Please sign in to comment.