Skip to content

Commit

Permalink
Update edd-software-license-manager.php
Browse files Browse the repository at this point in the history
Proposed solution to BUG

Fatal error: call to undefined function edd_get_option() flowdee#7
  • Loading branch information
btwatts committed May 6, 2016
1 parent d742e3c commit ff712fc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion edd-software-license-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
exit;
}

if( !class_exists( 'Easy Digital Downloads' ) ) {
return;
}

if( !class_exists( 'EDD_SLM' ) ) {

/**
Expand Down Expand Up @@ -171,4 +175,4 @@ function EDD_SLM_load() {

add_action( 'plugins_loaded', 'EDD_SLM_load' );

} // End if class_exists check
} // End if class_exists check

0 comments on commit ff712fc

Please sign in to comment.