Use set_url_scheme() in _custom_background_cb() to properly set the scheme for the background image when is_ssl(). Props jkudish. fixes #18005

git-svn-id: http://core.svn.wordpress.org/trunk@21629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren 2012-08-27 20:25:53 +00:00
parent 2ea0626e5d
commit 446be3ee40
1 changed files with 1 additions and 1 deletions

View File

@ -1125,7 +1125,7 @@ function background_color() {
*/
function _custom_background_cb() {
// $background is the saved custom image, or the default image.
$background = get_background_image();
$background = set_url_scheme( get_background_image() );
// $color is the saved custom color.
// A default has to be specified in style.css. It will not be printed here.