|
@@ -157,7 +157,7 @@ discard block |
|
|
block discarded – undo |
|
157
|
157
|
if(false === $this->status || 'inactive' === $this->status){ |
|
158
|
158
|
$button_url .= admin_url($admin_url_base.'&action=activate&product='.$this->product_slug); |
|
159
|
159
|
$button_label = 'Activate'; |
|
160
|
|
- }elseif('active' === $this->status){ |
|
|
160
|
+ } elseif('active' === $this->status){ |
|
161
|
161
|
$button_url .= admin_url($admin_url_base.'&action=deactivate&product='.$this->product_slug); |
|
162
|
162
|
$button_label = 'Deactivate'; |
|
163
|
163
|
} |
|
@@ -205,7 +205,7 @@ discard block |
|
|
block discarded – undo |
|
205
|
205
|
|
|
206
|
206
|
if('active' === $this->status){ |
|
207
|
207
|
$description = __( '<span style="color:#008000;">Your license is now active</span>', $this->product_slug ); |
|
208
|
|
- }else{ |
|
|
208
|
+ } else{ |
|
209
|
209
|
$description = __( 'You can find your key on your <a target="_blank" href="https://www.lsdev.biz/my-account/">My Account</a> page.', $this->product_slug ); |
|
210
|
210
|
} |
|
211
|
211
|
|
|
@@ -341,7 +341,7 @@ discard block |
|
|
block discarded – undo |
|
341
|
341
|
|
|
342
|
342
|
if(isset($response->error)){ |
|
343
|
343
|
$this->messages[] = $this->format_error_code($response->code); |
|
344
|
|
- }elseif(isset($response->status_check)){ |
|
|
344
|
+ } elseif(isset($response->status_check)){ |
|
345
|
345
|
$status = $response->status_check; |
|
346
|
346
|
if(isset($response->activations_remaining)){ |
|
347
|
347
|
$this->messages[] = $response->activations_remaining; |
Please login to merge, or discard this patch.