forked from mirror/_s
Better WordPress Coding standards.
This minor commit kicks off code improvements to _s so that it’s fully in line with WordPress Coding Standards rules.
This commit is contained in:
parent
eab9f19d63
commit
2540fb7b7f
|
@ -19,7 +19,7 @@
|
|||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_content( sprintf(
|
||||
__( 'Continue reading %s <span class="meta-nav">→</span>', '_s' ),
|
||||
__( 'Continue reading %s <span class="meta-nav">→</span>', '_s' ),
|
||||
the_title( '<span class="screen-reader-text">"', '"</span>', false )
|
||||
) );
|
||||
?>
|
||||
|
@ -35,4 +35,4 @@
|
|||
<footer class="entry-footer">
|
||||
<?php _s_entry_footer(); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-## -->
|
|
@ -69,7 +69,7 @@ function _s_header_style() {
|
|||
?>
|
||||
.site-title a,
|
||||
.site-description {
|
||||
color: #<?php echo $header_text_color; ?>;
|
||||
color: #<?php echo esc_attr( $header_text_color ); ?>;
|
||||
}
|
||||
<?php endif; ?>
|
||||
</style>
|
||||
|
@ -123,4 +123,4 @@ function _s_admin_header_image() {
|
|||
</div>
|
||||
<?php
|
||||
}
|
||||
endif; // _s_admin_header_image
|
||||
endif; // _s_admin_header_image
|
Reference in New Issue