Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52886, comment 16


Ignore:
Timestamp:
07/10/2025 12:16:27 AM (4 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52886, comment 16

    initial v1  
    11@pcarvalho suggested using the [https://core.trac.wordpress.org/ticket/46673#comment:4 first allowed $protocols] value (in the existing argument).
    22
    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 if
     3The 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
    441. `esc_url()` or `esc_url_raw()` includes an array as the second argument and
    552. 'https' is the first value in that array.