Changes between Version 1 and Version 2 of Ticket #49190, comment 4
- Timestamp:
- 01/17/2020 01:21:24 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49190, comment 4
v1 v2 1 1 > WordPress core runs KSES on the post's title as it's saved so the content in the database is considered safe. Therefore there is no need to run wp_kses_post() on title. It's the same process that makes escaping the_content() unnecessary. 2 2 3 That was my initial assumption, before seeing the linked suggestion in `_s` repository. There's some conflicting information on the code reference page that should be clarified:3 That was my initial assumption, before seeing the linked suggestion in the `_s` repository. There's some conflicting information on the code reference page that should be clarified: 4 4 5 5 https://developer.wordpress.org/reference/functions/get_the_title/#comment-2150