Commit Graph

11820 Commits

Author SHA1 Message Date
Mike Jolley bf6c39fbf2 Use wc_float_to_string on item prices sent to paypal
Fixes #15872
2017-06-30 10:28:21 +01:00
Mike Jolley 277ccf0ad7 Merge pull request #15677 from ughimire/no-std
Tweak - Added remove icon on my account page dropdown of account page
2017-06-29 22:55:10 +01:00
Mike Jolley 3aa406fdf6 Merge pull request #15875 from woocommerce/fix/15873
Add important line of code back into structured data generation.
2017-06-29 22:53:55 +01:00
Mike Jolley 4f66d214fa Merge pull request #15829 from woocommerce/fix/15725
Use type check in coupon constructor
2017-06-29 22:42:43 +01:00
Mike Jolley 3bfd2bab48 Prevent extra slashes on meta values
by_mid functions do not expect slashes

Fixes #15868
2017-06-29 22:41:11 +01:00
claudiulodro 6706da6d45 Move to prevent undefined errors 2017-06-29 11:46:30 -07:00
claudiulodro 0db60b56c9 Re-add removed line. 2017-06-29 11:43:30 -07:00
Claudiu Lodromanean 62800a68f9 Merge pull request #15862 from woocommerce/fix/exclude-comment-where
Comment feed where clauses should be appended
2017-06-29 11:23:08 -07:00
claudiulodro 587dc56d9a Formatting 2017-06-29 11:16:26 -07:00
claudiulodro 2948e46cb4 Add tool for adding address indexes. 2017-06-29 11:14:09 -07:00
Mike Jolley ac32384a74 Merge pull request #15835 from woocommerce/display-wc-page-post-states
Add post states for WC pages
2017-06-29 12:42:10 +01:00
Mike Jolley ad48fd8069 Comment feed where clauses should be appended
Applies to both exclude_order_comments_from_feed_where and
exclude_webhook_comments_from_feed_where

They need to append the additonal where clause to avoid SQL errors on
the feed URL.
2017-06-29 11:29:54 +01:00
claudiulodro d19de0364c Revert "Add billing+shipping indices to old orders"
This reverts commit 2d48099f20.
2017-06-28 13:40:55 -07:00
claudiulodro 2d48099f20 Add billing+shipping indices to old orders 2017-06-28 12:03:18 -07:00
Claudio Sanches 6228e356b1 Merge pull request #15842 from woocommerce/fix/15840
Skip non existing rows on merge
2017-06-28 11:19:21 -03:00
Claudio Sanches 41cd12c123 Merge pull request #15844 from woocommerce/update/15839
Update MX states and MX state data
2017-06-28 11:14:48 -03:00
Claudio Sanches 70ae880f29 Merge pull request #15843 from woocommerce/fix/15834
Force date created on update if not set.
2017-06-28 11:11:40 -03:00
Mike Jolley 429e4bfed1 Merge pull request #15837 from thenbrent/revert_pr_14706
Revert pull request #14706 with changes to Abstract_WC_Order::get_item() to avoid critical fatal errors
2017-06-28 13:31:57 +01:00
Mike Jolley b83f3cb9af handle MX state updates 2017-06-28 12:57:37 +01:00
Mike Jolley 49f2dae450 Merge pull request #15823 from ChaseWiseman/fix-checkout-shipping-calculator
Don't output the shipping calculator markup on the Checkout page
2017-06-28 12:30:47 +01:00
Mike Jolley 8dcbf9aa8d Force date created on update if not set.
Closes #15834
2017-06-28 12:25:23 +01:00
Mike Jolley e937047d04 Skip non existing rows on merge 2017-06-28 12:06:33 +01:00
Brent Shepherd 1992d90d37 Revert "Merge pull request #14706 from crodas/make_get_item_consistent"
This reverts commit 56ffa3d2aa, reversing
changes made to 64a60de24f.
2017-06-27 22:28:23 -07:00
Caleb Burks 029c28a462 Fix copy/paste fail 2017-06-27 23:55:14 -05:00
Caleb Burks 290a90c8f8 Add post states for WC pages 2017-06-27 23:38:09 -05:00
claudiulodro 506c01f56a Fix codesniffer violations 2017-06-27 14:19:59 -07:00
claudiulodro 4e7d3333cf Use type check in coupon constructor 2017-06-27 13:53:56 -07:00
Claudio Sanches b9c76c568b Prefer "live rates form" 2017-06-27 17:00:48 -03:00
Claudio Sanches a0425ad1b9 Remove Canada Post duplicated description
Duplicated with description from
includes/admin/class-wc-admin-setup-wizard.php:506
2017-06-27 16:57:46 -03:00
Chase Wiseman f8a040ad04 Only output the shipping calculator markup on the cart page 2017-06-27 11:37:55 -07:00
Claudio Sanches 5bc03b41cf Redirect ?customer-logout=true to the correct endpoint
Checking also for `'true' === $wp->query_vars['customer-logout']` to avoid infite loops when permalinks are deactivated and "My account" is the front page.

