Changeset 13769 for trunk/wp-includes/pluggable.php
- Timestamp:
- 03/19/2010 09:15:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r13733 r13769 685 685 686 686 if ( '' === $secure ) 687 $secure = is_ssl() ? true : false;687 $secure = is_ssl(); 688 688 689 689 if ( $secure ) { … … 778 778 // Checks if a user is logged in, if not redirects them to the login page 779 779 780 if ( is_ssl() || force_ssl_admin() ) 781 $secure = true; 782 else 783 $secure = false; 780 $secure = ( is_ssl() || force_ssl_admin() ); 784 781 785 782 // If https is required and request is http, redirect
Note: See TracChangeset
for help on using the changeset viewer.