Timeline for How to escape multiple attribute at once in WordPress?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 26, 2017 at 9:26 | comment | added | Mark Kaplun | if you want to match some code style verification tool than you need to follow what it want. Your code as it is is in perfect shape. To get past WPCS you might need to echo each attribute by itself, other tools might need different things, but again this is basically a limitation on how good are the tools in statically inspecting your code. | |
Oct 26, 2017 at 8:34 | comment | added | mlimon |
I don't have one, My question was, how can I echo $attributes variable here and maintain WordPress standard escaping rules. Or if I directly echo $attributes variable here is it good for codex theme or like themeforest?
|
|
Oct 26, 2017 at 7:20 | answer | added | Jacob Peattie | timeline score: 2 | |
Oct 26, 2017 at 7:00 | comment | added | Mark Kaplun | there is nothing wrong with your code. please explain the actual issue you have | |
Oct 26, 2017 at 6:56 | history | asked | mlimon | CC BY-SA 3.0 |