Changeset 13427 for trunk/wp-includes/canonical.php
- Timestamp:
- 02/26/2010 06:21:47 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/canonical.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/canonical.php
r13377 r13427 43 43 if ( !$requested_url ) { 44 44 // build the URL in the address bar 45 $requested_url = ( !empty($_SERVER['HTTPS'] ) && strtolower($_SERVER['HTTPS']) == 'on') ? 'https://' : 'http://';45 $requested_url = is_ssl() ? 'https://' : 'http://'; 46 46 $requested_url .= $_SERVER['HTTP_HOST']; 47 47 $requested_url .= $_SERVER['REQUEST_URI'];
Note: See TracChangeset
for help on using the changeset viewer.