Closes #15789
2017-06-27 14:10:20 -03:00
Claudio Sanches be0fc10bfe Merge pull request #15817 from woocommerce/fix/15795
Only set default if no value is set in API settings
2017-06-27 13:05:58 -03:00
Claudio Sanches fe542d4d4e Merge pull request #15816 from woocommerce/fix/15808
Add slashes to meta value in data store before passing to WP functions
2017-06-27 13:03:13 -03:00
Claudio Sanches fbd92c8105 Merge pull request #15815 from woocommerce/fix/15794
Prevent duplicate sections in tax and api endpoints
2017-06-27 13:01:05 -03:00
Claudiu Lodromanean 5bbe82571f Merge pull request #15814 from woocommerce/fix/15804
Fix notice and missing terms in importer
2017-06-27 08:45:52 -07:00
Mike Jolley afcfb4eb35 Only set default if no value is set in API settings 2017-06-27 15:29:31 +01:00
Mike Jolley d568069c37 Add slashes to meta value in data store before passing to WP functions
Fixes #15808
2017-06-27 15:11:32 +01:00
Mike Jolley 33a4e74697 Prevent duplicate sections in tax and api endpoints 2017-06-27 14:58:33 +01:00
Mike Jolley 26b98bc3df Fix notice and return correct attribute ID 2017-06-27 14:39:30 +01:00
Mike Jolley 591cac37d1 Increased batch size 2017-06-27 14:39:18 +01:00
Daniel Hüsken d6377c9609 will improve #15806 2017-06-27 14:43:51 +02:00
Daniel Hüsken 84881c3e36 Importer fix file type detection on local path 2017-06-27 14:21:05 +02:00
Manos Psychogyiopoulos c8e166f706 Add woocommerce_product_importer_formatting_callbacks filter 2017-06-27 01:49:18 +03:00
Manos Psychogyiopoulos 7778bf894e Allow DRY product importer integration 2017-06-26 23:49:48 +03:00
Claudiu Lodromanean a05252753f Merge pull request #15790 from woocommerce/fix/15781-2
Remove BOM signature from imported results
2017-06-26 12:49:59 -07:00
Claudio Sanches ec1500d1b7 Remove BOM signature from imported results
Fix missing mapping for ID column
2017-06-26 16:08:05 -03:00
Claudio Sanches ab9c331a8d Merge pull request #15785 from woocommerce/fix/15781
Importer tweaks and fixes
2017-06-26 16:07:19 -03:00
Mike Jolley afd43b3b78 Look for mapped ID when parsing ID field 2017-06-26 18:41:51 +01:00
Claudio Sanches 1fb11d0be7 Merge pull request #15783 from woocommerce/fix/15770
After duplicating variations, ensure the duplicated object is current
2017-06-26 13:41:17 -03:00
Mike Jolley 496b741d1c Create placeholder when mapping relative ids 2017-06-26 17:40:20 +01:00
Mike Jolley 04a27389ef Clean up failed imports 2017-06-26 14:11:27 +01:00
Mike Jolley a907fd8627 get_catalog_ordering_args should cast orderby to string
Fixes #15769
2017-06-26 13:38:57 +01:00
Mike Jolley 372d7f6077 After duplicating variations, ensure the duplicated object is current
Fixes #15770
2017-06-26 12:54:46 +01:00
Mike Jolley 4972e83e51 Merge pull request #15775 from dixitadusara/issue/15772
issue solved Pass more params to woocommerce_duplicate_product_exclude_children filter
2017-06-26 12:24:37 +01:00
dixitadusara f77d2184ca issue solved Pass more params to woocommerce_duplicate_product_exclude_children filter 2017-06-26 12:34:20 +05:30
Claudio Sanches 783f2318c4 Fixed undefined variable for importer default mapping 2017-06-23 15:33:37 -03:00
Mike Jolley 5c2a69c668 Add BOM for excel 2017-06-23 17:19:50 +01:00
Mike Jolley 13d7be2422 Merge pull request #15755 from woocommerce/fix/15754
Fix method title escaping in zones
2017-06-23 16:17:54 +01:00
Mike Jolley 1d9148241c Merge pull request #15751 from woocommerce/feature/helper
Helper copy update
2017-06-23 16:17:24 +01:00
Mike Jolley 43dc9ec823 Fix method title escaping in zones
Closes #15754
2017-06-23 12:50:32 +01:00
José Marques 22da32bd9c Helper: removes unnecessary caps in copy 2017-06-23 12:49:05 +01:00
José Marques f0f6495dc5 Helper: updates conpy and button class on connection screen 2017-06-23 09:29:20 +01:00
Claudio Sanches 25a2ee0ca8 Use default English mapping when English is not the current language 2017-06-22 18:07:12 -03:00
Claudio Sanches 1806590e71 Invert special importer mapping options to allow multiple keys 2017-06-22 18:06:10 -03:00
claudiulodro 7bb5dffc2f Flip param count and priority 2017-06-22 09:10:52 -07:00
Claudiu Lodromanean 5ebc4a4010 Merge pull request #15740 from woocommerce/update/prime-term-caches
Update/prime term caches for product queries
2017-06-22 08:18:55 -07:00
Mike Jolley d1ad5a92d2 Merge pull request #15721 from woocommerce/feature/helper
Helper Bug Fixes
2017-06-22 16:17:56 +01:00
Claudiu Lodromanean a77a7c02c0 Merge pull request #15739 from woocommerce/fix/importer-15735
Minor importer fixes
2017-06-22 08:11:15 -07:00
Konstantin Kovshenin 29c000207a Helper: Escape sites_active and sites_max on subscription output. 2017-06-22 17:17:49 +03:00
Konstantin Kovshenin 45a6c45b8f Helper: Better code readability for primary/secondary classes. 2017-06-22 16:59:39 +03:00
Konstantin Kovshenin 0786c31d15 Helper: Escape `master_user_email` on output. 2017-06-22 16:49:10 +03:00
Konstantin Kovshenin 0cd10a12ef Helper: Move subscription sorting into methods for PHP 5.2 compat. 2017-06-22 16:47:07 +03:00
Mike Jolley 67bc729ea5 update_post_caches for all posts at once 2017-06-22 13:39:17 +01:00
Mike Jolley ccc3da9c17 Merge branch 'pr/15728' 2017-06-22 12:19:49 +01:00
Mike Jolley 8f70ebc1b5 woocommerce_product_importer_before_set_parsed_data 2017-06-22 12:19:19 +01:00
Mike Jolley 74cb2965b3 Ensure we have a parent
Fixes #15737
2017-06-22 12:06:10 +01:00
Gerhard Potgieter b15e576f5b Use !empty instead of isset for checking master_user_email 2017-06-22 11:10:33 +02:00
Konstantin Kovshenin 4cb1c8f7ce Helper: Add missing period at the end of a sentence. 2017-06-22 11:28:28 +03:00
Konstantin Kovshenin 74da37890f Helper: Fix undefined notices on button label and URL. 2017-06-22 11:26:26 +03:00
Claudio Sanches 8deca3b368 Merge pull request #15718 from woocommerce/update/noindex-cart
Disable search engines indexing core, dynamic, cart/checkout pages.
2017-06-21 16:35:26 -03:00
claudiulodro fcd5460ec0 Check filetype in CSV upload 2017-06-21 11:50:03 -07:00
Claudiu Lodromanean 69d3234907 Merge pull request #15717 from woocommerce/fix/15715
Exclude sale products from category checks in coupon class
2017-06-21 11:00:01 -07:00
Mike Jolley e06aa6f60a Prime term cache before read 2017-06-21 17:09:39 +01:00
Konstantin Kovshenin 5b7070d2ea Helper: Sort subscriptions by name. 2017-06-21 18:43:19 +03:00
Konstantin Kovshenin e67babf77a Helper: Fix download button class for expiring subscriptions. 2017-06-21 18:15:45 +03:00
Gerhard Potgieter 6d3e3fd5e5 Merge branch 'feature/helper' of github.com:woocommerce/woocommerce into feature/helper 2017-06-21 16:58:26 +02:00
Gerhard Potgieter e08df8d2aa Adjust messaging and display information for collaborator accounts on woocommerce.com subscription page. 2017-06-21 16:57:16 +02:00
Konstantin Kovshenin 346b446283 Helper: Fix label for maxed out subscriptions. 2017-06-21 17:50:34 +03:00
Frédéric Demarle d563842126 CSV Importer: Add action before a row is parsed 2017-06-21 16:49:21 +02:00
Konstantin Kovshenin 41ea3f3f43 Helper: Pass a migrate flag if migrating during token exchange 2017-06-21 16:23:57 +03:00
Konstantin Kovshenin 16f2541e9b Helper: Set helper compat screen slug to woothemes-helper.
Previously the helper compat screen used a different slug, but
since updates can be done without refreshing the screen via AJAX
the old menu item doesn't disappear until a full refresh. This fix
allows users to navigate to that same menu item and not get an
error.
2017-06-21 15:28:30 +03:00
Mike Jolley dbe9705e4b Disable search engines indexing core, dynamic, cart/checkout pages. 2017-06-21 12:52:52 +01:00
Mike Jolley 5ffff712e7 Merge pull request #15705 from woocommerce/update/cache-helper
Compare page IDs rather than URIs in the cache helper
2017-06-21 12:11:16 +01:00
Mike Jolley 31fccea25c Exclude sale products from category checks in coupon class
Fixes #15715
2017-06-21 11:55:12 +01:00
Caleb Burks f13c4c3b30 Hide Cross-sells for external products 2017-06-20 20:56:54 -05:00
Claudiu Lodromanean aab401c8f8 Merge pull request #15703 from woocommerce/fix/15689
Filter out non-visible products when outputting grouped products + prices
2017-06-20 14:50:50 -07:00
Claudiu Lodromanean 9399a8dca2 Merge pull request #15702 from woocommerce/fix/15697
Correctly map attribute labels to names
2017-06-20 14:46:45 -07:00
Mike Jolley 91511bd92a Merge pull request #15631 from woocommerce/update/13738
Create a way to 'resend order details'
2017-06-20 15:09:10 +01:00
Mike Jolley e4be09f6e2 Filter visible children when outputting grouped product prices 2017-06-20 15:01:23 +01:00
Mike Jolley 98684233dc Filter visible children when outputting grouped products 2017-06-20 15:01:14 +01:00