Make WordPress Core

Changeset 20057


Ignore:
Timestamp:
02/29/2012 11:28:13 PM (13 years ago)
Author:
koopersmith
Message:

Theme Customizer: Use home_url instead of get_home_url. props nacin, fixes #20137, see #19910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/customize-controls.php

    r20051 r20057  
    8484    $scheme = is_ssl() ? 'https' : 'http';
    8585    $settings = array(
    86         'preview' => esc_url( get_home_url( null, '/', $scheme ) ),
     86        'preview' => esc_url( home_url( '/', $scheme ) ),
    8787        'values'  => array(),
    8888        'prefix'  => WP_Customize_Setting::name_prefix,
Note: See TracChangeset for help on using the changeset viewer.