fixing footer.php escaping of url

This commit is contained in:
Holger Könemann 2017-05-02 16:22:06 +02:00
parent bc1b21300f
commit e66835026e
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ $container = get_theme_mod( 'understrap_container_type' );
<?php printf( // WPCS: XSS ok. <?php printf( // WPCS: XSS ok.
/* translators:*/ /* translators:*/
esc_html__( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ), '<a href="http://understrap.com/">understrap.com</a>' ); ?> esc_html__( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ), '<a href="'.esc_url( __('http://understrap.com', 'understrap')).'">understrap.com</a>' ); ?>
(<?php printf( // WPCS: XSS ok. (<?php printf( // WPCS: XSS ok.
/* translators:*/ /* translators:*/