Changeset 21664 for trunk/wp-includes/link-template.php
- Timestamp:
- 08/30/2012 01:33:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r21662 r21664 2050 2050 */ 2051 2051 function content_url($path = '') { 2052 $url = WP_CONTENT_URL; 2053 if ( 0 === strpos($url, 'http') && is_ssl() ) 2054 $url = str_replace( 'http://', 'https://', $url ); 2052 $url = set_url_scheme( WP_CONTENT_URL ); 2055 2053 2056 2054 if ( !empty($path) && is_string($path) && strpos($path, '..') === false ) … … 2084 2082 $url = WP_PLUGIN_URL; 2085 2083 2086 if ( 0 === strpos($url, 'http') && is_ssl() )2087 $url = str_replace( 'http://', 'https://',$url );2084 2085 $url = set_url_scheme( $url ); 2088 2086 2089 2087 if ( !empty($plugin) && is_string($plugin) ) {
Note: See TracChangeset
for help on using the changeset viewer.