Make WordPress Core


Ignore:
Timestamp:
05/02/2010 10:53:59 PM (16 years ago)
Author:
ryan
Message:

Escape links by default. Props alexkingorg. see #13051

File:
1 edited

Legend:

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

    r14334 r14347  
    106106?>
    107107
    108 <img id="header-logo" src="<?php echo esc_url( includes_url( 'images/blank.gif' ) ); ?>" alt="" width="32" height="32" />
     108<img id="header-logo" src="<?php echo includes_url( 'images/blank.gif' ); ?>" alt="" width="32" height="32" />
    109109<h1 id="site-heading" <?php echo $title_class ?>>
    110     <a href="<?php echo trailingslashit( get_bloginfo( 'url' ) ); ?>" title="<?php esc_attr_e('Visit Site') ?>">
     110    <a href="<?php echo trailingslashit( home_url() ); ?>" title="<?php esc_attr_e('Visit Site') ?>">
    111111        <span id="site-title"><?php echo $blog_name ?></span>
    112112    </a>
Note: See TracChangeset for help on using the changeset viewer.