Commit Graph

503 Commits

Author SHA1 Message Date
Mike Jolley 4df54b4e53 Merge branch 'master' 2018-06-07 11:24:12 +01:00
Claudio Sanches 09f7425fea Just use exit() in AJAX endpoints used to redirect users 2018-05-23 10:50:49 -03:00
Mike Jolley be63fb152a Preview checkout without dummy product 2018-05-22 11:19:09 +01:00
Mike Jolley 1ff5520512 Pass through JSON context when getting zones for JSON responses and scripts 2018-05-09 17:41:33 +01:00
Claudiu Lodromanean 305167efba
Merge pull request #19933 from franticpsyx/deprecate-woocommerce_ajax_added_order_items
[3.4] Deprecate woocommerce_ajax_added_order_items action
2018-05-03 08:03:55 -07:00
Mike Jolley 06ef8c8589 Hook doc update 2018-05-02 14:28:53 +01:00
Manos Psychogyiopoulos 1895bbe3f3 Deprecate woocommerce_ajax_added_order_items action 2018-05-02 14:49:24 +03:00
Mike Jolley bd539e38f0 Remove output buffering 2018-04-19 18:27:29 +01:00
Khan M Rashedun-Naby 74c2ceb3d1 Removed unnecessary variable. 2018-04-17 00:09:30 +06:00
Mike Jolley 1b34cd4745 Moved settings tabs around to allow for privacy page. 2018-04-12 16:59:42 +01:00
Mike Jolley 47fbd79d8f Clear shipping transient when saving shipping method on zones screen 2018-04-10 12:25:09 +01:00
Mike Jolley 04eadf13ac Merge branch 'master' into update/18894 2018-03-08 13:08:40 +00:00
Mike Jolley f3ab50d962
Merge pull request #19135 from Chouby/ajax_wp_die
Replace exit by calls to wp_die() in ajax responses
2018-02-27 19:09:41 +00:00
Mike Jolley e1beda3eb0 Use relative scheme for ajax endpoint 2018-02-26 18:51:46 +00:00
Frédéric Demarle b2f59b0da5 Replace exit by calls to wp_die() in ajax responses 2018-02-26 18:27:25 +01:00
Mike Jolley f8edd02285 phpcbf auto fixes 2018-02-22 15:37:01 +00:00
Mike Jolley 9571a90c9f phpcs 2018-02-22 14:30:13 +00:00
Mike Jolley 0f85e00af1 Product search functions should check for read access, not edit access 2018-02-22 14:11:27 +00:00
Claudio Sanches fe83dfdba7 Merge branch 'master' into fix/18545 2018-02-21 19:15:45 -03:00
Mike Jolley 6f855c781f Fix response/ajax handling for #18080 2018-02-19 14:56:30 +00:00
Mike Jolley 5fce9152bd
Merge pull request #18080 from WPprodigy/fix-stock-update-order-notes
Enhancements for stock updates
2018-02-19 14:51:05 +00:00
Mike Jolley 3ce51d9791 JSON context 2018-01-22 14:11:43 +00:00
Gerhard Potgieter 8e6afdfdc7 Fix indentation 2018-01-19 09:57:27 +02:00
Gerhard Potgieter b495e803e8 Reworks the ajax user lookup so it caters for numeric usernames without affecting performance of lookups by ID. 2018-01-19 09:52:05 +02:00
Mike Jolley a110180643 Saving taxes should invalidate caches. 2018-01-18 17:47:26 +00:00
claudiulodro cdad70a6b1 Safety first 2018-01-03 13:40:51 -08:00
claudiulodro afdc737ec5 Ajax add to cart button shortcode fix for variations 2018-01-03 13:38:06 -08:00
Caleb Burks 457e60d253 Allow for multiple stock updates at once 2017-12-09 22:22:41 -06:00
Caleb Burks 4f187a0840 Ajaxify the order note addition 2017-12-09 00:32:35 -06:00
Caleb Burks 2237c35912 Set $added_by_user to true
These stock updates are done manually
2017-12-08 22:33:09 -06:00
Caleb Burks e88ef38a76 Standardize stock update messages
Essentially just use get_formatted_name(), that way the product name appears along with either the sku or ID
2017-12-08 22:29:01 -06:00
Mike Jolley 0a9485c465 Merge branch 'master' into feature/11259
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
#	includes/admin/list-tables/class-wc-admin-list-table-products.php
#	includes/class-wc-install.php
#	includes/wc-update-functions.php
2017-12-04 14:14:03 +00:00
Mike Jolley 5d42a64b73 Merge branch 'master' into update/order-screen-refinements 2017-12-04 13:44:27 +00:00
Mike Jolley 85cd9647df
Merge pull request #17871 from ragulka/delete-refund-on-exception
Ensure refund is deleted when exception is thrown during wc_create_refund()
2017-11-23 13:06:40 +00:00
claudiulodro 5513dc4546 Update with master 2017-11-22 11:02:14 -08:00
Mike Jolley 3773b81bc9 Merge branch 'master' into update/order-screen-refinements
# Conflicts:
#	includes/admin/meta-boxes/views/html-order-item.php
2017-11-22 16:32:34 +00:00
ragulka 4f2e1ee8d4 Ensure refund is deleted when exception is thrown during wc_create_refund 2017-11-22 17:03:58 +01:00
Ahmed Ali d8050f99b1 fixing typo replace add to cart to be remove from cart 2017-11-22 14:33:21 +02:00
Mike Jolley 98bebd14f2 Hooks for columns and preview list tables 2017-11-21 16:22:43 +00:00
Mike Jolley 830ef8ed73 Change status action buttons 2017-11-20 22:43:37 +00:00
claudiulodro a73436bdcd Merge remote-tracking branch 'origin/master' into HEAD 2017-11-20 14:43:12 -08:00
Claudiu Lodromanean 106e6533f2
Merge pull request #17781 from woocommerce/fix/17629
When populating defaults, sanitize
2017-11-18 13:40:40 -08:00
Mike Jolley a765367dd5
Merge pull request #17747 from woocommerce/feature/allow-add-content-to-order-preview
Introduce hooks to allow custom content into order preview
2017-11-18 18:26:08 +00:00
Mike Jolley 8a2050e066 When populating defaults, sanitize
part of #17775

Caused by https://github.com/woocommerce/woocommerce/pull/17629/files
leaving attribute names uppercase.
2017-11-18 13:55:26 +00:00
Mike Jolley 72e078e83e Merge branch 'fix/17236'
# Conflicts:
#	includes/class-woocommerce.php
2017-11-17 12:49:02 +00:00
Claudio Sanches 563896931e Introduced hooks to allow custom content into order preview 2017-11-16 18:48:47 -02:00
claudiulodro 0390cf3e26 Bring up-to-date with master 2017-11-16 10:06:07 -08:00
Akeda Bagus 6572ee7852
Added missing meta info (author and date) when adding order note.
Fixes #17717.
2017-11-16 02:03:07 +07:00
Mike Jolley 128b826791 Merge branch 'master' into tweak/order-screens
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
#	includes/admin/class-wc-admin-post-types.php
2017-11-15 13:36:13 +00:00
Mike Jolley dea454c88e Clickable elements 2017-11-15 12:51:14 +00:00