From f149e8752d5b1e220fd2d43c75cc3d16338ae00e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 27 Aug 2012 20:25:53 +0000 Subject: [PATCH] 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: https://develop.svn.wordpress.org/trunk@21629 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index a99f58c402..b4e186de42 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -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.