[wp-trac] [WordPress Trac] #47577: Detect HTTPS support and provide guidance

WordPress Trac noreply at wordpress.org
Fri Feb 26 20:57:02 UTC 2021


#47577: Detect HTTPS support and provide guidance
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  flixos90
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.7
Component:  Security                             |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests has-dev-    |     Focuses:
  note                                           |  administration
-------------------------------------------------+-------------------------

Comment (by juliobox):

 Hello there
 Question: Why don't we just do this 1 line return:
 {{{
 function wp_is_using_https() {
         return wp_is_home_url_using_https() &&
 wp_is_site_url_using_https();
 }
 }}}
 thanks

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


More information about the wp-trac mailing list