phpcs fixes

Still needs translation description.
This commit is contained in:
Jason King 2017-04-15 21:40:00 +09:30 committed by GitHub
parent 88f9815234
commit 06e1546da8
1 changed files with 10 additions and 7 deletions

View File

@ -24,13 +24,15 @@ $container = get_theme_mod( 'understrap_container_type' );
<footer class="site-footer" id="colophon"> <footer class="site-footer" id="colophon">
<div class="site-info"> <div class="site-info">
<a href="<?php echo esc_url( __( 'http://wordpress.org/','understrap' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'understrap' ),'WordPress' ); ?></a> /* translators:*/
<span class="sep"> | </span> <a href="<?php echo esc_url( __( 'http://wordpress.org/','understrap' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'understrap' ),'WordPress' ); ?></a>
<?php printf( // WPCS: XSS ok. <span class="sep"> | </span>
esc_html__( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ), /* translators:*/
'<a href="http://understrap.com/">understrap.com</a>' ); ?> <?php printf( // WPCS: XSS ok.
(<?php printf( // WPCS: XSS ok. esc_html__( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ), '<a href="http://understrap.com/">understrap.com</a>' ); ?>
esc_html__( 'Version: %1$s', 'understrap' ), $the_theme->get( 'Version' ) ); ?>) /* translators:*/
(<?php printf( // WPCS: XSS ok.
esc_html__( 'Version: %1$s', 'understrap' ), $the_theme->get( 'Version' ) ); ?>)
</div><!-- .site-info --> </div><!-- .site-info -->
</footer><!-- #colophon --> </footer><!-- #colophon -->
@ -50,3 +52,4 @@ $container = get_theme_mod( 'understrap_container_type' );
</body> </body>
</html> </html>