Changes between Initial Version and Version 1 of Ticket #52886, comment 16
- Timestamp:
- 07/10/2025 12:16:27 AM (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52886, comment 16
initial v1 1 1 @pcarvalho suggested using the [https://core.trac.wordpress.org/ticket/46673#comment:4 first allowed $protocols] value (in the existing argument). 2 2 3 The following code would change the [https://github.com/WordPress/wordpress-develop/blob/ trunk/src/wp-includes/formatting.php#L4508 fallback] scheme to `https://` only if3 The following code would change the [https://github.com/WordPress/wordpress-develop/blob/8938a326244e3fb1e27e0f64413f72fffe8467b1/src/wp-includes/formatting.php#L4508 fallback] scheme to `https://` only if 4 4 1. `esc_url()` or `esc_url_raw()` includes an array as the second argument and 5 5 2. 'https' is the first value in that array.