[wp-trac] [WordPress Trac] #35844: Move is_ssl() to load.php for use in advanced-cache.php

WordPress Trac noreply at wordpress.org
Fri Jun 10 18:55:36 UTC 2016


#35844: Move is_ssl() to load.php for use in advanced-cache.php
-----------------------------+---------------------------
 Reporter:  johnjamesjacoby  |       Owner:  DrewAPicture
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  4.6
Component:  Bootstrap/Load   |     Version:  2.6
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+---------------------------
Changes (by DrewAPicture):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37677"]:
 {{{
 #!CommitTicketReference repository="" revision="37677"
 Boostrap: Move `is_ssl()` to wp-includes/load.php.

 Moving to load.php introduces parity with other commonly evaluated
 `is_*()` functions such as `is_admin()` or `is_multisite()`.  It also
 makes `is_ssl()` available much earlier in the loading process, such as
 for use in drop-ins like advanced-cache.php.

 Props johnjamesjacoby.
 Fixes #35844.
 }}}

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


More information about the wp-trac mailing list