commit
534579f5ad
|
@ -244,7 +244,7 @@ class WC_Admin_Welcome {
|
|||
<div class="wc-feature feature-rest feature-section col three-col">
|
||||
<div>
|
||||
<h4><?php _e( 'Access your data from 3rd party applications', 'woocommerce' ); ?></h4>
|
||||
<p><?php _e( 'Built on top of the WooCommerce API, and targetted directly at developers, the new REST API allows you to get data for <strong>Orders</strong>, <strong>Coupons</strong>, <strong>Customers</strong>, <strong>Products</strong> and <strong>Reports</strong> in both <code>XML</code> and <code>JSON</code> formats.', 'woocommerce' ); ?></p>
|
||||
<p><?php _e( 'Built on top of the WooCommerce API, and targeted directly at developers, the new REST API allows you to get data for <strong>Orders</strong>, <strong>Coupons</strong>, <strong>Customers</strong>, <strong>Products</strong> and <strong>Reports</strong> in both <code>XML</code> and <code>JSON</code> formats.', 'woocommerce' ); ?></p>
|
||||
</div>
|
||||
<div class="icon"></div>
|
||||
<div class="last-feature">
|
||||
|
|
|
@ -133,7 +133,7 @@ class WC_Settings_Tax extends WC_Settings_Page {
|
|||
|
||||
array(
|
||||
'title' => __( 'Additional Tax Classes', 'woocommerce' ),
|
||||
'desc' => __( 'List additonal tax classes below (1 per line). This is in addition to the default <code>Standard Rate</code>. Tax classes can be assigned to products.', 'woocommerce' ),
|
||||
'desc' => __( 'List additional tax classes below (1 per line). This is in addition to the default <code>Standard Rate</code>. Tax classes can be assigned to products.', 'woocommerce' ),
|
||||
'id' => 'woocommerce_tax_classes',
|
||||
'css' => 'width:100%; height: 65px;',
|
||||
'type' => 'textarea',
|
||||
|
|
|
@ -1814,7 +1814,7 @@ class WC_Cart {
|
|||
}
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* Fees API to add additonal costs to orders */
|
||||
/* Fees API to add additional costs to orders */
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -287,7 +287,7 @@ class WC_Coupon {
|
|||
}
|
||||
}
|
||||
|
||||
// Per user usage limit - check here if user is logged in (aginst user IDs)
|
||||
// Per user usage limit - check here if user is logged in (against user IDs)
|
||||
// Checked again for emails later on in WC_Cart::check_customer_coupons()
|
||||
if ( $this->usage_limit_per_user > 0 && is_user_logged_in() ) {
|
||||
$used_by = get_post_meta( $this->id, '_used_by' );
|
||||
|
|
|
@ -1158,7 +1158,7 @@ class WC_Order {
|
|||
/**
|
||||
* Gets any downloadable product file urls.
|
||||
*
|
||||
* @deprecated as of 2.1 get_item_downloads is prefered as downloads are more than just file urls
|
||||
* @deprecated as of 2.1 get_item_downloads is preferred as downloads are more than just file urls
|
||||
* @param int $product_id product identifier
|
||||
* @param int $variation_id variation identifier, or null
|
||||
* @param array $item the item
|
||||
|
|
|
@ -564,7 +564,7 @@ class WC_Gateway_Paypal extends WC_Payment_Gateway {
|
|||
$this->log->add( 'paypal', 'Checking IPN response is valid via ' . $paypal_adr . '...' );
|
||||
}
|
||||
|
||||
// Get recieved values from post data
|
||||
// Get received values from post data
|
||||
$validate_ipn = array( 'cmd' => '_notify-validate' );
|
||||
$validate_ipn += stripslashes_deep( $ipn_response );
|
||||
|
||||
|
|
Loading…
Reference in New Issue