Commit Graph

17833 Commits

Author SHA1 Message Date
Gabor Javorszky 219480b329 Save the version on the property too 2016-08-31 16:21:17 +01:00
Mike Jolley 8624156144 Merge pull request #11802 from corsonr/issue_11801
Fixes #11801
2016-08-31 15:50:32 +01:00
Mike Jolley 19f051c7ff Merge branch 'master' into customer-exceptions 2016-08-31 15:45:27 +01:00
Mike Jolley d9a0d0988b Handle meta data and fix unit tests 2016-08-31 15:43:34 +01:00
Mike Jolley 1595cc5767 remove changed 2016-08-31 13:25:13 +01:00
Gabor Javorszky 9cfa231167 Fixes reset cache and version assignment for variable product prices
Fixes #11812

$this->array was only used to return to the user. Comparison was done with $prices_array, which did not contain the version information because it was never saved in the transient.
2016-08-31 11:12:49 +01:00
Mike Jolley 335a5e262a use switch in read_manual_coupon 2016-08-30 18:58:28 +01:00
Mike Jolley 62d0619b1a Avoid legacy keys 2016-08-30 18:03:00 +01:00
Mike Jolley 7439f6d79f Use set_props 2016-08-30 17:59:41 +01:00
Mike Jolley 047242515d Make API and CRUD use consistent keys and make use of data 2016-08-30 17:50:35 +01:00
Mike Jolley b82415dfa3 Handle exceptions in API 2016-08-30 15:57:45 +01:00
Mike Jolley 9b805670d1 Exclude 5.3 2016-08-30 14:50:33 +01:00
Mike Jolley 1d7c8d8370 Handle read with set_props 2016-08-30 14:48:29 +01:00
Mike Jolley ee356d2f29 Add WC_Data_Exception 2016-08-30 14:34:58 +01:00
corsonr f5bc298bae Merge branch 'master' into issue_11801
solve branch sync issue
2016-08-30 14:57:22 +02:00
corsonr 2967b7763b Merge remote-tracking branch 'upstream/master'
fix branch sync issue
2016-08-30 14:48:03 +02:00
corsonr 18b1fe5c2c branch sync fix 2016-08-30 14:47:54 +02:00
corsonr 81ead1d282 sync branch fix 2016-08-30 14:46:08 +02:00
Mike Jolley 6fad572eb7 Attempt to stop travis error
cc @gedex
2016-08-30 13:37:39 +01:00
corsonr 512fea5841 Merge branch 'corsonr-issue_11801'
sync branch fix
2016-08-30 14:34:46 +02:00
corsonr 94eee2e6ee branch sync fix 2016-08-30 14:34:03 +02:00
corsonr 8cb17c1923 branch conflict fix 2016-08-30 14:30:05 +02:00
Mike Jolley c4c863ffb0 Merge pull request #11792 from WPprodigy/price-filter-fix
Cast as decimal when querying prices
2016-08-30 11:48:51 +01:00
Mike Jolley 499e190efb Merge pull request #11785 from woothemes/coupon-exceptions
Coupon Exceptions and REST/CRUD improvements
2016-08-30 11:44:19 +01:00
Mike Jolley df35845d4d wc_get_coupon_id_by_code 2016-08-30 11:43:53 +01:00
Claudio Sanches f54ada22ba Merge pull request #11796 from webmandesign/patch-1
Making sure `wc_get_screen_ids` function exists
2016-08-29 14:48:06 -03:00
Claudio Sanches 81dd58e7c1 Merge pull request #11805 from woothemes/fix/misc-api-issues
Add some missing API pieces (settings & shipping zone endpoints)
2016-08-29 14:25:38 -03:00
Justin Shreve de4296dd15 Add some missing API pieces:
* Value was missing from the settings schema (but was still present in the response).
* Added delete endpoint for shipping zones.
* Corrected permissions check/error for shipping zone methods.
2016-08-29 10:22:29 -07:00
corsonr f369600b1d Fixes #11801 2016-08-29 14:51:13 +02:00
opportus db8cb4cf15 improved structured data - fixes missused `@uses` docblock tags 2016-08-28 09:24:17 +02:00
opportus 2fd3e107ab improved structured data - branch update 2016-08-28 09:09:05 +02:00
Aristeides Stathopoulos d2d41437f8 Add exception for Generic.PHP.DeprecatedFunctions.Deprecated 2016-08-27 20:52:31 +03:00
Aristeides Stathopoulos cdf70bb953 don't run phpcs on the vendor folder. 2016-08-27 20:06:32 +03:00
Aristeides Stathopoulos 9bf8eb861c indentation 2016-08-27 19:53:46 +03:00
Aristeides Stathopoulos 7aa3a0fc9e move scripts 2016-08-27 19:52:45 +03:00
Oliver Juhas 9a0c283b10 Making sure `wc_get_screen_ids` function exists
This is a fix for issue #11795
2016-08-27 16:46:23 +02:00
Aristeides Stathopoulos 08250b9339 exclude vendor folder 2016-08-27 17:35:11 +03:00
Aristeides Stathopoulos c0b43e6370 attempt to run PHPCS on travis 2016-08-27 17:18:14 +03:00
Aristeides Stathopoulos 69e6b05205 typo fix 2016-08-27 17:10:12 +03:00
Aristeides Stathopoulos 1c2a67554b fix typo 2016-08-27 16:56:21 +03:00
Aristeides Stathopoulos 3267ce6522 WordPress.WhiteSpace.OperatorSpacing.SpacingBefore 2016-08-27 09:16:28 +03:00
Aristeides Stathopoulos 72696901f3 WordPress.WhiteSpace.OperatorSpacing.SpacingAfter 2016-08-27 09:14:06 +03:00
Aristeides Stathopoulos fb62d280b5 WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore 2016-08-27 09:07:42 +03:00
Aristeides Stathopoulos e69fafbda7 WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter 2016-08-27 09:06:22 +03:00
Caleb Burks 417d707996 Cast as decimal when querying prices 2016-08-27 01:03:06 -05:00
Aristeides Stathopoulos f2730eea02 WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd 2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos 7c589cf7e1 WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterCloseParenthesis 2016-08-27 07:53:52 +03:00
Aristeides Stathopoulos a19848978a WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis 2016-08-27 07:47:24 +03:00
Aristeides Stathopoulos dea39df779 WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis 2016-08-27 07:38:29 +03:00
Aristeides Stathopoulos 2101dae5a0 WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen 2016-08-27 07:35:04 +03:00