WordPress.org

Make WordPress Core

Changeset 13474


Ignore:
Timestamp:
02/27/2010 11:22:56 PM (11 years ago)
Author:
nacin
Message:

get_bloginfo('wpurl') should use site_url(), not get_option('siteurl'). see #9008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r13467 r13474  
    359359 * @param string $show What to display.
    360360 */
    361 function bloginfo($show='') {
    362     echo get_bloginfo($show, 'display');
     361function bloginfo( $show='' ) {
     362    echo get_bloginfo( $show, 'display' );
    363363}
    364364
     
    398398            break;
    399399        case 'wpurl' :
    400             $output = get_option('siteurl');
     400            $output = site_url();
    401401            break;
    402402        case 'description':
Note: See TracChangeset for help on using the changeset viewer.