adding html escaping to footer.php info
This commit is contained in:
parent
1576a0e3e2
commit
9b07b6f7b8
|
@ -24,13 +24,11 @@ $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/',
|
<a href="<?php echo esc_url( __( 'http://wordpress.org/','understrap' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'understrap' ),'WordPress' ); ?></a>
|
||||||
'understrap' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'understrap' ),
|
|
||||||
'WordPress' ); ?></a>
|
|
||||||
<span class="sep"> | </span>
|
<span class="sep"> | </span>
|
||||||
<?php printf( __( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ),
|
<?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ),
|
||||||
'<a href="http://understrap.com/">understrap.com</a>' ); ?>
|
'<a href="http://understrap.com/">understrap.com</a>' ); ?>
|
||||||
(<?php printf( __( 'Version: %1$s', 'understrap' ), $the_theme->get( 'Version' ) ); ?>)
|
(<?php printf( esc_html__( 'Version: %1$s', 'understrap' ), $the_theme->get( 'Version' ) ); ?>)
|
||||||
</div><!-- .site-info -->
|
</div><!-- .site-info -->
|
||||||
|
|
||||||
</footer><!-- #colophon -->
|
</footer><!-- #colophon -->
|
||||||
|
|
Reference in New Issue