fixing some more
This commit is contained in:
parent
86b9f498e7
commit
0238a60390
|
@ -65,4 +65,4 @@ script:
|
||||||
# Search for PHP syntax errors.
|
# Search for PHP syntax errors.
|
||||||
- find -L . -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
|
- find -L . -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
|
||||||
# Run WordPress Coding Standards checking
|
# 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
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
* Check and setup theme's default settings
|
* Check and setup theme's default settings
|
||||||
*
|
*
|
||||||
* @package understrap
|
* @package understrap
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
function setup_theme_default_settings() {
|
function setup_theme_default_settings() {
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
*
|
*
|
||||||
* @package understrap
|
* @package understrap
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Count number of widgets in a sidebar
|
* 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
|
* Used to add classes to widget areas so widgets can be displayed one, two, three or four per row
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
<header class="page-header">
|
<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 -->
|
</header><!-- .page-header -->
|
||||||
|
|
||||||
|
@ -25,13 +25,13 @@
|
||||||
|
|
||||||
<?php elseif ( is_search() ) : ?>
|
<?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>
|
'understrap' ); ?></p>
|
||||||
<?php get_search_form(); ?>
|
<?php get_search_form(); ?>
|
||||||
|
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
|
|
||||||
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.',
|
<p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.',
|
||||||
'understrap' ); ?></p>
|
'understrap' ); ?></p>
|
||||||
|
|
||||||
<?php get_search_form(); ?>
|
<?php get_search_form(); ?>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
*
|
*
|
||||||
* @package understrap
|
* @package understrap
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$container = get_theme_mod( 'understrap_container_type' );
|
$container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
*
|
*
|
||||||
* @package understrap
|
* @package understrap
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$container = get_theme_mod( 'understrap_container_type' );
|
$container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Reference in New Issue