diff --git a/404.php b/404.php index 6a12926..d0e4a93 100644 --- a/404.php +++ b/404.php @@ -86,4 +86,4 @@ $container = get_theme_mod( 'understrap_container_type' ); - + - +user_description ) ) : ?>
-
user_description ); ?>
+
user_description, 'understrap' ); ?>
@@ -105,4 +105,4 @@ $container = get_theme_mod( 'understrap_container_type' ); - +=5.3", + "squizlabs/php_codesniffer": "^2.3 || ^3.0.2" + }, + "conflict": { + "squizlabs/php_codesniffer": "2.6.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0" + }, + "suggest": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.", + "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues." + }, + "type": "phpcodesniffer-standard", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "Contributors", + "homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors" + }, + { + "name": "Wim Godden", + "homepage": "https://github.com/wimg", + "role": "lead" + }, + { + "name": "Juliette Reinders Folmer", + "homepage": "https://github.com/jrfnl", + "role": "lead" + } + ], + "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.", + "homepage": "http://techblog.wimgodden.be/tag/codesniffer/", + "keywords": [ + "compatibility", + "phpcs", + "standards" + ], + "time": "2019-06-27T19:58:56+00:00" + }, { "name": "squizlabs/php_codesniffer", "version": "3.4.2", @@ -250,12 +308,12 @@ "version": "2.1.1", "source": { "type": "git", - "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git", + "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", "reference": "bd9c33152115e6741e3510ff7189605b35167908" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/bd9c33152115e6741e3510ff7189605b35167908", + "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/bd9c33152115e6741e3510ff7189605b35167908", "reference": "bd9c33152115e6741e3510ff7189605b35167908", "shasum": "" }, diff --git a/global-templates/hero.php b/global-templates/hero.php index a8fd655..cc47e21 100644 --- a/global-templates/hero.php +++ b/global-templates/hero.php @@ -21,4 +21,4 @@ defined( 'ABSPATH' ) || exit; - + - +post_parent ) : get_adjacent_post( false, '', true ); diff --git a/inc/pagination.php b/inc/pagination.php index fadc462..f642361 100644 --- a/inc/pagination.php +++ b/inc/pagination.php @@ -55,4 +55,4 @@ if ( ! function_exists( 'understrap_pagination' ) ) { } } -?> + diff --git a/inc/setup.php b/inc/setup.php index 0a22660..9853c1a 100644 --- a/inc/setup.php +++ b/inc/setup.php @@ -15,7 +15,7 @@ if ( ! isset( $content_width ) ) { add_action( 'after_setup_theme', 'understrap_setup' ); -if ( ! function_exists ( 'understrap_setup' ) ) { +if ( ! function_exists( 'understrap_setup' ) ) { /** * Sets up theme defaults and registers support for various WordPress features. * @@ -90,7 +90,7 @@ if ( ! function_exists ( 'understrap_setup' ) ) { // Set up the WordPress Theme logo feature. add_theme_support( 'custom-logo' ); - + // Add support for responsive embedded content. add_theme_support( 'responsive-embeds' ); diff --git a/index.php b/index.php index c5e4417..03750db 100644 --- a/index.php +++ b/index.php @@ -72,4 +72,4 @@ $container = get_theme_mod( 'understrap_container_type' ); - + - + - + - + - + - + - - - + - A custom set of code standard rules to check for WordPress themes. + A custom set of code standard rules for UnderStrap. + + + + + + + + + @@ -13,31 +20,86 @@ . - ./vendor + */vendor/* + */node_modules/* - - + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - + + + + + + + + + + - - 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/search.php b/search.php index 205b880..945d203 100644 --- a/search.php +++ b/search.php @@ -75,4 +75,4 @@ $container = get_theme_mod( 'understrap_container_type' ); - + - + - + - + - + - + 0 ) : ?>

- + ?> - + - +is_registration_enabled() && $checkout->is_registration_requir - + - + - + - + - + $action ) { echo '' . esc_html( $action['name'] ) . ''; @@ -84,4 +84,4 @@ if ( $customer_orders ) : ?> - + - + - +is_in_stock() ) : ?> - +