Closed (fixed)
Project:
ESI: Edge Side Includes
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2012 at 21:22 UTC
Updated:
16 Apr 2012 at 21:41 UTC
We're using ESI in a multilingual site, and the block we've converted to ESI is always shown in the default site language. We traced that problem to function esi_build_uri which does not take language into consideration.
To fix this, we're using function url instead of appending base_path(). Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| esi-language.patch | 601 bytes | infojunkie |
Comments
Comment #1
infojunkieComment #2
mikeytown2 commentedThanks! Patch has been committed. That chunk of code came from AdvAgg's advagg_build_uri() in case your wondering.