updated plugin Easy Digital Downloads
version 3.1.2
This commit is contained in:
@ -100,12 +100,12 @@ class EDD_License {
|
||||
*
|
||||
* @see \EDD\Admin\Promos\Notices\License_Upgrade_Notice::__construct()
|
||||
*/
|
||||
if ( ! empty( $this->license ) && is_null( $this->api_url ) ) {
|
||||
if ( is_null( $this->api_url ) ) {
|
||||
global $edd_licensed_products;
|
||||
if ( ! is_array( $edd_licensed_products ) ) {
|
||||
$edd_licensed_products = array();
|
||||
}
|
||||
$edd_licensed_products[] = $this->item_shortname;
|
||||
$edd_licensed_products[ $this->item_shortname ] = (int) (bool) ( $this->license && empty( $this->edd_license->error ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user