mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
a94b94504a
commit
f149e8752d
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user