You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like I just scanned the message without reading it with thought 😵💫, but thanks for pointing this out! Noticed it today when setupping air-cookie for a site.
Because we use backslashes and not normal slashes, this escapes the complex string templating and results in the wrong filter name:
with key
consent_modal_title
results in a filter"air_cookie\strings\{consent_modal_title}"
being applied.Proper usage would be
As seen on PHP String docs "Complex (curly) syntax" in the last 5 lines of the first code example.
The text was updated successfully, but these errors were encountered: