Commit Graph

21014 Commits

Author SHA1 Message Date
Mike Jolley 4edcdd0fb1 Merge pull request #13792 from woocommerce/fix-13763
Update notice to protect against calls before post type registration
2017-03-28 13:32:52 +01:00
Mike Jolley 45ab4733d5 sync before test 2017-03-28 12:51:32 +01:00
Mike Jolley b3198d2546 woocommerce_after_register_post_type action 2017-03-28 12:37:17 +01:00
Mike Jolley b35e4c0cf9 Load values only when not-empty/set
Closes #13785
2017-03-28 12:30:04 +01:00
Mike Jolley f50254be28 Update notice to protect against calls before post type registration
Closes #13763
2017-03-28 12:03:09 +01:00
Mike Jolley 129293ab6f Remove array filter
No args should be null/not set since all args defined by WC have values.

Closes #13786
2017-03-28 11:49:27 +01:00
Mike Jolley 1a73034cf6 Merge pull request #13783 from woocommerce/fix-13771
Fix child_has_dimensions
2017-03-28 10:46:11 +01:00
Mike Jolley 9576ec6431 Merge pull request #13781 from woocommerce/fix-13775
Change zoom mode on touch devices
2017-03-28 10:42:32 +01:00
Claudiu Lodromanean 89128da8ba Fix child_has_dimensions 2017-03-27 11:52:03 -07:00
Mike Jolley 13903220f7 Merge pull request #13779 from woocommerce/fix-13777
Net sales fix
2017-03-27 18:19:45 +01:00
Mike Jolley e614d9d5e3 Merge pull request #13778 from woocommerce/fix-13770
Install terms prior to update
2017-03-27 18:18:02 +01:00
Mike Jolley 57f733388c Unused variable 2017-03-27 17:32:00 +01:00
Mike Jolley be45bffd45 ignore duplicates 2017-03-27 17:27:42 +01:00
Mike Jolley 673aa5f5bb Change zoom mode on touch devices
Fixes #13775
2017-03-27 17:10:21 +01:00
Mike Jolley 7202ebdb4a Remove shipping from net sales
Fixes #13777
2017-03-27 12:18:09 +01:00
Mike Jolley 9260babfba Fix end date when no date is set 2017-03-27 12:11:08 +01:00
Mike Jolley 6f3d0c1c11 Install terms prior to update
Closes #13770
2017-03-27 11:55:36 +01:00
Cesar Rodas f2f6d76f6d Do not update woocommerce_order_items if nothing changed
Do not update the item (`woocommerce_order_items`) unless something changed.
2017-03-25 00:30:12 -03:00
Claudio Sanches 3946654b29 Fixed author of uninstall.php 2017-03-24 13:51:27 -03:00
Mike Jolley 1bc194945f Version bump and POT 2017-03-24 15:11:55 +00:00
Mike Jolley 01408ddda6 Fixed api tests 2017-03-24 15:11:21 +00:00
Mike Jolley 5ceef2cdd5 Check we have a product object. 2017-03-24 15:02:51 +00:00
Claudio Sanches 9983b005a6 Merge pull request #13766 from woocommerce/fix-13722
Settings API fixes
2017-03-24 11:24:28 -03:00
Claudio Sanches eb0f9656c2 Merge pull request #13765 from woocommerce/fix-13752
Cast values to float
2017-03-24 11:18:03 -03:00
Claudio Sanches 1147c4f5b3 Merge pull request #13764 from woocommerce/fix-13750
Support (not really) relative paths
2017-03-24 11:16:48 -03:00
Mike Jolley ca8fafdd36 Hide enabled/description 2017-03-24 13:27:47 +00:00
Mike Jolley 53a7d54253 Update settings once 2017-03-24 13:22:09 +00:00
pierrebuet 32f8142c91 Fixes #13748 2017-03-24 12:13:00 +00:00
Mike Jolley 7857fbe41f Cast values to float
Fixes #13752
2017-03-24 12:05:28 +00:00
Mike Jolley 3683950cca Merge pull request #13762 from franticpsyx/stripslashes-of-posted-att-values-with-quotes
[3.0] Strip slashes of posted variation attribute values
2017-03-24 11:55:59 +00:00
Mike Jolley 7fd2f4f554 Support (not really) relative paths
Fixes #13750
2017-03-24 11:48:32 +00:00
Mike Jolley 819448daf5 Fix unit test 2017-03-24 11:35:54 +00:00
Mike Jolley 8b4ce8460a Merge pull request #13757 from woocommerce/fix/rest-api/shipping-zones-methods-schema
[REST API] Properly handle required items of shipping zone methods
2017-03-24 10:39:23 +00:00
Mike Jolley 9af295d618 Merge pull request #13753 from woocommerce/fix/rest-api-shipping-zones-schema
[REST API] Fixed shipping zones schema
2017-03-24 10:38:51 +00:00
Mike Jolley a9f3f9b82c Merge pull request #13758 from woocommerce/fix/rest-api-system-status-schema
[REST API] System status schema fixes
2017-03-24 10:34:11 +00:00
Mike Jolley af8e892f97 Merge pull request #13759 from woocommerce/fix/rest-api-settings-links
[REST API] Fixed links of settings endpoint
2017-03-24 10:33:16 +00:00
Mike Jolley 803786ceeb Merge pull request #13755 from woocommerce/fix/shipping-zone-locations-schema
[REST API] Fixed shipping zone locations schema
2017-03-24 10:27:52 +00:00
Mike Jolley 285a49b7e0 Merge pull request #13747 from woocommerce/fix/rest-api-settings-schema
[REST API] Fixed settings schema.
2017-03-24 10:26:59 +00:00
Mike Jolley 5cb3b9e0ea Merge pull request #13751 from woocommerce/fix/rest-api-setting-options-rest-base
[REST API] Fix setting options rest base
2017-03-24 10:26:22 +00:00
Mike Jolley 0ad1f6a63f Merge pull request #13709 from woocommerce/fix-13708
Timezone/DST fixes
2017-03-24 10:25:08 +00:00
Manos Psychogyiopoulos eb43190e1e Stripslashes of posted variation attribute values
Resolves issues with values that contain quotes, for instance.
2017-03-24 12:00:46 +02:00
Manos Psychogyiopoulos 24a2ff1960 Add woocommerce_add_to_cart_sold_individually_found_in_cart hook
Makes it easy for 3p code to change the condition that identifies whether a "sold individually" product is in the cart. For example, 3p code may use this hook to identify whether a product with the same ID already exists in the cart (instead of relying on finding the same hash/key).
2017-03-24 10:41:27 +02:00
Claudio Sanches 7381b008e0 [REST API] Fixed links for settings endpoint
Do not allow embed and updated the key to reflect the items from the endpoint response
2017-03-24 01:56:50 -03:00
Claudio Sanches 00b9f636a8 Fixed description of items in system status schema 2017-03-24 00:48:41 -03:00
Claudio Sanches bfbd45cf85 [REST API] System status schema items are all view context only 2017-03-24 00:43:46 -03:00
Claudio Sanches 5cc246b5cb [REST API] All items from system status endpoint should be readonly 2017-03-24 00:41:39 -03:00
Claudio Sanches 3ca1d946d9 [REST API] Properly handle required items of shipping zone methods 2017-03-23 22:19:16 -03:00
Claudio Sanches 7a671ab8a5 [REST API] Fixed shipping zone locations schema
This also fix improper sanitization and validation of the items.
2017-03-23 21:44:46 -03:00
Claudio Sanches c369cdc8bd Fixed shipping zones schema unit tests 2017-03-23 20:56:41 -03:00
Claudio Sanches 8f3f313eff Fixed coding standards 2017-03-23 20:56:02 -03:00