WooCommerce 2.0 is coming!
This commit is contained in:
parent
39d47ddfa5
commit
37feabd87f
|
@ -5,7 +5,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Importers
|
* @package WooCommerce/Admin/Importers
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Importers
|
* @package WooCommerce/Admin/Importers
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Updates
|
* @package WooCommerce/Admin/Updates
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Updates
|
* @package WooCommerce/Admin/Updates
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Update WC to 1.7
|
* Update WC to 2.0
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Updates
|
* @package WooCommerce/Admin/Updates
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
@ -7,7 +7,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/WritePanels
|
* @package WooCommerce/Admin/WritePanels
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/WritePanels
|
* @package WooCommerce/Admin/WritePanels
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/WritePanels
|
* @package WooCommerce/Admin/WritePanels
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/WritePanels
|
* @package WooCommerce/Admin/WritePanels
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/WritePanels
|
* @package WooCommerce/Admin/WritePanels
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/WritePanels
|
* @package WooCommerce/Admin/WritePanels
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Settings
|
* @package WooCommerce/Admin/Settings
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Install
|
* @package WooCommerce/Admin/Install
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
@ -84,7 +84,7 @@ function do_install_woocommerce() {
|
||||||
$current_version = get_option( 'woocommerce_version', null );
|
$current_version = get_option( 'woocommerce_version', null );
|
||||||
$current_db_version = get_option( 'woocommerce_db_version', null );
|
$current_db_version = get_option( 'woocommerce_db_version', null );
|
||||||
|
|
||||||
if ( version_compare( $current_db_version, '1.7', '<' ) && null !== $current_version ) {
|
if ( version_compare( $current_db_version, '2.0', '<' ) && null !== $current_version ) {
|
||||||
update_option( 'woocommerce_needs_update', 1 );
|
update_option( 'woocommerce_needs_update', 1 );
|
||||||
} else {
|
} else {
|
||||||
update_option( 'woocommerce_db_version', $woocommerce->version );
|
update_option( 'woocommerce_db_version', $woocommerce->version );
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Reports
|
* @package WooCommerce/Admin/Reports
|
||||||
* @version 1.7
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Admin
|
* @category Admin
|
||||||
* @package WooCommerce/Admin/Updates
|
* @package WooCommerce/Admin/Updates
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
@ -34,9 +34,9 @@ function do_update_woocommerce() {
|
||||||
update_option( 'woocommerce_db_version', '1.5' );
|
update_option( 'woocommerce_db_version', '1.5' );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( version_compare( $current_db_version, '1.7', '<' ) ) {
|
if ( version_compare( $current_db_version, '2.0', '<' ) ) {
|
||||||
include( 'includes/updates/woocommerce-update-1.7.php' );
|
include( 'includes/updates/woocommerce-update-2.0.php' );
|
||||||
update_option( 'woocommerce_db_version', '1.7' );
|
update_option( 'woocommerce_db_version', '2.0' );
|
||||||
}
|
}
|
||||||
|
|
||||||
update_option( 'woocommerce_db_version', $woocommerce->version );
|
update_option( 'woocommerce_db_version', $woocommerce->version );
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* The WooCommerce product class handles individual product data.
|
* The WooCommerce product class handles individual product data.
|
||||||
*
|
*
|
||||||
* @class WC_Product
|
* @class WC_Product
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes
|
* @package WooCommerce/Classes
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Handle data for the current customers session.
|
* Handle data for the current customers session.
|
||||||
*
|
*
|
||||||
* @class WC_Session
|
* @class WC_Session
|
||||||
* @version 1.7
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Abstracts
|
* @package WooCommerce/Classes/Abstracts
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* External products cannot be bought; they link offsite. Extends simple products.
|
* External products cannot be bought; they link offsite. Extends simple products.
|
||||||
*
|
*
|
||||||
* @class WC_Product_External
|
* @class WC_Product_External
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Products
|
* @package WooCommerce/Classes/Products
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* The WooCommerce product factory creating the right product object
|
* The WooCommerce product factory creating the right product object
|
||||||
*
|
*
|
||||||
* @class WC_Product_Factory
|
* @class WC_Product_Factory
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes
|
* @package WooCommerce/Classes
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* Grouped products cannot be purchased - they are wrappers for other products.
|
* Grouped products cannot be purchased - they are wrappers for other products.
|
||||||
*
|
*
|
||||||
* @class WC_Product_Grouped
|
* @class WC_Product_Grouped
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Products
|
* @package WooCommerce/Classes/Products
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* The default product type kinda product.
|
* The default product type kinda product.
|
||||||
*
|
*
|
||||||
* @class WC_Product_Simple
|
* @class WC_Product_Simple
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Products
|
* @package WooCommerce/Classes/Products
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* The WooCommerce product class handles individual product data.
|
* The WooCommerce product class handles individual product data.
|
||||||
*
|
*
|
||||||
* @class WC_Product_Variable
|
* @class WC_Product_Variable
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Products
|
* @package WooCommerce/Classes/Products
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* The WooCommerce product variation class handles product variation data.
|
* The WooCommerce product variation class handles product variation data.
|
||||||
*
|
*
|
||||||
* @class WC_Product_Variation
|
* @class WC_Product_Variation
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes
|
* @package WooCommerce/Classes
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Implements the WC_Session abstract class
|
* Implements the WC_Session abstract class
|
||||||
*
|
*
|
||||||
* @class WC_Session_Transients
|
* @class WC_Session_Transients
|
||||||
* @version 1.7
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes
|
* @package WooCommerce/Classes
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Performs tax calculations and loads tax rates.
|
* Performs tax calculations and loads tax rates.
|
||||||
*
|
*
|
||||||
* @class WC_Tax
|
* @class WC_Tax
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes
|
* @package WooCommerce/Classes
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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.
|
* 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
|
* @class WC_Email_Customer_Completed_Order
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Emails
|
* @package WooCommerce/Classes/Emails
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @extends WC_Email
|
* @extends WC_Email
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* An email sent to the customer via admin.
|
* An email sent to the customer via admin.
|
||||||
*
|
*
|
||||||
* @class WC_Email_Customer_Invoice
|
* @class WC_Email_Customer_Invoice
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Emails
|
* @package WooCommerce/Classes/Emails
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @extends WC_Email
|
* @extends WC_Email
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* An email sent to the customer when they create an account.
|
* An email sent to the customer when they create an account.
|
||||||
*
|
*
|
||||||
* @class WC_Email_Customer_New_Account
|
* @class WC_Email_Customer_New_Account
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Emails
|
* @package WooCommerce/Classes/Emails
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @extends WC_Email
|
* @extends WC_Email
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* Customer note emails are sent when you add a note to an order.
|
* Customer note emails are sent when you add a note to an order.
|
||||||
*
|
*
|
||||||
* @class WC_Email_Customer_Note
|
* @class WC_Email_Customer_Note
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Emails
|
* @package WooCommerce/Classes/Emails
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @extends WC_Email
|
* @extends WC_Email
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* An email sent to the admin when a new order is received/paid for.
|
* An email sent to the admin when a new order is received/paid for.
|
||||||
*
|
*
|
||||||
* @class WC_Email_Customer_Processing_Order
|
* @class WC_Email_Customer_Processing_Order
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Emails
|
* @package WooCommerce/Classes/Emails
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @extends WC_Email
|
* @extends WC_Email
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* An email sent to the customer when they reset their password.
|
* An email sent to the customer when they reset their password.
|
||||||
*
|
*
|
||||||
* @class WC_Email_Customer_Reset_Password
|
* @class WC_Email_Customer_Reset_Password
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Emails
|
* @package WooCommerce/Classes/Emails
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @extends WC_Email
|
* @extends WC_Email
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* An email sent to the admin when a new order is received/paid for.
|
* An email sent to the admin when a new order is received/paid for.
|
||||||
*
|
*
|
||||||
* @class WC_Email_New_Order
|
* @class WC_Email_New_Order
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Emails
|
* @package WooCommerce/Classes/Emails
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @extends WC_Email
|
* @extends WC_Email
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* WooCommerce Email Class which is extended by specific email template classes to add emails to WooCommerce
|
* WooCommerce Email Class which is extended by specific email template classes to add emails to WooCommerce
|
||||||
*
|
*
|
||||||
* @class WC_Email
|
* @class WC_Email
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Emails
|
* @package WooCommerce/Classes/Emails
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @extends WC_Settings_API
|
* @extends WC_Settings_API
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* WooCommerce Emails Class which handles the sending on transactional emails and email templates. This class loads in available emails.
|
* WooCommerce Emails Class which handles the sending on transactional emails and email templates. This class loads in available emails.
|
||||||
*
|
*
|
||||||
* @class WC_Emails
|
* @class WC_Emails
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @package WooCommerce/Classes/Emails
|
* @package WooCommerce/Classes/Emails
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -150,7 +150,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
= 1.7.0 =
|
= 2.0.0 =
|
||||||
* Feature - Securi audited and secured.
|
* Feature - Securi audited and secured.
|
||||||
* Feature - Added sales by category report.
|
* Feature - Added sales by category report.
|
||||||
* Feature - Added sales by coupon report (kudos Max Rice).
|
* 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 ==
|
== Upgrade Notice ==
|
||||||
|
|
||||||
= 1.7.0 =
|
= 2.0.0 =
|
||||||
There are many improvements in this major release - see the changelog for full details.
|
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.
|
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.
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Shortcodes
|
* @category Shortcodes
|
||||||
* @package WooCommerce/Shortcodes
|
* @package WooCommerce/Shortcodes
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Shortcodes
|
* @category Shortcodes
|
||||||
* @package WooCommerce/Shortcodes/Lost Password
|
* @package WooCommerce/Shortcodes/Lost Password
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce/Templates
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce/Templates
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
global $woocommerce;
|
global $woocommerce;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce/Templates
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails/HTML
|
* @package WooCommerce/Templates/Emails/HTML
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails
|
* @package WooCommerce/Templates/Emails
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails
|
* @package WooCommerce/Templates/Emails
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails
|
* @package WooCommerce/Templates/Emails
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails
|
* @package WooCommerce/Templates/Emails
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails/Plain
|
* @package WooCommerce/Templates/Emails/Plain
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails/Plain
|
* @package WooCommerce/Templates/Emails/Plain
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails/Plain
|
* @package WooCommerce/Templates/Emails/Plain
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails/Plain
|
* @package WooCommerce/Templates/Emails/Plain
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails/Plain
|
* @package WooCommerce/Templates/Emails/Plain
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails/Plain
|
* @package WooCommerce/Templates/Emails/Plain
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails/Plain
|
* @package WooCommerce/Templates/Emails/Plain
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails/Plain
|
* @package WooCommerce/Templates/Emails/Plain
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates/Emails/Plain
|
* @package WooCommerce/Templates/Emails/Plain
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce/Templates
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce/Templates
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<ul class="products">
|
<ul class="products">
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce/Templates
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce/Templates
|
||||||
* @version 1.7
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce/Templates
|
||||||
* @version 1.7
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce/Templates
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @package WooCommerce/Templates
|
* @package WooCommerce/Templates
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* @author WooThemes
|
* @author WooThemes
|
||||||
* @category Widgets
|
* @category Widgets
|
||||||
* @package WooCommerce/Widgets
|
* @package WooCommerce/Widgets
|
||||||
* @version 1.7.0
|
* @version 2.0.0
|
||||||
* @extends WP_Widget
|
* @extends WP_Widget
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Plugin Name: WooCommerce
|
* Plugin Name: WooCommerce
|
||||||
* Plugin URI: http://www.woothemes.com/woocommerce/
|
* Plugin URI: http://www.woothemes.com/woocommerce/
|
||||||
* Description: An e-commerce toolkit that helps you sell anything. Beautifully.
|
* Description: An e-commerce toolkit that helps you sell anything. Beautifully.
|
||||||
* Version: 1.7.0 beta
|
* Version: 2.0.0 beta
|
||||||
* Author: WooThemes
|
* Author: WooThemes
|
||||||
* Author URI: http://woothemes.com
|
* Author URI: http://woothemes.com
|
||||||
* Requires at least: 3.3
|
* Requires at least: 3.3
|
||||||
|
@ -37,7 +37,7 @@ class Woocommerce {
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
var $version = '1.7.0';
|
var $version = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
|
|
Loading…
Reference in New Issue