Use correct escaping function. fixes #23334.
git-svn-id: http://core.svn.wordpress.org/trunk@23413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
08269aa6b0
commit
7a77f47f55
|
@ -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()
|
||||
|
|
|
@ -21,7 +21,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
|
|||
?>
|
||||
</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
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ if ( isset( $_GET['action'] ) ) {
|
|||
?>
|
||||
</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 ); ?>" />
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ else
|
|||
?>
|
||||
</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() ) : ?>
|
||||
|
||||
|
|
|
@ -315,7 +315,7 @@ class WP_Widget_Meta extends WP_Widget {
|
|||
<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>
|
||||
|
|
Loading…
Reference in New Issue