Changeset 13427 for trunk/wp-includes/functions.php
- Timestamp:
- 02/26/2010 06:21:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r13413 r13427 3338 3338 $url = WP_SITEURL; 3339 3339 } else { 3340 $schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') ? 'https://' : 'http://';3340 $schema = is_ssl() ? 'https://' : 'http://'; 3341 3341 $url = preg_replace('|/wp-admin/.*|i', '', $schema . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); 3342 3342 }
Note: See TracChangeset
for help on using the changeset viewer.