WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/29/2015 03:42:40 PM (6 years ago)
Author:
wonderboymusic
Message:

Add @static* annotations where they are missing.
Initialize all static vars that are not, most to null.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-functions.php

    r32611 r32650  
    21472147 * @staticvar bool $forced_content
    21482148 *
    2149  * @param string|bool $force
     2149 * @param bool $force
    21502150 * @return bool True if forced, false if not forced.
    21512151 */
    21522152function force_ssl_content( $force = '' ) {
    2153     static $forced_content;
     2153    static $forced_content = false;
    21542154
    21552155    if ( '' != $force ) {
Note: See TracChangeset for help on using the changeset viewer.