mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-10 23:54:33 +00:00
Add @static* annotations where they are missing.
Initialize all static vars that are not, most to `null`. See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32650 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2146,11 +2146,11 @@ Thanks!
|
||||
*
|
||||
* @staticvar bool $forced_content
|
||||
*
|
||||
* @param string|bool $force
|
||||
* @param bool $force
|
||||
* @return bool True if forced, false if not forced.
|
||||
*/
|
||||
function force_ssl_content( $force = '' ) {
|
||||
static $forced_content;
|
||||
static $forced_content = false;
|
||||
|
||||
if ( '' != $force ) {
|
||||
$old_forced = $forced_content;
|
||||
|
||||
Reference in New Issue
Block a user