Twenty Thirteen: remove redundant esc_url() calls, props SergeyBiryukov, fixes #23663.

git-svn-id: https://develop.svn.wordpress.org/trunk@23642 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2013-03-07 17:18:02 +00:00
parent 2f09df84f3
commit 2be4925f70

View File

@ -85,7 +85,7 @@ function twentythirteen_header_style() {
if ( ! empty( $header_image ) ) :
?>
.site-header {
background: url(<?php esc_url( header_image() ); ?>) no-repeat scroll top;
background: url(<?php header_image(); ?>) no-repeat scroll top;
background-size: 1600px auto;
}
<?php
@ -193,7 +193,7 @@ function twentythirteen_admin_header_style() {
*/
function twentythirteen_admin_header_image() {
?>
<div id="headimg" style="background: url(<?php esc_url( header_image() ); ?>) no-repeat scroll top; background-size: 1600px auto;">
<div id="headimg" style="background: url(<?php header_image(); ?>) no-repeat scroll top; background-size: 1600px auto;">
<?php $style = ' style="color:#' . get_header_textcolor() . ';"'; ?>
<div class="hgroup">
<h1><a id="name"<?php echo $style; ?> onclick="return false;" href="#"><?php bloginfo( 'name' ); ?></a></h1>