Skip to content

Commit

Permalink
Update usage of PLSUtility
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Oct 18, 2024
1 parent e3dd0b6 commit f6f68f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/Services/PluginUpgrader.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ public static function upgrade_extended_yith_plugin( $extended_slug ) {
}

// Provision a license for the premium version of the plugin
$license_response = PLSUtility::provision_license( $premium_slug );
$pls_utility = new PLSUtility();
$license_response = $pls_utility->provision_license( $premium_slug, 'yith' );
if ( is_wp_error( $license_response ) ) {
$upgrade_status['message'] = __( 'Failed to provision license for: ', 'wp-module-installer' ) . $premium_slug;
return $upgrade_status;
Expand Down

0 comments on commit f6f68f4

Please sign in to comment.