Ticket #25449: 25449.diff
| File 25449.diff, 929 bytes (added by , 10 years ago) |
|---|
-
wp-includes/functions.php
1876 1876 $url = trailingslashit( $siteurl ) . 'files'; 1877 1877 } 1878 1878 } 1879 1880 // On SSL front-end, URLs should be HTTPS 1881 if ( is_ssl() && ! is_admin() && 'wp-login.php' !== $GLOBALS['pagenow'] ) { 1882 $url = set_url_scheme( $url ); 1883 } 1879 1884 1880 1885 $basedir = $dir; 1881 1886 $baseurl = $url; -
wp-includes/post.php
4895 4895 $url = get_the_guid( $post->ID ); 4896 4896 } 4897 4897 4898 // On SSL front-end, URLs should be HTTPS.4899 if ( is_ssl() && ! is_admin() && 'wp-login.php' !== $GLOBALS['pagenow'] ) {4900 $url = set_url_scheme( $url );4901 }4902 4903 4898 /** 4904 4899 * Filter the attachment URL. 4905 4900 *