Move PHP tags on it’s own line & correct indention

This fixes a few of the errors from the news sniffs in WPCS 0.12.0 and also standardizes the indention between the PHP and HTML
This commit is contained in:
Ulrich Pogson 2017-08-01 22:27:46 +02:00 committed by jrfnl
parent 54ad32a598
commit b26b6ebfa4
13 changed files with 148 additions and 127 deletions

View file

@ -51,16 +51,16 @@ if ( ! function_exists( '_s_header_style' ) ) :
<?php
// Has the text been hidden?
if ( ! display_header_text() ) :
?>
?>
.site-title,
.site-description {
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
}
<?php
<?php
// If the user has set a custom color for the text use that.
else :
?>
?>
.site-title a,
.site-description {
color: #<?php echo esc_attr( $header_text_color ); ?>;