WordPress.org

Make WordPress Core

Changeset 23455


Ignore:
Timestamp:
02/19/2013 05:36:16 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Revert to esc_attr_e() in setup-config.php to prevent a fatal error.
kses.php is not loaded at this point, so esc_url() cannot be used.

props csixty4, JustinSainton.
fixes #23516. see #23334.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/setup-config.php

    r23416 r23455  
    101101</head>
    102102<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>">
    103 <h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
     103<h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
    104104<?php
    105105} // end function setup_config_display_header();
Note: See TracChangeset for help on using the changeset viewer.