WordPress.org

Make WordPress Core

Changeset 20439


Ignore:
Timestamp:
04/11/12 20:22:48 (2 years ago)
Author:
nacin
Message:

Use home_url() instead of get_bloginfo('url'). props Mamaduka, fixes #20371.

File:
1 edited

Legend:

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

    r20332 r20439  
    12091209        $options = array( 
    12101210            'body'          => array( 'useragent' => $_SERVER['HTTP_USER_AGENT'] ), 
    1211             'user-agent'    => 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) 
     1211            'user-agent'    => 'WordPress/' . $wp_version . '; ' . home_url() 
    12121212        ); 
    12131213 
Note: See TracChangeset for help on using the changeset viewer.