Skip to content

Commit

Permalink
Merge pull request #76 from Codeinwp/dev
Browse files Browse the repository at this point in the history
fix: license deactivation behaviour https://github.com/Codeinwp/visua…
  • Loading branch information
selul committed Aug 20, 2019
2 parents a286316 + f641e18 commit 59c4afe
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 59c4afe

Please sign in to comment.