Changes between Initial Version and Version 1 of Ticket #56140, comment 3
- Timestamp:
- 07/05/2022 12:21:49 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56140, comment 3
initial v1 2 2 > We only need to make sure that it is correctly escaped for the `value` attribute, don't we? 3 3 4 Yes, I think `esc_attr()` is correct here. It's not unlikely that some might want to put "Website: none", "in progress", or something else that's not a valid URL in their profile.4 Yes, I think `esc_attr()` is correct here. It's not unlikely that someone might want to put "Website: none", "in progress", or something else that's not a valid URL in their profile. 5 5 6 6 Requiring a valid URL and sanitizing it as such, with appropriate error messages, could be a separate enhancement.