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

git-svn-id: http://core.svn.wordpress.org/trunk@23642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-03-07 17:18:02 +00:00
parent adecc9f798
commit 10d48f7478
1 changed files with 2 additions and 2 deletions

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>