[wp-trac] [WordPress Trac] #28487: Introduce a function to determine if the scheme of a URL is https

WordPress Trac noreply at wordpress.org
Sun Jun 8 22:09:20 UTC 2014


#28487: Introduce a function to determine if the scheme of a URL is https
-------------------------+------------------
 Reporter:  johnbillion  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.0
Component:  Security     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------

Comment (by johnbillion):

 My patch on #28427 demonstrates the use case for this.

 Replying to [comment:2 SergeyBiryukov]:
 > To avoid confusion with `is_ssl()`, I'd suggest something like
 `is_https_url()` as a name.
 Agreed.

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


More information about the wp-trac mailing list