Changes between Version 2 and Version 3 of Ticket #58333, comment 59
- Timestamp:
- 05/18/2023 12:24:27 PM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58333, comment 59
v2 v3 43 43 Hopefully some of this is useful in getting to the bottom of the issue. 44 44 45 I 'm invested in finding a proper solution to the above issues, as I've struggled with them for a while. I wrotein [https://github.com/WordPress/gutenberg/issues/37754#issuecomment-1433931297 a comment on one of the issues]:45 I believe a proper solution to all the above, including the vulnerability of shortcode execution in user-submitted content, is to selectively apply these content filters only as needed. As described in [https://github.com/WordPress/gutenberg/issues/37754#issuecomment-1433931297 a comment on one of the issues]: 46 46 47 47 > The way it currently works, there's no way for block authors to opt-out of these filters; the most they can do is to work around or reverse their effects. A better design would be to ''not'' process the resulting HTML of a block by default, except for certain blocks where `the_content` filter makes sense. As @carlomanf said: