From 30faf9a9102d0fc8ed930cbb2c4fd10596bdc51a Mon Sep 17 00:00:00 2001 From: GotPPay Date: Wed, 15 Aug 2018 22:29:01 +0200 Subject: [PATCH] use defined value from WP_HOME instead of hardcoded value --- .../includes/api/class-wiaas-rest-delivery-process-api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/plugins/wiaas/includes/api/class-wiaas-rest-delivery-process-api.php b/backend/app/plugins/wiaas/includes/api/class-wiaas-rest-delivery-process-api.php index 26673ac..6893d45 100644 --- a/backend/app/plugins/wiaas/includes/api/class-wiaas-rest-delivery-process-api.php +++ b/backend/app/plugins/wiaas/includes/api/class-wiaas-rest-delivery-process-api.php @@ -2,7 +2,7 @@ class Wiass_REST_Delivery_Process_API { - private static $BASE_NAME = 'http://localhost/'; + private static $BASE_NAME = WP_HOME . "/"; private static $ACCEPTANCE_STATUS_FIELD_ID = 8; private static $EXPIRATION_DATE_FIELD_ID = 9;