Fixed typos

This commit is contained in:
Pascal Borreli 2013-03-03 17:07:31 +00:00
parent 46c0f6827e
commit ae7899c67b
35 changed files with 71 additions and 71 deletions

View File

@ -985,7 +985,7 @@ class WC_Product {
/**
* Returns the crosssell product ids.
* Returns the cross sell product ids.
*
* @access public
* @return array

View File

@ -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

View File

@ -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();

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -76,7 +76,7 @@ class WC_Logger {
/**
* Clear entrys from chosen file.
* Clear entries from chosen file.
*
* @access public
* @param mixed $handle

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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 );
}
/**

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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

View File

@ -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;

View File

@ -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 );

View File

@ -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;
}

View File

@ -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

View File

@ -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;

View File

@ -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:<br /><strong>{sql}</strong>', 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:<br /><strong>{sql}</strong>', 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) {

View File

@ -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' => '',

View File

@ -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' => '',
);

View File

@ -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' => '',

View File

@ -45,12 +45,12 @@
</head>
...
</html>'))); ?></code></pre></li>
<li><?php echo SyC::t('sdk','This plugin allows you to easilly set the above meta properties directly in the post or page edit form'); ?></li>
<li><?php echo SyC::t('sdk','This plugin allows you to easily set the above meta properties directly in the post or page edit form'); ?></li>
<?php endif; ?>
<li><p><?php echo SyC::t('sdk','To position the {brand} button, you need to override the following CSS classes', array('{brand}' => '<a href="http://www.shareyourcart.com" target="_blank" title="Shareyourcart&trade;" onclick=" if(_gaq) _gaq.push([\'_trackPageview\', \'/admin/documentation/logo-click\']);">ShareYourCart&trade;</a>')); ?></p>
<ul>
<li><?php echo SyC::t('sdk','{css_class} for the horrizontal button', array('{css_class}' => '<code>button_iframe-normal</code>')); ?></li>
<li><?php echo SyC::t('sdk','{css_class} for the horizontal button', array('{css_class}' => '<code>button_iframe-normal</code>')); ?></li>
<li><?php echo SyC::t('sdk','{css_class} for the vertical button', array('{css_class}' => '<code>button_iframe</code>')); ?></li>
</ul>
</li>

View File

@ -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;

View File

@ -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 ){

View File

@ -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

View File

@ -1,6 +1,6 @@
<?php
/**
* Additonal Information tab
* Additional Information tab
*
* @author WooThemes
* @package WooCommerce/Templates

View File

@ -1486,7 +1486,7 @@ function woocommerce_get_product_terms( $object_id, $taxonomy, $fields = 'all' )
*
* @access public
* @param int $show_counts (default: 1)
* @param int $hierarchal (default: 1)
* @param int $hierarchical (default: 1)
* @param int $show_uncategorized (default: 1)
* @return string
*/
@ -1631,7 +1631,7 @@ function get_woocommerce_term_meta( $term_id, $key, $single = true ) {
*
* @access public
* @param int $the_term
* @param int $next_id the id of the next slibling element in save hierachy level
* @param int $next_id the id of the next sibling element in save hierarchy level
* @param string $taxonomy
* @param int $index (default: 0)
* @param mixed $terms (default: null)
@ -2380,7 +2380,7 @@ function woocommerce_scheduled_sales() {
// Sync parent
if ( $parent ) {
// We can force varaible product price to sync up by removing their min price meta
// We can force variable product price to sync up by removing their min price meta
delete_post_meta( $parent, 'min_variation_price' );
// Grouped products need syncing via a function

View File

@ -750,7 +750,7 @@ if ( ! function_exists( 'woocommerce_default_product_tabs' ) ) {
'callback' => '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' ),

View File

@ -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 );