Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #35844


Ignore:
Timestamp:
02/16/2016 05:03:10 PM (10 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35844 – Description

    initial v2  
    33Batcache and other similar plugins end up copying `is_ssl()` verbatim for their own use.
    44
    5 I think this is a safe move for a few reasons:
    6 * Other common `is_` functions are there
    7 * It's a highly useful utility function that developers should safely assume is always available inside of WordPress, no matter how early
     5I think this is a safe move because:
    86* Traditional plugins and themes cannot load early enough to need to manually include it
    97* WordPress does not `require_once` the `functions.php` file, meaning anyone trying to pre-include it in their own `advanced-cache.php` implementation would encounter fatal errors
    108
     9I think this is a good move because:
     10* Other common `is_` functions are there already (`is_multisite()`, et all)
     11* It's a highly useful utility function that developers should feel safe assuming is always available inside of WordPress's runtime, no matter how early
     12
    1113Patch imminent.