Claudio Sanches
afb19715d4
Prevented XSS in urls
2015-01-29 12:33:06 -02:00
Claudio Sanches
7890095ba0
Fixed the webhooks topic saving, closes #7236
2015-01-29 11:11:35 -02:00
Claudio Sanches
7eb3ec9a4a
Admin footer text improvements #7234
...
@BFTrick @mikejolley
2015-01-29 10:41:39 -02:00
Claudio Sanches
85adccb416
Merge pull request #7234 from BFTrick/iss-7213
...
Adding Please Rate Our Plugin Footer Text
2015-01-29 10:37:28 -02:00
Claudio Sanches
f7e24c0b77
Fixed more typos
2015-01-29 01:31:03 -02:00
Claudio Sanches
80b70c79f1
Fixed a typo in status report
2015-01-29 00:54:46 -02:00
Patrick Rauland
e7224cdc1d
using wc_get_screen_ids instead of manually typing them out. see #7213
2015-01-28 17:20:38 -07:00
Patrick Rauland
ee11ac6080
adding please rate our plugin footer text. closes #7213
2015-01-28 17:13:13 -07:00
Mike Jolley
c2c1e733ba
Typo #7216
2015-01-28 21:03:09 +00:00
Mike Jolley
15fa903537
install() is triggered after includes, so these includes are not needed
2015-01-28 19:46:09 +00:00
Brent Shepherd
3702b77c74
Fix "Undefined variable: identity_token"
...
And make sure the identify token is passed to `WC_Gateway_Paypal_PDT_Handler`
2015-01-28 10:59:48 -08:00
Mike Jolley
725d5e28d8
Additional tweaks to @b2c573ed8a04a8d425a73e018a450179514cbdc7
...
- Load API with other includes
- Register activation hook early
- Include autoloader early
cc @claudiosmweb
2015-01-28 17:50:58 +00:00
Mike Jolley
f3cc45cfa9
Grammar corrections
...
Closes #7216
2015-01-28 17:15:48 +00:00
Mike Jolley
8a42b1c211
Revert earlier change where PayPal IPN was on or off depending on PDT.
...
Because IPN is used for future events such as refunds it should not be
disabled. @claudiosmweb
2015-01-28 17:15:48 +00:00
Claudio Sanches
a723cfb256
Fix the cleanup of reviews transients, closes #7214
...
@mikejolley
Please enter the commit message for your changes. Lines starting
2015-01-28 15:09:37 -02:00
Brent Shepherd
3a1dc68ff9
Fix typo
2015-01-27 14:42:36 -08:00
Brent Shepherd
60a161aa93
Fix session expired notice on checkout
2015-01-27 14:14:17 -08:00
Mike Jolley
59359ef9b4
Try catch block in add_to_cart to allow plugins to abort the add to cart event
...
cc @claudiosmweb @barrykooij
2015-01-27 16:02:57 +00:00
Mike Jolley
2e38fc9041
Removed ID check - $the_coupon->is_valid() checks for existance
2015-01-27 12:11:58 +00:00
Claudio Sanches
5f63425e0a
[API] Fixed the deleted type for refunds
2015-01-26 19:39:33 -02:00
Claudio Sanches
cd88ac0d72
[API] Fixed the refunds returned data
2015-01-26 19:24:54 -02:00
Claudio Sanches
c995f23354
Fixed WC_Abstract_Order coupon methods
...
@mikejolley
2015-01-26 16:48:03 -02:00
Claudio Sanches
8ff08e70af
Fixed the WC_Abstract_Order::get_user_id() return type and fixed the orders customer_id
2015-01-26 14:41:19 -02:00
Claudio Sanches
4774646a0e
[API] Removed cart_discount, we have now only total_discount
2015-01-26 14:24:59 -02:00
Mike Jolley
0f5c6c4219
Add error handler/debug info in checkout ajax #7176
2015-01-26 14:24:03 +00:00
Mike Jolley
54e025939b
Use get_post_status to avoid out of date order data.
...
Partly related to #7208
2015-01-26 13:07:29 +00:00
Mike Jolley
7e1ca1d3a3
Option to choose EITHER PDT or IPN
...
Closes #7208
2015-01-26 12:58:33 +00:00
Mike Jolley
0b252d03f4
Added conditional to unset session itself
...
Closes #7182
2015-01-26 11:42:24 +00:00
Mike Jolley
2a95402d22
Merge pull request #7201 from thenbrent/fix_wc_product__isset
...
[2.3] Do not set WC_Product property when calling __get()
2015-01-26 11:38:21 +00:00
Jason Conroy
eae7bde755
Allow devs to filter is_checkout()
...
This is useful for extensions like WooCommerce One Page Checkout where the "checkout" may not be the default one used by WooCommerce core.
2015-01-24 21:35:35 +11:00
Brent Shepherd
95d87e28d6
Do not set property when calling __get()
...
SHA: 100b95a
tweaked the `__get()` magic method in `WC_Product` to:
* only call `get_post_meta()` once; and
* set `$this->$key` to save the overhead of calling `__get()` every
time that property needs to be accessed.
However, in the process, it also set an empty value (`''`) - the default
return value of `get_post_meta()` for every single value accessed on
the product object, meaning that any calls to `isset()` after attempting
to get that value would return `true`, even if `metadata_exists()` for
that property would return false (and no value is set in memory).
2015-01-23 15:01:10 -08:00
Claudio Sanches
177bcbe7d5
Removed unused code
2015-01-23 16:34:43 -02:00
Claudio Sanches
04c584ccf6
Added properties docs for abstract product class
2015-01-23 15:51:33 -02:00
Claudio Sanches
560d7d24ee
Fixed the tracking opt-out
2015-01-23 15:20:09 -02:00
Mike Jolley
e52611bbc3
Merge branch 'master' of https://github.com/woothemes/woocommerce
...
Conflicts:
includes/class-wc-tracker.php
2015-01-23 16:38:44 +00:00
Mike Jolley
5ffaf97397
Only load tracking during cron and move notices to notices class
2015-01-23 16:36:52 +00:00
Claudio Sanches
a1462ccf26
Merge pull request #7198 from splashingpixels/theme-support-notice
...
fixed theme-support notice closes #7196
2015-01-23 14:32:51 -02:00
Claudio Sanches
71558c449f
Improved the WC_Tracker::get_theme_info() version compare
2015-01-23 14:29:10 -02:00
Claudio Sanches
b1c5e19d56
Improved the system status report script
2015-01-23 14:19:06 -02:00
splashingpixels
6c61bf8c4c
fixed theme-support notice closes #7196
2015-01-23 08:15:31 -08:00
Mike Jolley
a9103ad01a
Opt-in tracking: move link out of localisation
2015-01-23 15:37:53 +00:00
Gerhard
d09df4fc0f
Merge branch '6711-opt-in-tracking'
2015-01-23 17:31:01 +02:00
Gerhard
8610ca6aef
Merge branch 'master' into 6711-opt-in-tracking
...
Conflicts:
includes/admin/class-wc-admin-status.php
2015-01-23 17:30:11 +02:00
Gerhard
afca781480
Add link to tracking doc.
2015-01-23 17:15:55 +02:00
Scrutinizer Auto-Fixer
19f660171e
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-01-23 14:37:20 +00:00
Mike Jolley
7f2a943075
Docblocks
2015-01-23 14:35:17 +00:00
Mike Jolley
8db443799b
Remove void/access public docblocks
2015-01-23 14:01:00 +00:00
Mike Jolley
1163e2af0b
Leave session data alone before calculation #7182
2015-01-23 13:58:38 +00:00
Claudio Sanches
9f4e3ed409
Merge branch 'master' of github.com:woothemes/woocommerce
2015-01-23 11:49:00 -02:00
Claudio Sanches
f0c63b1fee
Restore all items from session, closes #7180
2015-01-23 11:48:49 -02:00
Mike Jolley
09ae877b96
defined check
2015-01-23 13:29:23 +00:00
Mike Jolley
2d707689d9
Add transient cache to webhooks Closes #7184
2015-01-23 13:28:30 +00:00
Mike Jolley
b289c9446c
WC_INSTALLING constant - don't create options for any gateways/shipping methods during install.
2015-01-23 13:05:38 +00:00
Claudio Sanches
517fe717dd
Fixed chmod
2015-01-23 10:59:41 -02:00
Claudio Sanches
da16c4ac29
Improved emogrifier emogrify()
2015-01-23 10:46:06 -02:00
Claudio Sanches
ea908283a3
Make emogrifier works with PHP 5.2, closes #7179
2015-01-23 10:41:15 -02:00
Mike Jolley
586025b17e
Ensure settings are installed for all sections and subsections
...
Fixes #7181
2015-01-23 12:36:22 +00:00
Mike Jolley
2584041700
wc_price enhancements
...
- Renamed some 2.3 methods for consistency
- Allow more args to be passed to wc_price to control output
- Filter wc_price args which Closes #7188
- wc_get_price_decimal_separator function
- wc_get_price_thousand_separator function
- wc_get_price_decimals function
2015-01-23 11:50:32 +00:00
Mike Jolley
186f223d92
Fix indents in #7174
2015-01-23 11:17:27 +00:00
Mike Jolley
69bf2afda9
Merge pull request #7174 from aelia-co/master
...
Added/altered product filters to make them work consistently
2015-01-23 11:16:27 +00:00
Mike Jolley
5695f514ed
get_session_data() check to see if user has session before getting option
...
Closes #7185
2015-01-23 11:14:30 +00:00
Mike Jolley
e8d47748ea
Session handler doc blocks
2015-01-23 11:14:30 +00:00
Gerhard
b4997a7da4
Update tracker notice message.
2015-01-23 12:27:19 +02:00
Gerhard
efb15ab1c4
Adjust user agent string
2015-01-23 09:15:16 +02:00
Gerhard
4e8b7327ca
Switch to https for encryption.
2015-01-23 09:13:07 +02:00
Claudio Sanches
eb68b1d688
[API] Fixed the products reviews ID type
2015-01-22 22:04:03 -02:00
Claudio Sanches
78fe840499
[API] Fixed the properties for save downloadable files in products endpoint #5942
2015-01-22 19:20:05 -02:00
Claudio Sanches
3561c63ec1
[API] Fixed the default_attributes name and prevent errors with the old param
2015-01-22 18:49:09 -02:00
Claudio Sanches
bfb5329a55
[API] Fixed the WC_API_Products::get_attribute_taxonomy_by_slug()
2015-01-22 18:38:39 -02:00
Claudio Sanches
ece4f00a71
[API] Prevent "PHP Notice: Trying to get property of non-object" errors
2015-01-22 17:22:21 -02:00
Diego Zanella
dbeeb6d7b5
Fixed bug in is_on_sale() method
2015-01-22 16:05:59 +00:00
Mike Jolley
6b39849be2
Functions: wc_price_decimal_separator, wc_price_thousand_separator with defaults.
...
Closes #7167
2015-01-22 16:05:47 +00:00
Claudio Sanches
1dafa5d3cd
[API] Fixed the download limit and expiry to accept empty string as unlimited/never value
2015-01-22 11:15:52 -02:00
Diego Zanella
04bf4fecd2
Added/altered product filters to make them work consistently
...
* WC_Product_Variable::get_variation_regular_price() now always calls the "woocommerce_get_variation_regular_price" filter (removed early exit).
* WC_Product_Variable::get_variation_sale_price() now always calls the "woocommerce_get_variation_sale_price" filter (removed early exit).
* WC_Product_Variable::is_on_sale() now calls the "woocommerce_product_is_on_sale" filter.
* WC_Product_Grouped::is_on_sale() now calls the "woocommerce_product_is_on_sale" filter.
2015-01-22 13:02:43 +00:00
James Koster
44fd8f69cf
child theme context. closes #7173
2015-01-22 10:36:15 +00:00
Claudio Sanches
bdf88d2323
[API] Allow edit the comment status in products endpoint using the reviews_allowed param
2015-01-21 21:09:08 -02:00
Claudio Sanches
ffbafbf652
Prevent errors in webhook log display
2015-01-21 14:25:33 -02:00
Mike Jolley
e3b360c138
Tweak to process_reset_password
2015-01-21 14:59:44 +00:00
Mike Jolley
204d1ae166
2 empties as PHP < 5.5 doens't like the join
2015-01-21 14:25:59 +00:00
Mike Jolley
064f2ebe17
Fix multiple product section in coupon section. Fixes #7170
2015-01-21 14:24:39 +00:00
Mike Jolley
10dac6fedd
process_lost_password/process_reset_password
2015-01-21 14:15:52 +00:00
Claudio Sanches
ec6039794a
[API] Fixed the datetime format for WC_API_Customers::get_customer_downloads()
2015-01-21 10:38:33 -02:00
Claudio Sanches
de4d70d16a
Fixed the product_id type in wc_get_customer_available_downloads()
2015-01-21 10:21:42 -02:00
Claudio Sanches
5a8ecf3947
Merge pull request #7168 from woothemes/utm-links
...
Storefront Notice Fixes
2015-01-21 09:10:20 -02:00
Mike Jolley
59b902b50d
Refactor menu_highlight
2015-01-21 11:06:55 +00:00
Gerhard
d2b6673eef
Add utm params to the storefront link
2015-01-21 07:33:22 +02:00
Gerhard
07d728f851
Link to storefront and not hightwind in theme search.
2015-01-21 07:25:01 +02:00
Claudio Sanches
4e2ae38233
[API] Fixed the expiry date when create a new coupon
2015-01-20 17:57:27 -02:00
Claudio Sanches
183d6ce62c
[API] Fixed create coupon attributes
2015-01-20 17:03:21 -02:00
Mike Jolley
51c6f7f670
Clean up process_registration()
2015-01-20 16:05:08 +00:00
Mike Jolley
2d8f021cc7
Optimise the admin notices class.
...
@claudiosmweb
2015-01-20 15:23:34 +00:00
Mike Jolley
91de767442
Product constructor setting post incorrectly
2015-01-20 14:00:30 +00:00
Mike Jolley
22f68af061
These should be arrays
2015-01-20 13:50:25 +00:00
Mike Jolley
5404006b29
MAP Url method
2015-01-20 13:31:02 +00:00
Mike Jolley
de4129f9b2
WP_POST docs
2015-01-20 13:20:22 +00:00
Mike Jolley
5ab35bf212
Protected variables
2015-01-20 13:01:19 +00:00
Mike Jolley
baea8f9ad4
Product class properties
2015-01-20 13:00:56 +00:00
Mike Jolley
803066d6a6
There is no content_type
2015-01-20 12:49:09 +00:00
Mike Jolley
b941636068
Deprecate unused and pointless get_billing_address() get_shipping_address() methods
...
@claudiosmweb
2015-01-20 12:39:21 +00:00
Mike Jolley
df66e0bcc8
Docblocks and code fixes in order class
2015-01-20 12:34:40 +00:00