Commit Graph

10753 Commits

Author SHA1 Message Date
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 64775e92f1 Someone forgot to bump the version 2015-01-28 19:46: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
Claudio Sanches 385b39a0e5 Merge pull request #7231 from thenbrent/fix_paypal_identify_token
[2.3] Fix "Undefined variable: identity_token"
2015-01-28 17:09:53 -02: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 74e44b55c7 Revert plugins_loaded idea (@725d5e2) until 2.4 so devs can be warned. #blameclaudio
Keeping the methods and small tidyup.
2015-01-28 18:01:30 +00: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
Mike Jolley b2c573ed8a Rather than include all files on construct, include files after plugins_loaded
This ensures functions intended to be pluggable actually are, and
prevents race conditions. Seen some authors mess with the plugin load
order to work around this and it’s horrible.

This hook has priority 5 to ensure existing plugins using WC
functionality on plugins_loaded do not break.

cc @claudiosmweb @barrykooij
2015-01-28 17:15:48 +00:00
Claudio Sanches d4ce1a5ebd Merge branch 'master' of github.com:woothemes/woocommerce 2015-01-28 15:10:43 -02: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
James Koster 4026e37b34 variation and cart totals table borders. closes #7223 2015-01-28 12:58:04 +00:00
Claudio Sanches 7bc853c452 Merge pull request #7224 from thenbrent/fix_session_expired_notice
[2.3] Fix session expired notice on checkout
2015-01-27 21:34:16 -02:00
Brent Shepherd 3a1dc68ff9 Fix typo 2015-01-27 14:42:36 -08:00
Claudio Sanches 56d40dcf55 Fixed conflits 2015-01-27 20:16:36 -02:00
Claudio Sanches f4c64c12c7 Updated scripts 2015-01-27 20:15:49 -02: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 d5cc80b813 select2 admin styling tweaks 2015-01-27 13:58:03 +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 fa8d0948a7 Merge pull request #7218 from aplatform/coupon-fix
Typo in checkout.js
2015-01-27 09:33:10 -02:00
Jack Gregory acfc4f5b55 Typo in assets/js/frontend/checkout.js:437 2015-01-27 09:22:38 +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 875f5e9de5 Select2 line height in panels 2015-01-26 15:34:48 +00:00
Mike Jolley 0f5c6c4219 Add error handler/debug info in checkout ajax #7176 2015-01-26 14:24:03 +00:00
Claudio Sanches 0c84f92249 Translate files updated to beta-2 2015-01-26 11:23:54 -02: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
Mike Jolley 07c863e6dd Merge branch 'thenbrent-shop_table_responsive_border' 2015-01-26 11:34:08 +00:00
Mike Jolley a281b1b191 Min 2015-01-26 11:33:27 +00:00
Mike Jolley bee9c6f6ef Merge pull request #7202 from findingsimple/master
Allow devs to filter is_checkout()
2015-01-26 11:28:32 +00:00
James Koster 192ba893cc twenty fifteen fixes. closes #7195 2015-01-26 11:06:31 +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
Brent Shepherd 4a0ac77d59 Show border above first row of shop table
Especially important for the first row of the new responsive table (#5121)
2015-01-23 12:34:51 -08:00
Claudio Sanches b61cd62a07 Fixed docblocks for WooCommerce::is_request() 2015-01-23 16:39:49 -02: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