Make WordPress Core


Ignore:
Timestamp:
05/03/2010 06:16:22 PM (16 years ago)
Author:
ryan
Message:

Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r14371 r14374  
    170170    $theme_root = $themes[$theme_name]['Theme Root'];
    171171    $theme_root_uri = $themes[$theme_name]['Theme Root URI'];
    172     $preview_link = trailingslashit( home_url() );
     172    $preview_link = esc_url(get_option('home') . '/');
    173173    if ( is_ssl() )
    174174        $preview_link = str_replace( 'http://', 'https://', $preview_link );
Note: See TracChangeset for help on using the changeset viewer.