What scope is $blog_url = get_bloginfo() inside a function

$get_bloginfo() function is root scoped.

For a measure of confidence, it’s good to know it is used by the wp_mail function in the pluggable.php file.

// If we don't have a charset from the input headers
if ( !isset( $charset ) )
    $charset = get_bloginfo( 'charset' );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)