fixing footer.php escaping of url
This commit is contained in:
parent
bc1b21300f
commit
e66835026e
|
@ -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:*/
|
||||||
|
|
Reference in New Issue