Changeset 11903 for trunk/wp-includes/functions.php
- Timestamp:
- 09/08/2009 02:46:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r11902 r11903 3082 3082 * @return bool True if forced, false if not forced. 3083 3083 */ 3084 function force_ssl_login( $force = '') {3085 static $forced ;3086 3087 if ( '' != $force) {3084 function force_ssl_login( $force = null ) { 3085 static $forced = false; 3086 3087 if ( !is_null( $force ) ) { 3088 3088 $old_forced = $forced; 3089 3089 $forced = $force; … … 3102 3102 * @return bool True if forced, false if not forced. 3103 3103 */ 3104 function force_ssl_admin( $force = '') {3105 static $forced ;3106 3107 if ( '' != $force) {3104 function force_ssl_admin( $force = null ) { 3105 static $forced = false; 3106 3107 if ( !is_null( $force ) ) { 3108 3108 $old_forced = $forced; 3109 3109 $forced = $force;
Note: See TracChangeset
for help on using the changeset viewer.