Skip to content

Commit

Permalink
code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisnissle committed Mar 21, 2019
1 parent 06b9aef commit e76062a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/class-vd-request.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public function __construct( $type = 'update_check', VD_Product $product = null,
if ( $product ) {
$this->product = $product;
$this->args = array(
'product_id' => $product->id,
'product_id' => $product->id,
'product_file' => $product->file,
'product_type' => ( $product->is_theme() ? 'theme' : 'plugin' ),
'key' => ( $product->is_registered() ? $product->get_key() : false ),
'home_url' => esc_url( $product->get_home_url() ),
'key' => ( $product->is_registered() ? $product->get_key() : false ),
'home_url' => esc_url( $product->get_home_url() ),
);
} else {
$this->args[ 'home_url' ] = esc_url( home_url( '/' ) );
Expand Down

0 comments on commit e76062a

Please sign in to comment.