Changeset 59830
- Timestamp:
- 02/17/2025 03:30:29 PM (2 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r59828 r59830 6274 6274 * @since 2.6.0 6275 6275 * 6276 * @param string|bool $force Optional. Whether to force SSL in admin screens. Default null.6276 * @param string|bool|null $force Optional. Whether to force SSL in admin screens. Default null. 6277 6277 * @return bool True if forced, false if not forced. 6278 6278 */ … … 6282 6282 if ( ! is_null( $force ) ) { 6283 6283 $old_forced = $forced; 6284 $forced = $force;6284 $forced = (bool) $force; 6285 6285 return $old_forced; 6286 6286 }
Note: See TracChangeset
for help on using the changeset viewer.