[wp-trac] [WordPress Trac] #46673: Update esc_url function (default https).

WordPress Trac noreply at wordpress.org
Wed Mar 27 16:39:13 UTC 2019


#46673: Update esc_url function (default https).
--------------------------+-------------------------
 Reporter:  aksl95        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:  maybelater
 Keywords:                |     Focuses:
--------------------------+-------------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => maybelater
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the patch @aksl95 , but this isn't a good idea because it's
 easy to break a link by setting its scheme to `https` when the site
 doesn't support HTTPS. Conversely, any website available over HTTPS is
 also available over HTTP and likely will be for the foreseeable future.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46673#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list