PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.10
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.10
4.4.10 4.4.9.1 4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 All 142 releases
← All changes | inc/gateways/paypal/class-lp-gateway-paypal.php +2 -2 4.4.2 → 4.4.10 View file →
@@ -1345,9 +1345,9 @@
1345 1345 )
1346 1346 );
1347 1347
1348 1348 if ( is_wp_error( $response ) ) {
1349 - throw new Exception( $response->get_error_message(), $response->get_error_code() );
1349 + throw new Exception( $response->get_error_message() );
1350 1350 }
1351 1351
1352 1352 $body = wp_remote_retrieve_body( $response );
1353 1353 $response_data = LP_Helper::json_decode( $body, true );
@@ -1711,9 +1711,9 @@
1711 1711 )
1712 1712 );
1713 1713
1714 1714 if ( is_wp_error( $response ) ) {
1715 - throw new Exception( $response->get_error_message(), $response->get_error_code() );
1715 + throw new Exception( $response->get_error_message() );
1716 1716 }
1717 1717
1718 1718 $verify_result = LP_Helper::json_decode( wp_remote_retrieve_body( $response ), true );
1719 1719 $is_verified = ! empty( $verify_result['verification_status'] )