Make WordPress Core


Ignore:
Timestamp:
02/22/2010 06:15:10 PM (15 years ago)
Author:
nacin
Message:

Use esc_url() instead of clean_url(). See #12309

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upgrade.php

    r13227 r13297  
    196196            $first_post = stripslashes( __( 'Welcome to <a href="SITE_URL">SITE_NAME</a>. This is your first post. Edit or delete it, then start blogging!' ) );
    197197
    198         $first_post = str_replace( "SITE_URL", clean_url("http://" . $current_site->domain . $current_site->path), $first_post );
     198        $first_post = str_replace( "SITE_URL", esc_url("http://" . $current_site->domain . $current_site->path), $first_post );
    199199        $first_post = str_replace( "SITE_NAME", $current_site->site_name, $first_post );
    200200    } else {
Note: See TracChangeset for help on using the changeset viewer.