mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
2f09df84f3
commit
2be4925f70
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user