more tweaks...again

This commit is contained in:
koenemann 2017-02-02 12:09:55 +01:00
parent 3b51373ed9
commit 7a3c25e9c1
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
<rule ref="WordPress.XSS.EscapeOutput"> <rule ref="WordPress.XSS.EscapeOutput">
<properties> <properties>
<property name="customAutoEscapedFunctions" value="html" type="array" /> <property name="customAutoEscapedFunctions" value="$html" type="array" />
</properties> </properties>
</rule> </rule>

View File

@ -26,7 +26,7 @@ $container = get_theme_mod( 'understrap_container_type' );
<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> <a href="<?php echo esc_url( __( 'http://wordpress.org/','understrap' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'understrap' ),'WordPress' ); ?></a>
<span class="sep"> | </span> <span class="sep"> | </span>
<?php printf( // WPCS: XSS ok. <?php printf( // WPCS: XSS ok.
esc_html__( 'Theme: %1$s by %2$s.', 'understrap' ), $the_theme->get( 'Name' ), 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( // WPCS: XSS ok. (<?php printf( // WPCS: XSS ok.