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. git-svn-id: https://develop.svn.wordpress.org/trunk@23455 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f474e9da60
commit
0e5ac6c8c6
@ -100,7 +100,7 @@ function setup_config_display_header() {
|
|||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>">
|
<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>">
|
||||||
<h1 id="logo"><a href="<?php echo esc_url( __( 'http://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
|
<h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
|
||||||
<?php
|
<?php
|
||||||
} // end function setup_config_display_header();
|
} // end function setup_config_display_header();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user