Changeset 60147
- Timestamp:
- 04/08/2025 06:02:14 PM (3 weeks ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r60129 r60147 2421 2421 * @since 2.8.5 2422 2422 * 2423 * @param bool $force2423 * @param bool|null $force Optional. Whether to force SSL in admin screens. Default null. 2424 2424 * @return bool True if forced, false if not forced. 2425 2425 */ 2426 function force_ssl_content( $force = '') {2426 function force_ssl_content( $force = null ) { 2427 2427 static $forced_content = false; 2428 2428 2429 if ( ! $force) {2429 if ( ! is_null( $force ) ) { 2430 2430 $old_forced = $forced_content; 2431 $forced_content = $force;2431 $forced_content = (bool) $force; 2432 2432 return $old_forced; 2433 2433 }
Note: See TracChangeset
for help on using the changeset viewer.