Skip to content

Commit

Permalink
Use correct escaping function. fixes #23334.
Browse files Browse the repository at this point in the history
git-svn-id: http://core.svn.wordpress.org/trunk@23413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
SergeyBiryukov committed Feb 14, 2013
1 parent 08269aa commit 7a77f47
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion wp-admin/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function display_header() {
?>
</head>
<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>">
<h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>

<?php
} // end display_header()
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/maint/repair.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
?>
</head>
<body class="wp-core-ui">
<h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>

<?php

Expand Down
2 changes: 1 addition & 1 deletion wp-admin/network/sites.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
?>
</head>
<body class="wp-core-ui">
<h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
<form action="sites.php?action=<?php echo esc_attr( $_GET['action2'] ) ?>" method="post">
<input type="hidden" name="action" value="<?php echo esc_attr( $_GET['action2'] ) ?>" />
<input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" />
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/setup-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function setup_config_display_header() {

</head>
<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>">
<h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
<?php
} // end function setup_config_display_header();

Expand Down
2 changes: 1 addition & 1 deletion wp-admin/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
?>
</head>
<body class="wp-core-ui">
<h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>

<?php if ( get_option( 'db_version' ) == $wp_db_version || !is_blog_installed() ) : ?>

Expand Down
2 changes: 1 addition & 1 deletion wp-includes/default-widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ function widget( $args, $instance ) {
<li><?php wp_loginout(); ?></li>
<li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php echo esc_attr(__('Syndicate this site using RSS 2.0')); ?>"><?php _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php echo esc_attr(__('The latest comments to all posts in RSS')); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
<li><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>" title="<?php echo esc_attr(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.')); ?>"><?php
<li><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>" title="<?php echo esc_attr(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.')); ?>"><?php
/* translators: meta widget link text */
_e( 'WordPress.org' );
?></a></li>
Expand Down

0 comments on commit 7a77f47

Please sign in to comment.