Commit 1686981
committed
fix(security): add missing CSP nonce to theme_editor.php and make inline style conditional
- Add CSP nonce to script tag in theme_editor.php (Issue #459)
- Make inline style attribute on headline conditional based on outputowncss setting (Issue #458)
- Inline style is now only output when custom CSS is not enabled
- Aligns with behavior of style block which is also conditional1 parent 24a4349 commit 1686981
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
| 592 | + | |
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
| |||
0 commit comments