Make WordPress Core

Changeset 23413


Ignore:
Timestamp:
02/14/2013 05:52:23 AM (12 years ago)
Author:
SergeyBiryukov
Message:

Use correct escaping function. fixes #23334.

Location:
trunk
Files:
6 edited

Legend:

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

    r22948 r23413  
    6464</head>
    6565<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>">
    66 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
     66<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
    6767
    6868<?php
  • trunk/wp-admin/maint/repair.php

    r22948 r23413  
    2222</head>
    2323<body class="wp-core-ui">
    24 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
     24<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
    2525
    2626<?php
  • trunk/wp-admin/network/sites.php

    r22948 r23413  
    7474            </head>
    7575            <body class="wp-core-ui">
    76                 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
     76                <h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
    7777                <form action="sites.php?action=<?php echo esc_attr( $_GET['action2'] ) ?>" method="post">
    7878                    <input type="hidden" name="action" value="<?php echo esc_attr( $_GET['action2'] ) ?>" />
  • trunk/wp-admin/setup-config.php

    r22948 r23413  
    101101</head>
    102102<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>">
    103 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
     103<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
    104104<?php
    105105} // end function setup_config_display_header();
  • trunk/wp-admin/upgrade.php

    r22948 r23413  
    5959</head>
    6060<body class="wp-core-ui">
    61 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
     61<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
    6262
    6363<?php if ( get_option( 'db_version' ) == $wp_db_version || !is_blog_installed() ) : ?>
  • trunk/wp-includes/default-widgets.php

    r23021 r23413  
    316316            <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>
    317317            <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>
    318             <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
     318            <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
    319319            /* translators: meta widget link text */
    320320            _e( 'WordPress.org' );
Note: See TracChangeset for help on using the changeset viewer.