Changes between Initial Version and Version 1 of Ticket #52886, comment 4
- Timestamp:
- 04/28/2021 10:03:30 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52886, comment 4
initial v1 1 1 > The usage could then be: 2 3 {{{4 esc_url( $url, null, 'display', 'https://' );5 }}}2 > 3 > {{{ 4 > esc_url( $url, null, 'display', 'https://' ); 5 > }}} 6 6 7 7 Looking at this again, I wonder if it's straightforward enough in practice, as it would require passing four parameters to every `esc_url()` call that might be missing the protocol and should default to `https://`. If the site is known to use `https://`, that seems redundant.