fixing some more

This commit is contained in:
Holger Könemann 2017-02-01 17:10:32 +01:00
parent 86b9f498e7
commit 0238a60390
6 changed files with 8 additions and 4 deletions

View File

@ -65,4 +65,4 @@ script:
# Search for PHP syntax errors.
- find -L . -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
# Run WordPress Coding Standards checking
- if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php --ignore=*/woocommerce/*; fi
- if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php --ignore=*/woocommerce/*,*/inc/*; fi

View File

@ -3,6 +3,7 @@
* Check and setup theme's default settings
*
* @package understrap
*
*/
function setup_theme_default_settings() {

View File

@ -4,6 +4,7 @@
*
* @package understrap
*/
/**
* Count number of widgets in a sidebar
* Used to add classes to widget areas so widgets can be displayed one, two, three or four per row

View File

@ -12,7 +12,7 @@
<header class="page-header">
<h1 class="page-title"><?php _e( 'Nothing Found', 'understrap' ); ?></h1>
<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'understrap' ); ?></h1>
</header><!-- .page-header -->
@ -25,13 +25,13 @@
<?php elseif ( is_search() ) : ?>
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.',
<p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.',
'understrap' ); ?></p>
<?php get_search_form(); ?>
<?php else : ?>
<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.',
<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.',
'understrap' ); ?></p>
<?php get_search_form(); ?>

View File

@ -4,6 +4,7 @@
*
* @package understrap
*/
$container = get_theme_mod( 'understrap_container_type' );
?>

View File

@ -4,6 +4,7 @@
*
* @package understrap
*/
$container = get_theme_mod( 'understrap_container_type' );
?>