diff --git a/admin/importers/importers-init.php b/admin/importers/importers-init.php index 80667998c47..cd6b1819bcf 100644 --- a/admin/importers/importers-init.php +++ b/admin/importers/importers-init.php @@ -5,7 +5,7 @@ * @author WooThemes * @category Admin * @package WooCommerce/Admin/Importers - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/admin/importers/tax-rates-importer.php b/admin/importers/tax-rates-importer.php index 5e094195173..97a229bfdff 100644 --- a/admin/importers/tax-rates-importer.php +++ b/admin/importers/tax-rates-importer.php @@ -5,7 +5,7 @@ * @author WooThemes * @category Admin * @package WooCommerce/Admin/Importers - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/admin/includes/updates/woocommerce-update-1.4.php b/admin/includes/updates/woocommerce-update-1.4.php index db0a37d6f81..187e26a708e 100644 --- a/admin/includes/updates/woocommerce-update-1.4.php +++ b/admin/includes/updates/woocommerce-update-1.4.php @@ -5,7 +5,7 @@ * @author WooThemes * @category Admin * @package WooCommerce/Admin/Updates - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/admin/includes/updates/woocommerce-update-1.5.php b/admin/includes/updates/woocommerce-update-1.5.php index 4224d1b3c23..240326e003b 100644 --- a/admin/includes/updates/woocommerce-update-1.5.php +++ b/admin/includes/updates/woocommerce-update-1.5.php @@ -5,7 +5,7 @@ * @author WooThemes * @category Admin * @package WooCommerce/Admin/Updates - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/admin/includes/updates/woocommerce-update-1.7.php b/admin/includes/updates/woocommerce-update-2.0.php similarity index 99% rename from admin/includes/updates/woocommerce-update-1.7.php rename to admin/includes/updates/woocommerce-update-2.0.php index 5e04d57fbb9..df4cbc8101c 100644 --- a/admin/includes/updates/woocommerce-update-1.7.php +++ b/admin/includes/updates/woocommerce-update-2.0.php @@ -1,11 +1,11 @@ version ); diff --git a/admin/woocommerce-admin-reports.php b/admin/woocommerce-admin-reports.php index a6db4c43b3c..07acbf9f22b 100644 --- a/admin/woocommerce-admin-reports.php +++ b/admin/woocommerce-admin-reports.php @@ -7,7 +7,7 @@ * @author WooThemes * @category Admin * @package WooCommerce/Admin/Reports - * @version 1.7 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/admin/woocommerce-admin-update.php b/admin/woocommerce-admin-update.php index 67657402ad0..359c347a216 100644 --- a/admin/woocommerce-admin-update.php +++ b/admin/woocommerce-admin-update.php @@ -7,7 +7,7 @@ * @author WooThemes * @category Admin * @package WooCommerce/Admin/Updates - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly @@ -34,9 +34,9 @@ function do_update_woocommerce() { update_option( 'woocommerce_db_version', '1.5' ); } - if ( version_compare( $current_db_version, '1.7', '<' ) ) { - include( 'includes/updates/woocommerce-update-1.7.php' ); - update_option( 'woocommerce_db_version', '1.7' ); + if ( version_compare( $current_db_version, '2.0', '<' ) ) { + include( 'includes/updates/woocommerce-update-2.0.php' ); + update_option( 'woocommerce_db_version', '2.0' ); } update_option( 'woocommerce_db_version', $woocommerce->version ); diff --git a/classes/abstracts/abstract-wc-product.php b/classes/abstracts/abstract-wc-product.php index a55a4947b59..8521c3ec6fa 100644 --- a/classes/abstracts/abstract-wc-product.php +++ b/classes/abstracts/abstract-wc-product.php @@ -5,7 +5,7 @@ * The WooCommerce product class handles individual product data. * * @class WC_Product - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes * @author WooThemes */ diff --git a/classes/abstracts/abstract-wc-session.php b/classes/abstracts/abstract-wc-session.php index 0bdae6e7961..63c607e5667 100644 --- a/classes/abstracts/abstract-wc-session.php +++ b/classes/abstracts/abstract-wc-session.php @@ -3,7 +3,7 @@ * Handle data for the current customers session. * * @class WC_Session - * @version 1.7 + * @version 2.0.0 * @package WooCommerce/Classes/Abstracts * @author WooThemes */ diff --git a/classes/class-wc-product-external.php b/classes/class-wc-product-external.php index 93bdc7e82dd..8d614eba4de 100644 --- a/classes/class-wc-product-external.php +++ b/classes/class-wc-product-external.php @@ -5,7 +5,7 @@ * External products cannot be bought; they link offsite. Extends simple products. * * @class WC_Product_External - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Products * @author WooThemes */ diff --git a/classes/class-wc-product-factory.php b/classes/class-wc-product-factory.php index 592f4263159..4e21450fdcb 100644 --- a/classes/class-wc-product-factory.php +++ b/classes/class-wc-product-factory.php @@ -6,7 +6,7 @@ * The WooCommerce product factory creating the right product object * * @class WC_Product_Factory - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes * @author WooThemes */ diff --git a/classes/class-wc-product-grouped.php b/classes/class-wc-product-grouped.php index b57b59030ab..f2a288addd5 100644 --- a/classes/class-wc-product-grouped.php +++ b/classes/class-wc-product-grouped.php @@ -5,7 +5,7 @@ * Grouped products cannot be purchased - they are wrappers for other products. * * @class WC_Product_Grouped - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Products * @author WooThemes */ diff --git a/classes/class-wc-product-simple.php b/classes/class-wc-product-simple.php index 9958b87fb96..2a852d20e08 100644 --- a/classes/class-wc-product-simple.php +++ b/classes/class-wc-product-simple.php @@ -5,7 +5,7 @@ * The default product type kinda product. * * @class WC_Product_Simple - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Products * @author WooThemes */ diff --git a/classes/class-wc-product-variable.php b/classes/class-wc-product-variable.php index 1e52a19a2a5..895bcac7ab1 100644 --- a/classes/class-wc-product-variable.php +++ b/classes/class-wc-product-variable.php @@ -5,7 +5,7 @@ * The WooCommerce product class handles individual product data. * * @class WC_Product_Variable - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Products * @author WooThemes */ diff --git a/classes/class-wc-product-variation.php b/classes/class-wc-product-variation.php index cdbeb3e1137..7e42cd3a3b9 100644 --- a/classes/class-wc-product-variation.php +++ b/classes/class-wc-product-variation.php @@ -5,7 +5,7 @@ * The WooCommerce product variation class handles product variation data. * * @class WC_Product_Variation - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes * @author WooThemes */ diff --git a/classes/class-wc-session-transients.php b/classes/class-wc-session-transients.php index e29c137966c..574fce55df7 100644 --- a/classes/class-wc-session-transients.php +++ b/classes/class-wc-session-transients.php @@ -4,7 +4,7 @@ * Implements the WC_Session abstract class * * @class WC_Session_Transients - * @version 1.7 + * @version 2.0.0 * @package WooCommerce/Classes * @author WooThemes */ diff --git a/classes/class-wc-tax.php b/classes/class-wc-tax.php index daf45f84bff..95f031474cd 100644 --- a/classes/class-wc-tax.php +++ b/classes/class-wc-tax.php @@ -3,7 +3,7 @@ * Performs tax calculations and loads tax rates. * * @class WC_Tax - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes * @author WooThemes */ diff --git a/classes/emails/class-wc-email-customer-completed-order.php b/classes/emails/class-wc-email-customer-completed-order.php index 59f4f6d5752..85175cfb8d7 100644 --- a/classes/emails/class-wc-email-customer-completed-order.php +++ b/classes/emails/class-wc-email-customer-completed-order.php @@ -5,7 +5,7 @@ * Order complete emails are sent to the customer when the order is marked complete and usual indicates that the order has been shipped. * * @class WC_Email_Customer_Completed_Order - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Emails * @author WooThemes * @extends WC_Email diff --git a/classes/emails/class-wc-email-customer-invoice.php b/classes/emails/class-wc-email-customer-invoice.php index 97beb96639d..2bc88d8e056 100644 --- a/classes/emails/class-wc-email-customer-invoice.php +++ b/classes/emails/class-wc-email-customer-invoice.php @@ -5,7 +5,7 @@ * An email sent to the customer via admin. * * @class WC_Email_Customer_Invoice - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Emails * @author WooThemes * @extends WC_Email diff --git a/classes/emails/class-wc-email-customer-new-account.php b/classes/emails/class-wc-email-customer-new-account.php index c9ad3047a2f..c71a9f531b0 100644 --- a/classes/emails/class-wc-email-customer-new-account.php +++ b/classes/emails/class-wc-email-customer-new-account.php @@ -5,7 +5,7 @@ * An email sent to the customer when they create an account. * * @class WC_Email_Customer_New_Account - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Emails * @author WooThemes * @extends WC_Email diff --git a/classes/emails/class-wc-email-customer-note.php b/classes/emails/class-wc-email-customer-note.php index 0b345f0728d..a81d0bbadbe 100644 --- a/classes/emails/class-wc-email-customer-note.php +++ b/classes/emails/class-wc-email-customer-note.php @@ -5,7 +5,7 @@ * Customer note emails are sent when you add a note to an order. * * @class WC_Email_Customer_Note - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Emails * @author WooThemes * @extends WC_Email diff --git a/classes/emails/class-wc-email-customer-processing-order.php b/classes/emails/class-wc-email-customer-processing-order.php index 294e2e9431a..faaf3dda42e 100644 --- a/classes/emails/class-wc-email-customer-processing-order.php +++ b/classes/emails/class-wc-email-customer-processing-order.php @@ -5,7 +5,7 @@ * An email sent to the admin when a new order is received/paid for. * * @class WC_Email_Customer_Processing_Order - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Emails * @author WooThemes * @extends WC_Email diff --git a/classes/emails/class-wc-email-customer-reset-password.php b/classes/emails/class-wc-email-customer-reset-password.php index 9b55d491e6a..362888b2a13 100644 --- a/classes/emails/class-wc-email-customer-reset-password.php +++ b/classes/emails/class-wc-email-customer-reset-password.php @@ -5,7 +5,7 @@ * An email sent to the customer when they reset their password. * * @class WC_Email_Customer_Reset_Password - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Emails * @author WooThemes * @extends WC_Email diff --git a/classes/emails/class-wc-email-new-order.php b/classes/emails/class-wc-email-new-order.php index 78fc5cb5b9a..629bf30a2f7 100644 --- a/classes/emails/class-wc-email-new-order.php +++ b/classes/emails/class-wc-email-new-order.php @@ -5,7 +5,7 @@ * An email sent to the admin when a new order is received/paid for. * * @class WC_Email_New_Order - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Emails * @author WooThemes * @extends WC_Email diff --git a/classes/emails/class-wc-email.php b/classes/emails/class-wc-email.php index 641c81677c0..eff8f9f1390 100644 --- a/classes/emails/class-wc-email.php +++ b/classes/emails/class-wc-email.php @@ -5,7 +5,7 @@ * WooCommerce Email Class which is extended by specific email template classes to add emails to WooCommerce * * @class WC_Email - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Emails * @author WooThemes * @extends WC_Settings_API diff --git a/classes/emails/class-wc-emails.php b/classes/emails/class-wc-emails.php index 6bafcfce705..1d531948d67 100644 --- a/classes/emails/class-wc-emails.php +++ b/classes/emails/class-wc-emails.php @@ -5,7 +5,7 @@ * WooCommerce Emails Class which handles the sending on transactional emails and email templates. This class loads in available emails. * * @class WC_Emails - * @version 1.7.0 + * @version 2.0.0 * @package WooCommerce/Classes/Emails * @author WooThemes */ diff --git a/readme.txt b/readme.txt index c7790dc06ed..aa58fb2d74b 100644 --- a/readme.txt +++ b/readme.txt @@ -150,7 +150,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc == Changelog == -= 1.7.0 = += 2.0.0 = * Feature - Securi audited and secured. * Feature - Added sales by category report. * Feature - Added sales by coupon report (kudos Max Rice). @@ -1143,7 +1143,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc == Upgrade Notice == -= 1.7.0 = += 2.0.0 = There are many improvements in this major release - see the changelog for full details. The biggest change is that we're redone order item storage making them easier (and faster) to access for reporting and querying purchases; there are huge performance gains for reports. diff --git a/shortcodes/shortcode-init.php b/shortcodes/shortcode-init.php index f7696790a5b..0054b718c3b 100644 --- a/shortcodes/shortcode-init.php +++ b/shortcodes/shortcode-init.php @@ -7,7 +7,7 @@ * @author WooThemes * @category Shortcodes * @package WooCommerce/Shortcodes - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/shortcodes/shortcode-lost_password.php b/shortcodes/shortcode-lost_password.php index 8d37e833b79..e8a5a0614cd 100644 --- a/shortcodes/shortcode-lost_password.php +++ b/shortcodes/shortcode-lost_password.php @@ -7,7 +7,7 @@ * @author WooThemes * @category Shortcodes * @package WooCommerce/Shortcodes/Lost Password - * @version 1.7.0 + * @version 2.0.0 */ /** diff --git a/templates/archive-product.php b/templates/archive-product.php index 0143186f456..393cba0a4c2 100644 --- a/templates/archive-product.php +++ b/templates/archive-product.php @@ -6,7 +6,7 @@ * * @author WooThemes * @package WooCommerce/Templates - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/cart/shipping-methods.php b/templates/cart/shipping-methods.php index 163271fb62a..8205ff75388 100644 --- a/templates/cart/shipping-methods.php +++ b/templates/cart/shipping-methods.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates - * @version 1.7.0 + * @version 2.0.0 */ global $woocommerce; diff --git a/templates/cart/totals.php b/templates/cart/totals.php index cd9e9e2ebb7..0590c57afb6 100644 --- a/templates/cart/totals.php +++ b/templates/cart/totals.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/emails/admin-new-order.php b/templates/emails/admin-new-order.php index a0d2999aa91..191fe44fb72 100644 --- a/templates/emails/admin-new-order.php +++ b/templates/emails/admin-new-order.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails/HTML - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> diff --git a/templates/emails/customer-invoice.php b/templates/emails/customer-invoice.php index 2e7abb6ce2b..9b26a6968d9 100644 --- a/templates/emails/customer-invoice.php +++ b/templates/emails/customer-invoice.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> diff --git a/templates/emails/customer-reset-password.php b/templates/emails/customer-reset-password.php index 9e58cb20920..f78351657f2 100644 --- a/templates/emails/customer-reset-password.php +++ b/templates/emails/customer-reset-password.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> diff --git a/templates/emails/email-footer.php b/templates/emails/email-footer.php index 91d35933e6b..b333d3fad0d 100644 --- a/templates/emails/email-footer.php +++ b/templates/emails/email-footer.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/emails/email-header.php b/templates/emails/email-header.php index ad2cf7d640f..2add74548cd 100644 --- a/templates/emails/email-header.php +++ b/templates/emails/email-header.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/emails/plain/admin-new-order.php b/templates/emails/plain/admin-new-order.php index 5b725285cdc..72868f03f95 100644 --- a/templates/emails/plain/admin-new-order.php +++ b/templates/emails/plain/admin-new-order.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails/Plain - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/emails/plain/customer-completed-order.php b/templates/emails/plain/customer-completed-order.php index 3277799564b..8b6a9fa5eaa 100644 --- a/templates/emails/plain/customer-completed-order.php +++ b/templates/emails/plain/customer-completed-order.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails/Plain - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/emails/plain/customer-invoice.php b/templates/emails/plain/customer-invoice.php index c006159cd24..f2f0c6991a2 100644 --- a/templates/emails/plain/customer-invoice.php +++ b/templates/emails/plain/customer-invoice.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails/Plain - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/emails/plain/customer-new-account.php b/templates/emails/plain/customer-new-account.php index 95c0610a153..ac46864ce66 100644 --- a/templates/emails/plain/customer-new-account.php +++ b/templates/emails/plain/customer-new-account.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails/Plain - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/emails/plain/customer-note.php b/templates/emails/plain/customer-note.php index c6b91cfbabc..abe9cde4529 100644 --- a/templates/emails/plain/customer-note.php +++ b/templates/emails/plain/customer-note.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails/Plain - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/emails/plain/customer-processing-order.php b/templates/emails/plain/customer-processing-order.php index e122d169707..885538f35cb 100644 --- a/templates/emails/plain/customer-processing-order.php +++ b/templates/emails/plain/customer-processing-order.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails/Plain - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/emails/plain/customer-reset-password.php b/templates/emails/plain/customer-reset-password.php index 44718b56aec..c746175b5a0 100644 --- a/templates/emails/plain/customer-reset-password.php +++ b/templates/emails/plain/customer-reset-password.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails/Plain - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/emails/plain/email-addresses.php b/templates/emails/plain/email-addresses.php index f7c38d5df66..805a4062804 100644 --- a/templates/emails/plain/email-addresses.php +++ b/templates/emails/plain/email-addresses.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails/Plain - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/emails/plain/email-order-items.php b/templates/emails/plain/email-order-items.php index 5b1c2c2bd73..a3f1a55e53c 100644 --- a/templates/emails/plain/email-order-items.php +++ b/templates/emails/plain/email-order-items.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates/Emails/Plain - * @version 1.7.0 + * @version 2.0.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly diff --git a/templates/loop/loop-end.php b/templates/loop/loop-end.php index d14b19e8aa9..98230fd4c0f 100644 --- a/templates/loop/loop-end.php +++ b/templates/loop/loop-end.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates - * @version 1.7.0 + * @version 2.0.0 */ ?> \ No newline at end of file diff --git a/templates/loop/loop-start.php b/templates/loop/loop-start.php index 12d6a2ed945..749e7653f39 100644 --- a/templates/loop/loop-start.php +++ b/templates/loop/loop-start.php @@ -4,7 +4,7 @@ * * @author WooThemes * @package WooCommerce/Templates - * @version 1.7.0 + * @version 2.0.0 */ ?>