From 53807185a87a225edfbbeafd997237fa829ec961 Mon Sep 17 00:00:00 2001 From: Akeda Bagus Date: Mon, 10 Jul 2017 12:56:28 +0700 Subject: [PATCH] Fixed typos. These typos are catched by `misspell` program. ``` find . -type f | grep -v assets | grep -v dummy-data | grep -v i18n | grep -v node_modules | grep -v .git | grep -v apigen | xargs misspell -w ``` Some results were excluded because of 3rd party ownership and non-english sentences. --- .travis.yml | 2 +- CHANGELOG.txt | 2 +- includes/abstracts/abstract-wc-payment-gateway.php | 2 +- includes/abstracts/abstract-wc-product.php | 2 +- includes/admin/class-wc-admin-post-types.php | 2 +- includes/admin/class-wc-admin-setup-wizard.php | 6 +++--- includes/admin/helper/class-wc-helper.php | 4 ++-- .../api/class-wc-rest-system-status-tools-controller.php | 2 +- includes/class-wc-checkout.php | 2 +- includes/class-wc-data-store.php | 2 +- includes/class-wc-order-item.php | 2 +- includes/class-wc-product-variable.php | 2 +- includes/cli/class-wc-cli-runner.php | 4 ++-- .../data-stores/abstract-wc-order-item-type-data-store.php | 2 +- includes/data-stores/class-wc-data-store-wp.php | 2 +- includes/data-stores/class-wc-payment-token-data-store.php | 2 +- .../class-wc-payment-token-data-store-interface.php | 2 +- includes/theme-support/class-wc-twenty-seventeen.php | 2 +- tests/unit-tests/api/orders.php | 2 +- tests/unit-tests/formatting/functions.php | 6 +++--- tests/unit-tests/settings/register-wp-admin-settings.php | 2 +- 21 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.travis.yml b/.travis.yml index 81349fccdbe..401d098fb7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ php: env: - WP_VERSION=latest WP_MULTISITE=0 PHP_LATEST_STABLE=7.1 -# Additonal tests against stable PHP (min recommended version is 5.6) and past supported versions of WP. +# Additional tests against stable PHP (min recommended version is 5.6) and past supported versions of WP. matrix: include: - php: 5.6 diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 3eeb1082ad3..ef8cddb2194 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1377,7 +1377,7 @@ * Fix - Use wc_get_order in simplify-commerce. * Fix - Use 'no' instead of boolean to disable PayPal gateway. * Fix - Do not escape redirect url in form handler - fixes malformed URLs. -* Fix - Prevented non-existant pages from breaking cache helper. +* Fix - Prevented non-existent pages from breaking cache helper. * Fix - Prevent sale prices showing errors in admin wrongly. * Fix - Prevent order statuses affecting other queries. * Fix - Removed deprecated get_page() functions. diff --git a/includes/abstracts/abstract-wc-payment-gateway.php b/includes/abstracts/abstract-wc-payment-gateway.php index 77221aefcb2..a6dc88c9ad8 100644 --- a/includes/abstracts/abstract-wc-payment-gateway.php +++ b/includes/abstracts/abstract-wc-payment-gateway.php @@ -360,7 +360,7 @@ abstract class WC_Payment_Gateway extends WC_Settings_API { } /** - * Core credit card form which gateways can used if needed. Deprecated - inheirt WC_Payment_Gateway_CC instead. + * Core credit card form which gateways can used if needed. Deprecated - inherit WC_Payment_Gateway_CC instead. * @param array $args * @param array $fields */ diff --git a/includes/abstracts/abstract-wc-product.php b/includes/abstracts/abstract-wc-product.php index 1c467d978d8..d91eec6ebc0 100644 --- a/includes/abstracts/abstract-wc-product.php +++ b/includes/abstracts/abstract-wc-product.php @@ -1587,7 +1587,7 @@ class WC_Product extends WC_Abstract_Legacy_Product { } /** - * Returns whether or not the product has additonal options that need + * Returns whether or not the product has additional options that need * selecting before adding to cart. * * @since 3.0.0 diff --git a/includes/admin/class-wc-admin-post-types.php b/includes/admin/class-wc-admin-post-types.php index a49d648a3e8..28251c22151 100644 --- a/includes/admin/class-wc-admin-post-types.php +++ b/includes/admin/class-wc-admin-post-types.php @@ -322,7 +322,7 @@ class WC_Admin_Post_Types { } /** - * Ouput custom columns for products. + * Output custom columns for products. * * @param string $column */ diff --git a/includes/admin/class-wc-admin-setup-wizard.php b/includes/admin/class-wc-admin-setup-wizard.php index 0eb8e467c9e..f1316bf5feb 100644 --- a/includes/admin/class-wc-admin-setup-wizard.php +++ b/includes/admin/class-wc-admin-setup-wizard.php @@ -202,11 +202,11 @@ class WC_Admin_Setup_Wizard { * Output the steps. */ public function setup_wizard_steps() { - $ouput_steps = $this->steps; - array_shift( $ouput_steps ); + $output_steps = $this->steps; + array_shift( $output_steps ); ?>
    - $step ) : ?> + $step ) : ?>