Commit efbfbe0
fix: translatable admin notices; drop domain from __Host- cookie
- sparxstar-gluon.php: wrap all three gluonAdminNotice() call-site
strings in esc_html__( '...', 'sparxstar-gluon' ) so they are
translatable and properly escaped; also prefix the messages with
'SPARXSTAR Gluon' for clarity (the previous messages said 'Plugin').
- src/integrations/SparxstarGluonRules.php: remove the 'domain' => ''
option from gluonSetTokenCookie()'s setcookie() array — __Host-
cookies must not include a Domain attribute at all (even an empty
one), to comply with the __Host- prefix spec and avoid inconsistent
browser/SAPI behaviour.
Co-authored-by: MaximillianGroup <34328348+MaximillianGroup@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Starisian-Technologies/sparxstar-gluon/sessions/4ac1db52-3324-4698-92ba-4fdb3781e8fa1 parent e7c352a commit efbfbe0
2 files changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
222 | 227 | | |
223 | 228 | | |
224 | 229 | | |
225 | 230 | | |
226 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
227 | 237 | | |
228 | 238 | | |
229 | 239 | | |
230 | 240 | | |
231 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
232 | 247 | | |
233 | 248 | | |
234 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | 202 | | |
204 | 203 | | |
205 | 204 | | |
| |||
0 commit comments