Skip to content

Commit af31390

Browse files
committed
PCD269: add EP_HELPER_AUTH_HOST glue + bump plugin tag (phase A.3)
wp-config.php: mirrors the existing ELASTICSEARCH_DOCS_HOST -> EP_HELPER_HOST pattern for ELASTICSEARCH_DOCS_AUTH_HOST -> EP_HELPER_AUTH_HOST. URL suffix is the new /send-attachments-auth route on docsapi (proudcity-elastic-docs-api commit ee064f6). composer.json: bumps proudcity/wp-proud-search-elastic to 2026.06.02.1320, which is the plugin commit that adds the URL selector (wp-proud-search-elastic commit f6c4be2). Bumped in all three places: require, repositories[].package.version, package.source.reference. No behaviour change yet for any site. Until a site has ELASTICSEARCH_DOCS_AUTH_HOST set on its pod env, the plugin's URL selector falls through to the existing EP_HELPER_HOST path. Refs PCD269.
1 parent 43e1448 commit af31390

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,11 @@
223223
"package": {
224224
"name": "proudcity/wp-proud-search-elastic",
225225
"type": "wordpress-plugin",
226-
"version": "2026.06.01.1513",
226+
"version": "2026.06.02.1320",
227227
"source": {
228228
"type": "git",
229229
"url": "https://github.com/proudcity/wp-proud-search-elastic.git",
230-
"reference": "2026.06.01.1513"
230+
"reference": "2026.06.02.1320"
231231
}
232232
}
233233
},
@@ -546,7 +546,7 @@
546546
"proudcity/wp-proud-core": "2026.05.28.1213",
547547
"proudcity/wp-proud-agency": "2026.02.02.1542",
548548
"proudcity/wp-proud-search": "2025.10.30.1256",
549-
"proudcity/wp-proud-search-elastic": "2026.06.01.1513",
549+
"proudcity/wp-proud-search-elastic": "2026.06.02.1320",
550550
"proudcity/wp-proud-payment": "2026.04.21.0952",
551551
"proudcity/wp-proud-document": "2026.04.28.0912",
552552
"proudcity/wp-proud-location": "2025.12.03.1131",

www/wp-config.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@
103103
if (getenv('ELASTICSEARCH_DOCS_HOST')) {
104104
define('EP_HELPER_HOST', 'http://' . getenv('ELASTICSEARCH_DOCS_HOST') . '/send-attachments');
105105
}
106+
if (getenv('ELASTICSEARCH_DOCS_AUTH_HOST')) {
107+
define('EP_HELPER_AUTH_HOST', 'http://' . getenv('ELASTICSEARCH_DOCS_AUTH_HOST') . '/send-attachments-auth');
108+
}
106109
if (getenv('ELASTICSEARCH_DOCS_USER')) {
107110
define('EP_HELPER_USER', getenv('ELASTICSEARCH_DOCS_USER'));
108111
}

0 commit comments

Comments
 (0)