WordPress.org

Make WordPress Core

Changeset 21629


Ignore:
Timestamp:
08/27/12 20:25:53 (20 months ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r21131 r21629  
    11261126function _custom_background_cb() { 
    11271127    // $background is the saved custom image, or the default image. 
    1128     $background = get_background_image(); 
     1128    $background = set_url_scheme( get_background_image() ); 
    11291129 
    11301130    // $color is the saved custom color. 
Note: See TracChangeset for help on using the changeset viewer.