Fix Codesniffer errors.
This commit is contained in:
parent
b215eebe1e
commit
175524922c
17 changed files with 59 additions and 32 deletions
|
@ -4,13 +4,12 @@
|
|||
* http://codex.wordpress.org/Custom_Headers
|
||||
*
|
||||
* You can add an optional custom header image to header.php like so ...
|
||||
|
||||
*
|
||||
<?php if ( get_header_image() ) : ?>
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
|
||||
<img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="">
|
||||
</a>
|
||||
<?php endif; // End header image check. ?>
|
||||
|
||||
*
|
||||
* @package _s
|
||||
*/
|
||||
|
@ -46,7 +45,7 @@ function _s_header_style() {
|
|||
$header_text_color = get_header_textcolor();
|
||||
|
||||
// If no custom options for text are set, let's bail
|
||||
// get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value
|
||||
// get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value.
|
||||
if ( HEADER_TEXTCOLOR == $header_text_color ) {
|
||||
return;
|
||||
}
|
||||
|
@ -64,7 +63,7 @@ function _s_header_style() {
|
|||
clip: rect(1px, 1px, 1px, 1px);
|
||||
}
|
||||
<?php
|
||||
// If the user has set a custom color for the text use that
|
||||
// If the user has set a custom color for the text use that.
|
||||
else :
|
||||
?>
|
||||
.site-title a,
|
||||
|
@ -124,4 +123,4 @@ function _s_admin_header_image() {
|
|||
</div>
|
||||
<?php
|
||||
}
|
||||
endif; // _s_admin_header_image
|
||||
endif; // _s_admin_header_image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue