PluginProbe
Extendify / trunk
Extendify vtrunk
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
← All changes | app/Shared/Controllers/DataController.php +3 -2 3.0.4 → trunk View file →
@@ -5,8 +5,9 @@
5 5 */
6 6
7 7 namespace Extendify\Shared\Controllers;
8 8
9 +use Extendify\Constants;
9 10 use Extendify\Shared\Services\HttpClient;
10 11 use Extendify\PartnerData;
11 12
12 13 defined('ABSPATH') || die('No direct access.');
@@ -24,9 +25,9 @@
24 25 */
25 26 public static function getPartnerPlugins()
26 27 {
27 28 $response = HttpClient::get(
28 - 'https://dashboard.extendify.com/api/onboarding/partner-plugins',
29 + Constants::DASHBOARD_HOST . '/api/onboarding/partner-plugins',
29 30 ['params' => ['partner' => PartnerData::$id]]
30 31 );
31 32
32 33 return new \WP_REST_Response($response['response'], $response['code']);
@@ -32,9 +33,9 @@
32 33 return new \WP_REST_Response($response['response'], $response['code']);
33 34 }
34 35
35 36 /**
36 - * Just here to check for 200 (vs server rate limting)
37 + * Just here to check for 200 (vs server rate limiting)
37 38 *
38 39 * @return \WP_REST_Response
39 40 */
40 41 public static function ping()