diff --git a/classes/abstracts/abstract-wc-product.php b/classes/abstracts/abstract-wc-product.php index b6da5d05df3..cb02e01b6a7 100644 --- a/classes/abstracts/abstract-wc-product.php +++ b/classes/abstracts/abstract-wc-product.php @@ -985,7 +985,7 @@ class WC_Product { /** - * Returns the crosssell product ids. + * Returns the cross sell product ids. * * @access public * @return array diff --git a/classes/abstracts/abstract-wc-settings-api.php b/classes/abstracts/abstract-wc-settings-api.php index 4e4be34df8c..1534aa54c86 100644 --- a/classes/abstracts/abstract-wc-settings-api.php +++ b/classes/abstracts/abstract-wc-settings-api.php @@ -130,7 +130,7 @@ abstract class WC_Settings_API { /** * get_option function. * - * Gets and option from the settings API, using defaults if neccessary to prevent undefined notices. + * Gets and option from the settings API, using defaults if necessary to prevent undefined notices. * * @access public * @param mixed $key diff --git a/classes/abstracts/abstract-wc-shipping-method.php b/classes/abstracts/abstract-wc-shipping-method.php index c48f19b3d6a..21840b2e335 100644 --- a/classes/abstracts/abstract-wc-shipping-method.php +++ b/classes/abstracts/abstract-wc-shipping-method.php @@ -88,7 +88,7 @@ abstract class WC_Shipping_Method extends WC_Settings_API { $total_cost = ( is_array( $cost ) ) ? array_sum( $cost ) : $cost; // Taxes - if not an array and not set to false, calc tax based on cost and passed calc_tax variable - // This saves shipping methods having to do compelex tax calculations + // This saves shipping methods having to do complex tax calculations if ( ! is_array( $taxes ) && $taxes !== false && $total_cost > 0 && get_option( 'woocommerce_calc_taxes' ) == 'yes' && $this->tax_status == 'taxable' ) { $_tax = new WC_Tax(); diff --git a/classes/class-wc-cart.php b/classes/class-wc-cart.php index a06bd1483db..682e236c81a 100644 --- a/classes/class-wc-cart.php +++ b/classes/class-wc-cart.php @@ -58,7 +58,7 @@ class WC_Cart { /** @var float Discounts after tax. */ public $discount_total; - /** @var float Total for additonal fees. */ + /** @var float Total for additional fees. */ public $fee_total; /** @var float Shipping cost. */ @@ -1355,7 +1355,7 @@ class WC_Cart { */ $_product = $values['data']; - // Base Price (inlusive of tax for now) + // Base Price (inclusive of tax for now) $base_price = $_product->get_price(); // Base Price Adjustment @@ -1620,7 +1620,7 @@ class WC_Cart { * * This lets us calculate costs for carts that are shipped to multiple locations. * - * Shipping methods are responsble for looping through these packages. + * Shipping methods are responsible for looping through these packages. * * By default we pass the cart itself as a package - plugins can change this * through the filter and break it up. diff --git a/classes/class-wc-checkout.php b/classes/class-wc-checkout.php index 6e8fd44093d..f3005a6a3f7 100644 --- a/classes/class-wc-checkout.php +++ b/classes/class-wc-checkout.php @@ -37,7 +37,7 @@ class WC_Checkout { private $customer_id; /** - * Constructor for the checkout class. Hooks in methods and defines eheckout fields. + * Constructor for the checkout class. Hooks in methods and defines checkout fields. * * @access public * @return void diff --git a/classes/class-wc-coupon.php b/classes/class-wc-coupon.php index 74a19daf16a..5ada0260864 100644 --- a/classes/class-wc-coupon.php +++ b/classes/class-wc-coupon.php @@ -53,7 +53,7 @@ class WC_Coupon { /** @public int Coupon usage count. */ public $usage_count; - /** @public string Expirey date. */ + /** @public string Expiry date. */ public $expiry_date; /** @public string "yes" if applied before tax. */ @@ -244,7 +244,7 @@ class WC_Coupon { /** * is_valid function. * - * Check if a coupon is valid. Return a reason code if invaid. Reason codes: + * Check if a coupon is valid. Return a reason code if invalid. Reason codes: * * @access public * @return bool|WP_Error validity or a WP_Error if not valid diff --git a/classes/class-wc-logger.php b/classes/class-wc-logger.php index c9bb5a3f031..9cc9d18e327 100644 --- a/classes/class-wc-logger.php +++ b/classes/class-wc-logger.php @@ -76,7 +76,7 @@ class WC_Logger { /** - * Clear entrys from chosen file. + * Clear entries from chosen file. * * @access public * @param mixed $handle diff --git a/classes/class-wc-product-simple.php b/classes/class-wc-product-simple.php index 9054e9b3693..2190846b6a0 100644 --- a/classes/class-wc-product-simple.php +++ b/classes/class-wc-product-simple.php @@ -44,7 +44,7 @@ class WC_Product_Simple extends WC_Product { } /** - * Sync grouped products with the childs lowest price (so they can be sorted by price accurately). + * Sync grouped products with the children lowest price (so they can be sorted by price accurately). * * @access public * @return void diff --git a/classes/class-wc-product-variable.php b/classes/class-wc-product-variable.php index 63ed17680a9..6865d64bd57 100644 --- a/classes/class-wc-product-variable.php +++ b/classes/class-wc-product-variable.php @@ -437,7 +437,7 @@ class WC_Product_Variable extends WC_Product { /** - * Sync variable product prices with the childs lowest/highest prices. + * Sync variable product prices with the children lowest/highest prices. * * @access public * @return void diff --git a/classes/class-wc-query.php b/classes/class-wc-query.php index abe1567e823..93d225d0927 100644 --- a/classes/class-wc-query.php +++ b/classes/class-wc-query.php @@ -166,7 +166,7 @@ class WC_Query { public function the_posts( $posts, $query = false ) { global $woocommerce; - // Abort if theres no query + // Abort if there's no query if ( ! $query ) return $posts; diff --git a/classes/class-wc-shipping.php b/classes/class-wc-shipping.php index 8d7f112d4ab..7a7d7d419b2 100644 --- a/classes/class-wc-shipping.php +++ b/classes/class-wc-shipping.php @@ -186,7 +186,7 @@ class WC_Shipping { * Calculate shipping for (multiple) packages of cart items. * * @access public - * @param array $packages multi-dimentional array of cart items to calc shipping for + * @param array $packages multi-dimensional array of cart items to calc shipping for */ function calculate_shipping( $packages = array() ) { global $woocommerce; @@ -319,7 +319,7 @@ class WC_Shipping { * Gets all available shipping methods which have rates. * * @todo Currently we support 1 shipping method per order so this function merges rates - in the future we should offer - * 1 rate per package and list them accordinly for user selection + * 1 rate per package and list them accordingly for user selection * * @access public * @return array diff --git a/classes/class-wc-shortcodes.php b/classes/class-wc-shortcodes.php index 02b4f9ede8d..8bc4a52bb75 100644 --- a/classes/class-wc-shortcodes.php +++ b/classes/class-wc-shortcodes.php @@ -450,7 +450,7 @@ class WC_Shortcodes { /** - * Display a single prodcut + * Display a single product * * @access public * @param array $atts @@ -510,7 +510,7 @@ class WC_Shortcodes { /** - * Display a single prodcut price + cart button + * Display a single product price + cart button * * @access public * @param array $atts diff --git a/classes/class-wc-tax.php b/classes/class-wc-tax.php index 6118b8a5976..08b100f8dd6 100644 --- a/classes/class-wc-tax.php +++ b/classes/class-wc-tax.php @@ -216,7 +216,7 @@ class WC_Tax { } else { // Prices which include tax should always use the base rate if we don't know where the user is located - // Prices exlcuding tax however should just not add any taxes, as they will be added during checkout + // Prices excluding tax however should just not add any taxes, as they will be added during checkout if ( $woocommerce->cart->prices_include_tax || get_option( 'woocommerce_default_customer_address' ) == 'base' ) { $country = $woocommerce->countries->get_base_country(); $state = $woocommerce->countries->get_base_state(); @@ -346,7 +346,7 @@ class WC_Tax { * @param bool passed price includes tax * @return array array of rates/amounts */ - public function calc_tax( $price, $rates, $price_includes_tax = true, $supress_rounding = false ) { + public function calc_tax( $price, $rates, $price_includes_tax = true, $suppress_rounding = false ) { $price = $price * 100; // To avoid float rounding errors, work with integers (pence) @@ -378,14 +378,14 @@ class WC_Tax { else $tax_amount = ( $the_rate / $regular_tax_rate ) * $non_compound_price; - // ADVANCED: Allow third parties to modifiy this rate + // ADVANCED: Allow third parties to modify this rate $tax_amount = apply_filters( 'woocommerce_price_inc_tax_amount', $tax_amount, $key, $rate, $price, $non_compound_price ); // Back to pounds $tax_amount = ( $tax_amount / 100 ); // Rounding - if ( get_option( 'woocommerce_tax_round_at_subtotal' ) == 'no' && ! $supress_rounding ) { + if ( get_option( 'woocommerce_tax_round_at_subtotal' ) == 'no' && ! $suppress_rounding ) { $tax_amount = $this->round( $tax_amount ); } @@ -408,14 +408,14 @@ class WC_Tax { $tax_amount = $price * ( $rate['rate'] / 100 ); - // ADVANCED: Allow third parties to modifiy this rate + // ADVANCED: Allow third parties to modify this rate $tax_amount = apply_filters( 'woocommerce_price_ex_tax_amount', $tax_amount, $key, $rate, $price ); // Back to pounds $tax_amount = ( $tax_amount / 100 ); // Rounding - if ( get_option( 'woocommerce_tax_round_at_subtotal' ) == 'no' && ! $supress_rounding ) { + if ( get_option( 'woocommerce_tax_round_at_subtotal' ) == 'no' && ! $suppress_rounding ) { $tax_amount = $this->round( $tax_amount ); } @@ -447,7 +447,7 @@ class WC_Tax { $tax_amount = ( $tax_amount / 100 ); // Rounding - if ( get_option( 'woocommerce_tax_round_at_subtotal' ) == 'no' && ! $supress_rounding ) { + if ( get_option( 'woocommerce_tax_round_at_subtotal' ) == 'no' && ! $suppress_rounding ) { $tax_amount = $this->round( $tax_amount ); } @@ -461,7 +461,7 @@ class WC_Tax { } } - return apply_filters( 'woocommerce_calc_tax', $taxes, $price, $rates, $price_includes_tax, $supress_rounding ); + return apply_filters( 'woocommerce_calc_tax', $taxes, $price, $rates, $price_includes_tax, $suppress_rounding ); } /** diff --git a/classes/emails/class-wc-email-customer-invoice.php b/classes/emails/class-wc-email-customer-invoice.php index 3419990a315..ccc24e8b98b 100644 --- a/classes/emails/class-wc-email-customer-invoice.php +++ b/classes/emails/class-wc-email-customer-invoice.php @@ -36,7 +36,7 @@ class WC_Email_Customer_Invoice extends WC_Email { $this->subject_paid = __( 'Your {blogname} order from {order_date}', 'woocommerce'); $this->heading_paid = __( 'Order {order_number} details', 'woocommerce'); - // Call parent constuctor + // Call parent constructor parent::__construct(); } diff --git a/classes/emails/class-wc-email-customer-note.php b/classes/emails/class-wc-email-customer-note.php index 0a8dc1d830c..1e34b1daf07 100644 --- a/classes/emails/class-wc-email-customer-note.php +++ b/classes/emails/class-wc-email-customer-note.php @@ -38,7 +38,7 @@ class WC_Email_Customer_Note extends WC_Email { // Triggers add_action( 'woocommerce_new_customer_note_notification', array( $this, 'trigger' ) ); - // Call parent constuctor + // Call parent constructor parent::__construct(); } diff --git a/classes/emails/class-wc-email-customer-processing-order.php b/classes/emails/class-wc-email-customer-processing-order.php index 6967fb5a344..e8ad8369afd 100644 --- a/classes/emails/class-wc-email-customer-processing-order.php +++ b/classes/emails/class-wc-email-customer-processing-order.php @@ -34,7 +34,7 @@ class WC_Email_Customer_Processing_Order extends WC_Email { add_action( 'woocommerce_order_status_pending_to_processing_notification', array( $this, 'trigger' ) ); add_action( 'woocommerce_order_status_pending_to_on-hold_notification', array( $this, 'trigger' ) ); - // Call parent constuctor + // Call parent constructor parent::__construct(); } diff --git a/classes/emails/class-wc-email-customer-reset-password.php b/classes/emails/class-wc-email-customer-reset-password.php index a01c8f72490..87fb9deb405 100644 --- a/classes/emails/class-wc-email-customer-reset-password.php +++ b/classes/emails/class-wc-email-customer-reset-password.php @@ -45,7 +45,7 @@ class WC_Email_Customer_Reset_Password extends WC_Email { // Trigger add_action( 'woocommerce_reset_password_notification', array( $this, 'trigger' ), 10, 2 ); - // Call parent constuctor + // Call parent constructor parent::__construct(); } diff --git a/classes/emails/class-wc-email-new-order.php b/classes/emails/class-wc-email-new-order.php index 9b278e8c711..b1cd4ce2d2f 100644 --- a/classes/emails/class-wc-email-new-order.php +++ b/classes/emails/class-wc-email-new-order.php @@ -38,7 +38,7 @@ class WC_Email_New_Order extends WC_Email { add_action( 'woocommerce_order_status_failed_to_completed_notification', array( $this, 'trigger' ) ); add_action( 'woocommerce_order_status_failed_to_on-hold_notification', array( $this, 'trigger' ) ); - // Call parent constuctor + // Call parent constructor parent::__construct(); // Other settings diff --git a/classes/gateways/mijireh/includes/Rest.php b/classes/gateways/mijireh/includes/Rest.php index 9fbbb91b7eb..aef02d575ca 100755 --- a/classes/gateways/mijireh/includes/Rest.php +++ b/classes/gateways/mijireh/includes/Rest.php @@ -14,7 +14,7 @@ class Mijireh_Rest { public $curl_opts = array( CURLOPT_RETURNTRANSFER => true, // return result instead of echoing CURLOPT_SSL_VERIFYPEER => false, // stop cURL from verifying the peer's certificate - CURLOPT_MAXREDIRS => 10 // but dont redirect more than 10 times + CURLOPT_MAXREDIRS => 10 // but don't redirect more than 10 times ); public $base_url; diff --git a/classes/gateways/paypal/class-wc-gateway-paypal.php b/classes/gateways/paypal/class-wc-gateway-paypal.php index 512fe84f94a..4c964a300c4 100644 --- a/classes/gateways/paypal/class-wc-gateway-paypal.php +++ b/classes/gateways/paypal/class-wc-gateway-paypal.php @@ -145,7 +145,7 @@ class WC_Gateway_Paypal extends WC_Payment_Gateway { 'invoice_prefix' => array( 'title' => __( 'Invoice Prefix', 'woocommerce' ), 'type' => 'text', - 'description' => __( 'Please enter a prefix for your invoice numbers. If you use your PayPal account for multiple stores ensure this prefix is unqiue as PayPal will not allow orders with the same invoice number.', 'woocommerce' ), + 'description' => __( 'Please enter a prefix for your invoice numbers. If you use your PayPal account for multiple stores ensure this prefix is unique as PayPal will not allow orders with the same invoice number.', 'woocommerce' ), 'default' => 'WC-', 'desc_tip' => true, ), @@ -317,7 +317,7 @@ class WC_Gateway_Paypal extends WC_Payment_Gateway { // Shipping Cost // No longer using shipping_1 because // a) paypal ignore it if *any* shipping rules are within paypal - // b) paypal ignore anyhing over 5 digits, so 999.99 is the max + // b) paypal ignore anything over 5 digits, so 999.99 is the max // $paypal_args['shipping_1'] = number_format( $order->get_shipping() + $order->get_shipping_tax() , 2, '.', '' ); if ( ( $order->get_shipping() + $order->get_shipping_tax() ) > 0 ) { $paypal_args['item_name_2'] = __( 'Shipping via', 'woocommerce' ) . ' ' . ucwords( $order->shipping_method_title ); diff --git a/classes/integrations/shareyourcart/class-shareyourcart-woocommerce-extended.php b/classes/integrations/shareyourcart/class-shareyourcart-woocommerce-extended.php index c165c32d2d3..a38713c5832 100644 --- a/classes/integrations/shareyourcart/class-shareyourcart-woocommerce-extended.php +++ b/classes/integrations/shareyourcart/class-shareyourcart-woocommerce-extended.php @@ -27,7 +27,7 @@ class ShareYourCartWooCommerceEx extends ShareYourCartWooCommerce { } public function showAdminMenu() { - //since we have allready integrated this in our own settings page, + //since we have already integrated this in our own settings page, //leave this function empty } @@ -46,8 +46,8 @@ class ShareYourCartWooCommerceEx extends ShareYourCartWooCommerce { $this->settings['enabled'] = ( $value == 'active' ? 'yes' : 'no' ); break; case "plugin_current_version": - //this setting needs to be set globaly as well, in order to be recognized by other ShareYourCart integrations, - //and to not interfear with one-another + //this setting needs to be set globally as well, in order to be recognized by other ShareYourCart integrations, + //and to not interfere with one-another parent::setConfigValue($field, $value); break; } diff --git a/classes/integrations/shareyourcart/class.shareyourcart-wp-woocommerce.php b/classes/integrations/shareyourcart/class.shareyourcart-wp-woocommerce.php index 291bafaed4a..d062c61650e 100644 --- a/classes/integrations/shareyourcart/class.shareyourcart-wp-woocommerce.php +++ b/classes/integrations/shareyourcart/class.shareyourcart-wp-woocommerce.php @@ -202,7 +202,7 @@ class ShareYourCartWooCommerce extends ShareYourCartWordpressPlugin{ //WooCommerce actually echoes the image ob_start(); - echo $product->get_image(); //older WooCommerce versions might allready echo, but newer versions don't, so force it anyway + echo $product->get_image(); //older WooCommerce versions might already echo, but newer versions don't, so force it anyway $image = ob_get_clean(); //check is image actually a HTML img entity diff --git a/classes/integrations/shareyourcart/sdk/class.shareyourcart-api.php b/classes/integrations/shareyourcart/sdk/class.shareyourcart-api.php index 1ac7b9f735e..523dde495f6 100755 --- a/classes/integrations/shareyourcart/sdk/class.shareyourcart-api.php +++ b/classes/integrations/shareyourcart/sdk/class.shareyourcart-api.php @@ -90,7 +90,7 @@ class ShareYourCartAPI { $httpCode = curl_getinfo($session, CURLINFO_HTTP_CODE); curl_close($session); - // If the operation was not succesfull, print the error + // If the operation was not successful, print the error if($httpCode != 200) throw new Exception($response); @@ -151,7 +151,7 @@ class ShareYourCartAPI { $httpCode = curl_getinfo($session, CURLINFO_HTTP_CODE); curl_close($session); - //if the operation was not succesfull, print the error + //if the operation was not successful, print the error if($httpCode != 200) throw new Exception(SyC::t('sdk',"Coupon Invalid: {coupon}", array('{coupon}' => $response))); @@ -194,7 +194,7 @@ class ShareYourCartAPI { $httpCode = curl_getinfo($session, CURLINFO_HTTP_CODE); curl_close($session); - // If the operation was not succesfull, return FALSE + // If the operation was not successful, return FALSE if($httpCode != 200) { if(isset($message)) $message = $response; diff --git a/classes/integrations/shareyourcart/sdk/class.shareyourcart-base.php b/classes/integrations/shareyourcart/sdk/class.shareyourcart-base.php index f11e53e0e14..d7cf3aba061 100755 --- a/classes/integrations/shareyourcart/sdk/class.shareyourcart-base.php +++ b/classes/integrations/shareyourcart/sdk/class.shareyourcart-base.php @@ -29,7 +29,7 @@ abstract class ShareYourCartBase extends ShareYourCartAPI { //set exception handler if(set_exception_handler(array(&$this,'UncaughtExceptionHandler')) !== null) - restore_exception_handler(); //if there allready was an exception handler, revert back to it + restore_exception_handler(); //if there already was an exception handler, revert back to it parent::__construct(); @@ -109,7 +109,7 @@ abstract class ShareYourCartBase extends ShareYourCartAPI { /** * - * Return FALSE if the curent single product is out of stock, or not + * Return FALSE if the current single product is out of stock, or not * */ public function isOutOfStock(){ @@ -225,7 +225,7 @@ abstract class ShareYourCartBase extends ShareYourCartAPI { /** * * Check if this instance can load, or not! - * This is ment so that at ALL times, only the latest plugin version will work + * This is meant so that at ALL times, only the latest plugin version will work * */ protected function canLoad() @@ -698,7 +698,7 @@ abstract class ShareYourCartBase extends ShareYourCartAPI { //since we might have changed the status, REFRESH $refresh = true; } - //check if the user want's to recover his account + //check if the user wants to recover his account else if (@$_REQUEST['syc-account'] === 'recover'){ //by default, show the form if we are here @@ -1071,7 +1071,7 @@ abstract class ShareYourCartBase extends ShareYourCartAPI { $this->executeNonQuery($sql); - //we can't relly on the fact that the table has been properly created, so check it! + //we can't rely on the fact that the table has been properly created, so check it! if(!$this->existsTable($tableName)) throw new Exception(SyC::t('sdk','Cannot create table "{table_name}". Check your database permissions or manually run the following SQL command and try again:
{sql}', array('{table_name}' => $tableName,'{sql}' => nl2br($sql)))); } @@ -1099,7 +1099,7 @@ abstract class ShareYourCartBase extends ShareYourCartAPI { $sql = "DROP TABLE $tableName"; $this->executeNonQuery($sql); - //we can't relly on the fact that the table has been properly droped, so check it! + //we can't rely on the fact that the table has been properly dropped, so check it! if($this->existsTable($tableName)) throw new Exception(SyC::t('sdk','Cannot drop table "{table_name}". Check your database permissions or manually run the following SQL command and try again:
{sql}', array('{table_name}' => $tableName, '{sql}' => nl2br($sql)))); } @@ -1118,7 +1118,7 @@ abstract class ShareYourCartBase extends ShareYourCartAPI { //check if there is a file in the specified location if(!file_exists($_viewFile_)){ - //the view has not been overrided, so use the SDK one + //the view has not been overridden, so use the SDK one $_viewFile_ = dirname(__FILE__) . "/views/$_viewName_.php"; } @@ -1266,7 +1266,7 @@ abstract class ShareYourCartBase extends ShareYourCartAPI { /** * - * User to catch any unhandled exceptions and print them nicelly + * User to catch any unhandled exceptions and print them nicely * */ public function UncaughtExceptionHandler(Exception $e) { diff --git a/classes/integrations/shareyourcart/sdk/messages/cs/sdk.php b/classes/integrations/shareyourcart/sdk/messages/cs/sdk.php index e1e9fb31db5..28052e882f3 100755 --- a/classes/integrations/shareyourcart/sdk/messages/cs/sdk.php +++ b/classes/integrations/shareyourcart/sdk/messages/cs/sdk.php @@ -71,7 +71,7 @@ return array ( 'Save' => '', 'Show button by default on: ' => '', 'Standard Button' => '', - 'This plugin allows you to easilly set the above meta properties directly in the post or page edit form' => '', + 'This plugin allows you to easily set the above meta properties directly in the post or page edit form' => '', 'To position the {brand} button, you need to override the following CSS classes' => '', 'Use Image Button' => '', 'Use Standard Button' => '', diff --git a/classes/integrations/shareyourcart/sdk/messages/fr/sdk.php b/classes/integrations/shareyourcart/sdk/messages/fr/sdk.php index e1e9fb31db5..802384494ad 100755 --- a/classes/integrations/shareyourcart/sdk/messages/fr/sdk.php +++ b/classes/integrations/shareyourcart/sdk/messages/fr/sdk.php @@ -71,7 +71,7 @@ return array ( 'Save' => '', 'Show button by default on: ' => '', 'Standard Button' => '', - 'This plugin allows you to easilly set the above meta properties directly in the post or page edit form' => '', + 'This plugin allows you to easily set the above meta properties directly in the post or page edit form' => '', 'To position the {brand} button, you need to override the following CSS classes' => '', 'Use Image Button' => '', 'Use Standard Button' => '', @@ -79,6 +79,6 @@ return array ( 'You can choose how much of a discount to give (in fixed amount, percentage, or free shipping) and to which social media channels it should it be applied. You can also define what the advertisement should say, so that it fully benefits your sales.' => '', 'or' => '', '{brand} helps you get more customers by motivating satisfied customers to talk with their friends about your products. Each customer that promotes your products, via social media, will receive a coupon that they can apply to their shopping cart in order to get a small discount.' => '', - '{css_class} for the horrizontal button' => '', + '{css_class} for the horizontal button' => '', '{css_class} for the vertical button' => '', ); diff --git a/classes/integrations/shareyourcart/sdk/messages/ro/sdk.php b/classes/integrations/shareyourcart/sdk/messages/ro/sdk.php index e1e9fb31db5..28052e882f3 100755 --- a/classes/integrations/shareyourcart/sdk/messages/ro/sdk.php +++ b/classes/integrations/shareyourcart/sdk/messages/ro/sdk.php @@ -71,7 +71,7 @@ return array ( 'Save' => '', 'Show button by default on: ' => '', 'Standard Button' => '', - 'This plugin allows you to easilly set the above meta properties directly in the post or page edit form' => '', + 'This plugin allows you to easily set the above meta properties directly in the post or page edit form' => '', 'To position the {brand} button, you need to override the following CSS classes' => '', 'Use Image Button' => '', 'Use Standard Button' => '', diff --git a/classes/integrations/shareyourcart/sdk/views/documentation.php b/classes/integrations/shareyourcart/sdk/views/documentation.php index 9d350289ad2..9e8995d5814 100755 --- a/classes/integrations/shareyourcart/sdk/views/documentation.php +++ b/classes/integrations/shareyourcart/sdk/views/documentation.php @@ -45,12 +45,12 @@ ... '))); ?> -
  • +
  • 'ShareYourCart™')); ?>

  • diff --git a/classes/shipping/local-delivery/class-wc-shipping-local-delivery.php b/classes/shipping/local-delivery/class-wc-shipping-local-delivery.php index af49243162d..c8decdde927 100644 --- a/classes/shipping/local-delivery/class-wc-shipping-local-delivery.php +++ b/classes/shipping/local-delivery/class-wc-shipping-local-delivery.php @@ -222,7 +222,7 @@ class WC_Shipping_Local_Delivery extends WC_Shipping_Method { return false; } - // Either post codes not setup, or post codes are in array... so lefts check countries for backwards compatability. + // Either post codes not setup, or post codes are in array... so lefts check countries for backwards compatibility. $ship_to_countries = ''; if ($this->availability == 'specific') : $ship_to_countries = $this->countries; diff --git a/classes/walkers/class-product-cat-list-walker.php b/classes/walkers/class-product-cat-list-walker.php index fc5a9f146e5..16d8085ba52 100644 --- a/classes/walkers/class-product-cat-list-walker.php +++ b/classes/walkers/class-product-cat-list-walker.php @@ -126,7 +126,7 @@ class WC_Product_Cat_List_Walker extends Walker { $id = $element->$id_field; - // descend only when the depth is right and there are childrens for this element + // descend only when the depth is right and there are children for this element if ( ($max_depth == 0 || $max_depth > $depth+1 ) && isset( $children_elements[$id]) ) { foreach( $children_elements[ $id ] as $child ){ diff --git a/readme.txt b/readme.txt index 8a85708ff90..8e172849a40 100644 --- a/readme.txt +++ b/readme.txt @@ -29,7 +29,7 @@ Your business is unique, your online store should be too. Choose one of our [eCo WooCommerce works with any theme, including the default WordPress themes Twenty Ten, Twenty Eleven and Twenty Twelve. If you need help getting your theme working nicely with WooCommerce please read our [theming docs](http://docs.woothemes.com/document/third-party-custom-theme-compatibility/) to discover your options. -If you're ooking for a tailored WordPress eCommmerce theme designed specifically to be used with WooCommerce be sure to browse the official [WooCommerce Themes](http://www.woothemes.com/product-category/themes/woocommerce/). Also check out our free themes, [Mystile](http://www.woothemes.com/products/mystile/), [Artificer](http://www.woothemes.com/products/artificer/) and [Wootique](http://www.woothemes.com/products/wootique/). +If you're looking for a tailored WordPress eCommerce theme designed specifically to be used with WooCommerce be sure to browse the official [WooCommerce Themes](http://www.woothemes.com/product-category/themes/woocommerce/). Also check out our free themes, [Mystile](http://www.woothemes.com/products/mystile/), [Artificer](http://www.woothemes.com/products/artificer/) and [Wootique](http://www.woothemes.com/products/wootique/). = FEATURES = Whether you're operating a superstore selling thousands of products, or a just a sole trader selling hand made arts and crafts WooCommerce has you covered. You can read all about WooCommerce' features on the [WooCommerce website](http://www.woothemes.com/woocommerce/ "WooCommerce: An open-source eCommerce plugin for WordPress"). @@ -221,7 +221,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc * Templating - CSS classes standardised. Instances of '.woocommerce_' & '.wc-' replaced with '.woocommerce-' * Templating - Ratings added to loop. Remove with [this snippet](https://gist.github.com/4518617). * Templating - Replaced Fancybox with prettyPhoto -* Templating - loop-shop which was depricated is now gone for good. +* Templating - loop-shop which was deprecated is now gone for good. * Templating - Renamed empty.php to cart-empty.php to make clearer. * Templating - Renamed sorting.php to orderby.php to better reflect contained hooks and code. * Templating - Product tabs rewritten - new filter to define tab titles, priorities, and display callbacks. @@ -382,7 +382,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc * Tweak - Formatted addresses in emails in a table to maintain appearance when printing * Tweak - Better support for supercache - detect late_init or don't cache * Tweak - Added generate_title_html() to settings API -* Tweak - PayPal standard: No longer using shipping_1 because a) paypal ignore it if *any* shipping rules are within paypal, b) paypal ignore anyhing over 5 digits, so 999.99 is the max +* Tweak - PayPal standard: No longer using shipping_1 because a) paypal ignore it if *any* shipping rules are within paypal, b) paypal ignore anything over 5 digits, so 999.99 is the max * Tweak - Optimised dashboard icons for retina displays * Tweak - added is_purchasable class method for products * Fix - Removed session_name from 1.6 to prevent issues when other plugins start a session first. Instead, added a KB article on how to do it manually (if needed, this is an edge case) @@ -514,7 +514,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc * Localization - Updated localisations * Localization - Updated currency symbols * Localization - translations for admin menu names -* Localization - Updated french translaction by Arnaud Cheminand +* Localization - Updated french translation by Arnaud Cheminand = 1.5.6 - 17/05/2012 = * Feature - Default display for shipping methods is radio buttons. Before, when methods were enabled/disabled based on coupons or customer, changed methods could go unnoticed. Radio options are always visible. @@ -815,7 +815,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc * Fixed a bug allowing checkout when items are out of stock * Added a cart item error page for checkout, if the items are invalid * Hidden shipping text when calculator is hidden -* If theres 1 shipping method, don't show a select box (thanks GeertDD) +* If there's 1 shipping method, don't show a select box (thanks GeertDD) * Don't repeat weight units after each measurement (GeertDD is on a role) * CZ fix * SKU system changes - old system was confusing and could conflict with post IDs thus the following changes have been made; 1) SKU no longer defaults to post ID automatically, 2) Unique SKU check looks for SKUs only - not post IDs 3) get_sku() will return _sku not post ID @@ -1120,14 +1120,14 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc * Moved discount above shipping calc * Fixed enter key on product edit page * Typos -* Made custom attributes display 'nicely' in cart widgets, instead of santized +* Made custom attributes display 'nicely' in cart widgets, instead of sanitized = 1.1 - 12/10/2011 = * Tested and working with WordPress 3.3 beta-1 * Added a hook for payment complete order status * Added woocommerce term meta api * Added ability to upload category thumbnails -* Added option to show sub-categories when browing categories/the shop page +* Added option to show sub-categories when browsing categories/the shop page * Zero tax rate fix * Filters for tax rates * Fixes to find rate function diff --git a/templates/single-product/tabs/additional-information.php b/templates/single-product/tabs/additional-information.php index 9b034d9d939..d756f509fe3 100644 --- a/templates/single-product/tabs/additional-information.php +++ b/templates/single-product/tabs/additional-information.php @@ -1,6 +1,6 @@ 'woocommerce_product_description_tab' ); - // Additonal information tab - shows attributes + // Additional information tab - shows attributes if ( $product->has_attributes() || ( get_option( 'woocommerce_enable_dimension_product_attributes' ) == 'yes' && ( $product->has_dimensions() || $product->has_weight() ) ) ) $tabs['additional_information'] = array( 'title' => __( 'Additional Information', 'woocommerce' ), diff --git a/woocommerce.php b/woocommerce.php index 857da47cb80..d2e17827dfd 100644 --- a/woocommerce.php +++ b/woocommerce.php @@ -553,7 +553,7 @@ class Woocommerce { * Handles template usage so that we can use our own templates instead of the themes. * * Templates are in the 'templates' folder. woocommerce looks for theme - * overides in /theme/woocommerce/ by default + * overrides in /theme/woocommerce/ by default * * For beginners, it also looks for a woocommerce.php template first. If the user adds * this to the theme (containing a woocommerce() inside) this will be used for all @@ -967,7 +967,7 @@ class Woocommerce { 'map_meta_cap' => true, 'publicly_queryable' => true, 'exclude_from_search' => false, - 'hierarchical' => false, // Hierarcal causes memory issues - WP loads all records! + 'hierarchical' => false, // Hierarchical causes memory issues - WP loads all records! 'rewrite' => $rewrite, 'query_var' => true, 'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', 'comments', 'custom-fields', 'page-attributes' ), @@ -1124,7 +1124,7 @@ class Woocommerce { $ajax_cart_en = get_option( 'woocommerce_enable_ajax_add_to_cart' ) == 'yes' ? true : false; $frontend_script_path = $this->plugin_url() . '/assets/js/frontend/'; - // Register any scipts for later use, or used as dependencies + // Register any scripts for later use, or used as dependencies wp_register_script( 'chosen', $this->plugin_url() . '/assets/js/chosen/chosen.jquery' . $suffix . '.js', array( 'jquery' ), $this->version, true ); wp_register_script( 'jquery-blockui', $this->plugin_url() . '/assets/js/jquery-blockui/jquery.blockUI' . $suffix . '.js', array( 'jquery' ), $this->version, true ); wp_register_script( 'jquery-placeholder', $this->plugin_url() . '/assets/js/jquery-placeholder/jquery.placeholder' . $suffix . '.js', array( 'jquery' ), $this->version, true );