Claudio Sanches
be12e37e34
Fixed includes/wc-attribute-functions.php PHPCS violations
2018-03-07 10:58:37 -03:00
Claudio Sanches
b17440623e
Fixed includes/wc-account-functions.php PHPCS violations
2018-03-07 10:55:46 -03:00
Rodrigo Primo
3a76769859
PHPCS fixes in includes/log-handlers/class-wc-log-handler-file.php
2018-03-07 10:49:45 -03:00
Rodrigo Primo
3d93e5d545
PHPCS fixes in includes/log-handlers/class-wc-log-handler-email.php
2018-03-07 10:49:32 -03:00
Rodrigo Primo
2d4afdc1d8
PHPCS fixes in includes/log-handlers/class-wc-log-handler-db.php
2018-03-07 10:49:17 -03:00
Chunkford
5416c58f4e
Update class-wc-discounts.php
2018-03-07 13:36:43 +00:00
Rodrigo Primo
ea93fca4ff
Fix PHPCS violations in includes/log-handlers/ using phpcbf
2018-03-07 10:30:00 -03:00
Chunkford
732416ff34
Update wc-cart-functions.php
2018-03-07 13:21:23 +00:00
Chunkford
c411c43fdf
Update wc-core-functions.php
2018-03-07 13:14:59 +00:00
Mike Jolley
6d76cb71fd
Introduce woocommerce_product_loop helper
2018-03-07 12:54:00 +00:00
Mike Jolley
fdab6665c0
Merge pull request #19200 from woocommerce/fix/installed-plugin-not-activated-if-directory-not-matching-slug
...
Activate plugins during installation process even if directory doesn't match slug
2018-03-07 12:00:14 +00:00
Mike Jolley
7c2ed135d5
Merge pull request #19255 from woocommerce/update/16779
...
Invalidate cart items when important props are updated
2018-03-07 11:48:11 +00:00
Mike Jolley
07e17aafd5
typo
2018-03-07 11:47:42 +00:00
Mike Jolley
823332b5db
Merge pull request #19267 from xlplugins/master
...
PHP Fatal Error when invalid variation ID provided in WC_Product_Variable::get_available_variation()
2018-03-07 11:45:56 +00:00
Mike Jolley
b34e163bd5
No js for all the themes.
2018-03-07 11:44:41 +00:00
Amritansh_tact9
10e80c83d1
Applied array_filter() to the $avaiable_variations in WC_Product_Variable::get_available_variations() to ensure only array type values get returned.
...
Added docbock in favor of boolean false for WC_Product_Variable::get_available_variation()
2018-03-07 17:07:42 +05:30
Mike Jolley
4e262a81c1
Merge pull request #19261 from woocommerce/fix/phpcs-customizer
...
PHPCS fixes for customizer and export directories
2018-03-07 11:26:45 +00:00
Mike Jolley
7cb2e11c01
Merge branch 'pr/19257'
2018-03-07 11:18:53 +00:00
Mike Jolley
cc08eff0b0
Standards
2018-03-07 11:18:42 +00:00
Mike Jolley
2334ef1f65
Merge pull request #19268 from woocommerce/remove-unused-methods
...
Remove unused code from WC_CLI_REST_Command class
2018-03-07 11:16:51 +00:00
Mike Jolley
7255e4a371
Merge pull request #19281 from woocommerce/fix/19279-db-version-fatal-system-status
...
Dont use mysql functions directly on system status page
2018-03-07 11:10:36 +00:00
Mike Jolley
bb94d2467f
Merge pull request #19160 from woocommerce/fix/19112
...
Set is_tax to true when on unsupported theme taxonomy archive
2018-03-07 10:39:39 +00:00
Mike Jolley
69b09af0f0
Merge branch 'master' into fix/19175
2018-03-07 10:33:24 +00:00
Mike Jolley
696c1186f0
Update text and opt-in
2018-03-07 10:32:47 +00:00
Amritansh_tact9
7e05af1296
Replaced `WC_Product` with `WC_Product_Variation` for a more specific check in WC_Product_Variable::get_available_variation().
2018-03-07 15:59:21 +05:30
Rodrigo Primo
cc67dc9f74
Merge branch 'master' into remove-unused-methods
2018-03-07 07:27:43 -03:00
Rodrigo Primo
266b362d7e
Merge pull request #19271 from woocommerce/fix/includes-admin-plugin-updates-phpcs-violations
...
PHPCS fixes for includes/admin/plugin-updates directory
2018-03-07 07:17:54 -03:00
Rodrigo Primo
3d99fecc6b
Merge pull request #19269 from woocommerce/fix/includes-cli-phpcs-violations
...
PHPCS fixes for includes/cli directory
2018-03-07 07:17:35 -03:00
Mike Jolley
9f918cacc6
Merge pull request #19274 from woocommerce/update/api-phpcs
...
Fixed PHPCS violations on includes/api
2018-03-07 10:16:30 +00:00
Gerhard Potgieter
4b8a82093d
Make system status DB version display compatible with rest system status controller data. Closes #19279
2018-03-07 08:18:23 +02:00
Rodrigo Primo
af47f7b0b2
Fix PHPCS violations in includes/admin/list-tables/class-wc-admin-list-table-products.php
2018-03-06 15:08:46 -03:00
Rodrigo Primo
2ec74d2e15
Fix PHPCS violations in includes/admin/list-tables/class-wc-admin-list-table-orders.php
2018-03-06 15:08:30 -03:00
Rodrigo Primo
d2bfa5e6c5
Fix PHPCS violations in includes/admin/list-tables/class-wc-admin-list-table-coupons.php
2018-03-06 15:08:16 -03:00
Rodrigo Primo
f4c17e20c7
Fix PHPCS violations in includes/admin/list-tables/abstract-class-wc-admin-list-table.php
2018-03-06 15:08:00 -03:00
Claudio Sanches
f0d37ff4f5
Fixed PHPCS violations on REST API
2018-03-06 15:04:58 -03:00
Roy Lindauer
bb9afb29be
cached_counts would not be defined if cache is false
2018-03-06 07:32:12 -08:00
Rodrigo Primo
2169f1f567
Fix PHPCS violations in includes/admin/plugin-updates/views/html-notice-untested-extensions-inline.php
2018-03-06 10:58:45 -03:00
Rodrigo Primo
f38e76421a
Fix PHPCS violations in includes/admin/plugin-updates/views/html-notice-untested-extensions-modal.php
2018-03-06 10:58:03 -03:00
Rodrigo Primo
3932710136
Fix PHPCS violations in includes/admin/plugin-updates/class-wc-plugin-updates.php
2018-03-06 10:50:06 -03:00
Rodrigo Primo
ba563b8ec0
Fix PHPCS violations in includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
2018-03-06 10:44:35 -03:00
Rodrigo Primo
85e01565e0
Fix PHPCS violations in includes/admin/plugin-updates/class-wc-updates-screen-updates.php
2018-03-06 10:34:18 -03:00
Rodrigo Primo
95b14b3674
Merge branch 'master' into fix/includes-cli-phpcs-violations
2018-03-06 10:32:56 -03:00
Rodrigo Primo
cd90c9bbc8
Fix PHPCS violations in includes/cli/class-wc-cli-update-command.php
2018-03-06 09:28:29 -03:00
Rodrigo Primo
8eb32d2c8c
Fix PHPCS violations in includes/cli/class-wc-cli-tool-command.php
2018-03-06 09:24:47 -03:00
Rodrigo Primo
66911be455
Fix PHPCS violations in includes/cli/class-wc-cli-runner.php
2018-03-06 09:20:58 -03:00
Rodrigo Primo
70a03e6dfa
Fix PHPCS violations in includes/cli/class-wc-cli-rest-command.php
2018-03-06 09:07:33 -03:00
Rodrigo Primo
4f18567e74
Remove unused code from WC_CLI_REST_Command class
...
This commit removes three unused methods and one unused property from the WC_CLI_REST_Command class that I found while fixing PHPCS violations in the includes/cli directory.
2018-03-06 08:58:32 -03:00
Rodrigo Primo
b6674b3a8f
Replace calls to json_decode() with wp_json_decode()
2018-03-06 08:18:31 -03:00
Amritansh_tact9
da5e31ce2c
Updated WC_Product_Variable::get_available_variation() to handle cases when variation ID provided is deleted/invalid. Throwing PHP fatal error on the next line where $variation->get_price()
2018-03-06 16:10:49 +05:30
Gerhard Potgieter
87c30fd228
PHPCS passing for class-wc-webhook-data-store-interface.php
2018-03-06 12:00:33 +02:00
Gerhard Potgieter
754df69994
PHPCS passing for class-wc-shipping-zone-data-store-interface.php
2018-03-06 11:59:23 +02:00
Gerhard Potgieter
4c6e954c8e
PHPCS passing for class-wc-product-variable-data-store-interface.php
2018-03-06 11:56:07 +02:00
Gerhard Potgieter
936df3e1bb
PHPCS passing for class-wc-product-data-store-interface.php
2018-03-06 11:53:40 +02:00
Gerhard Potgieter
e933b8cfd0
PHPCS passing for class-wc-payment-token-data-store-interface.php
2018-03-06 11:49:02 +02:00
Gerhard Potgieter
00193f5ee4
PHPCS passing for class-wc-order-refund-data-store-interface.php
2018-03-06 11:46:27 +02:00
Gerhard Potgieter
7cd7b18bb3
PHPCS passing for class-wc-order-item-type-data-store-interface.php
2018-03-06 11:45:29 +02:00
Gerhard Potgieter
1a2b44f2d3
PHPCS passing for class-wc-order-item-product-data-store-interface.php
2018-03-06 11:43:37 +02:00
Gerhard Potgieter
c354b93091
PHPCS passing for class-wc-order-item-data-store-interface.php
2018-03-06 11:42:03 +02:00
Gerhard Potgieter
e504022c72
PHPCS passing for class-wc-order-data-store-interface.php
2018-03-06 11:38:03 +02:00
Gerhard Potgieter
42c5e183cd
PHPCS passing for class-wc-object-data-store-interface.php
2018-03-06 11:34:16 +02:00
Gerhard Potgieter
96cbebb06b
PHPCS passing for class-wc-logger-interface.php
2018-03-06 10:23:28 +02:00
Gerhard Potgieter
1ba9f86001
PHPCS passing for class-wc-log-handler-interface.php
2018-03-06 10:21:27 +02:00
Gerhard Potgieter
8d2cb4850b
PHPCS passing for class-wc-importer-interface.php
2018-03-06 10:19:31 +02:00
Gerhard Potgieter
37eacc2585
PHPCS passing for class-wc-customer-download-log-data-store-interface.php
2018-03-06 10:18:33 +02:00
Gerhard Potgieter
2ed9993599
PHPCS passing for class-wc-customer-download-data-store-interface.php
2018-03-06 10:17:25 +02:00
Gerhard Potgieter
993d9cd232
PHPCS passing for class-wc-customer-data-store-interface.php
2018-03-06 10:14:45 +02:00
Gerhard Potgieter
17b6c78d00
PHPCS passing for class-wc-coupon-data-store-interface.php
2018-03-06 10:13:06 +02:00
Gerhard Potgieter
10d1c7f623
PHPCS passing for class-wc-abstract-order-data-store-interface.php
2018-03-06 10:08:42 +02:00
Gerhard Potgieter
85636f8fe7
PHPCS passing for abstract-wc-product-importer.php
2018-03-06 10:04:37 +02:00
Gerhard Potgieter
38892f3067
PHPCS passing for abstract-wc-csv-exporter.php
2018-03-06 07:55:15 +02:00
Gerhard Potgieter
1c191688f8
PHPCS passing for abstract-wc-batch-exporter.php
2018-03-06 07:52:03 +02:00
Gerhard Potgieter
b4ec1d372c
PHPCS passing for class-wc-customizer-controll-cropping.php
2018-03-06 07:31:20 +02:00
Mike Jolley
88c7c1333b
No back links, better link styling
2018-03-05 21:59:32 +00:00
Jon Brown
e6f2126b11
opps... not DRY
...
Photon check should probably should be abstracted, but this works for now
2018-03-05 11:08:40 -10:00
Claudio Sanches
e8017e985b
Fixed coding standards issues with PHPCBF
2018-03-05 17:53:06 -03:00
Jon Brown
87695bddb7
Checking class exists is insufficient allows for a fatal error when Jetpack class is defined without specific method
...
There are a half dozen stripped-down versions of JetPack's modules like JP Custom CSS, JP Widget visibility, etc... these all define a class called "Jetpack" but don't define all the methods.
2018-03-05 10:30:05 -10:00
Mike Jolley
1536d50824
Merge branch 'master' into update/18389-wizard-steps-improvements
2018-03-05 20:24:26 +00:00
Mike Jolley
46862deb17
wc_get_cart_item_data_hash function
2018-03-05 19:57:57 +00:00
Rodrigo Primo
44a5903ce6
Fix PHPCS violations in includes/cli using phpcbf
...
Fix all violations that phpcbf can fix automatically.
2018-03-05 16:46:54 -03:00
Sofyan Sitorus
7d04431571
Add contional check to compare cart item date_modified with product date_modified
2018-03-05 19:42:11 +00:00
Rodrigo Primo
45a404cc3b
Merge branch 'master' into includes-admin-phpcs-fixes
2018-03-05 16:40:39 -03:00
Rodrigo Primo
23b69eba53
Use phpcbf to fix coding standard violations in includes/admin
...
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Mike Jolley
58c87e3fcd
Merge pull request #19148 from woocommerce/tweak/post-processing-custom-coupons
...
Add filter to allow post processing on custom coupons
2018-03-05 19:18:04 +00:00
Mike Jolley
d5a6b4fec1
Merge pull request #19228 from Chunkford/patch-5
...
Add filter to a coupon's expiry date check
2018-03-05 19:07:01 +00:00
Mike Jolley
66ad22e3fa
Merge pull request #19128 from woocommerce/fix/19123-cli-term-ids
...
Use correct arg when making rest request in cli
2018-03-05 18:39:48 +00:00
Mike Jolley
73c85ec38d
Merge pull request #19173 from woocommerce/update/19154
...
Move jquery ui styles to assets
2018-03-05 18:35:46 +00:00
Mike Jolley
838a4bbea3
Remove unused variable
2018-03-05 18:35:07 +00:00
Claudiu Lodromanean
b6c1a9d2c1
Merge pull request #19220 from woocommerce/fix/19218
...
Only append tax label if taxes are enabled
2018-03-05 09:26:10 -08:00
Gerhard Potgieter
5075fb4964
PHPCS passing for abstract-wc-widget.php
2018-03-05 15:21:04 +02:00
Gerhard Potgieter
17f013b5b1
PHPCS passing for abstract-wc-shipping-method.php
2018-03-05 15:08:55 +02:00
Gerhard Potgieter
f56c6366c1
PHPCS passing for abstract-wc-settings-api.php
2018-03-05 15:01:21 +02:00
Gerhard Potgieter
d968621afb
PHPCS passing for abstract-wc-session.php
2018-03-05 15:00:52 +02:00
Gerhard Potgieter
ba1e7d1e99
PHPCS passing for abstract-wc-rest-shipping-zones-controller.php
2018-03-05 14:59:35 +02:00
Gerhard Potgieter
74ec8a4a14
PHPCS passing for abstract-wc-rest-posts-controller.php
2018-03-05 14:58:28 +02:00
Gerhard Potgieter
fb3afa672d
PHPCS passing for abstract-wc-rest-crud-controller.php
2018-03-05 14:55:17 +02:00
Gerhard Potgieter
5dcfeac7c1
PHPCS passing abstract-wc-rest-controller.php
2018-03-05 14:52:49 +02:00
Gerhard Potgieter
7f2362aab1
PHPCS passing abstract-wc-product.php
2018-03-05 14:46:34 +02:00
Gerhard Potgieter
cb87a0ee54
PHPCS passing for abstract-wc-payment-token.php
2018-03-05 13:54:54 +02:00
Gerhard Potgieter
940ab475d4
PHPCS passing for abstract-wc-payment-gateway.php
2018-03-05 13:48:54 +02:00
Gerhard Potgieter
440358a4f2
PHPCS passing for abstract-wc-order.php
2018-03-05 13:41:04 +02:00
Gerhard Potgieter
9fd043eaea
PHPCS passing for abstract-wc-object-query.php
2018-03-05 13:39:05 +02:00
Gerhard Potgieter
b3c998b0cd
PHPCS passing for abstract-wc-long-handler
2018-03-05 13:36:56 +02:00
Gerhard Potgieter
41958de93d
PHPCS passing for abstract-wc-integration.php
2018-03-05 13:34:38 +02:00
Gerhard Potgieter
42978bb031
PHPCS passing for abstract-wc-data.php
2018-03-05 13:29:18 +02:00
Mike Jolley
ab9389ec83
Merge pull request #19110 from woocommerce/feature/18056
...
Remember importer mappings
2018-03-03 17:22:48 +00:00
Mike Jolley
46ab27e4e8
Merge pull request #18820 from alexmacarthur/pii-removal
...
PII Issue Prevention - Remove user login from reset password link.
2018-03-03 17:19:55 +00:00
Chunkford
dce96daa84
Add filter to a coupon's expiry date check
...
I need the ability (and hopefully others now or in the future) to intercept the expiry date check for a coupon.
This pull request offers that ability.
2018-03-03 11:46:14 +00:00
Roy Lindauer
4147038e93
Add filter to control caching of layered nav counts. Split cached layered nav counts by taxonomy
2018-03-02 22:14:20 -08:00
Mike Jolley
a869f896bf
Merge pull request #19166 from woocommerce/tweak/coupon-price-ui
...
Improve UI on Coupon amount in cart
2018-03-02 19:26:48 +00:00
Claudio Sanches
d822076115
Merge pull request #19201 from danielshields/patch-1
...
Fix the PayPal API URL
2018-03-02 16:02:48 -03:00
Mike Jolley
f0fc684704
Wording update
2018-03-02 16:44:26 +00:00
Mike Jolley
57cfa72d99
Only append tax label if taxes are enabled
2018-03-02 16:22:54 +00:00
Claudiu Lodromanean
079edc9ca6
Merge pull request #19204 from woocommerce/update/prodshortcod
...
New shortcode features for products block
2018-03-01 15:05:04 -08:00
Mike Jolley
bd91ea27ab
Update tracker to be opt-in and contain proper instructions
...
Fixes #19175
2018-03-01 19:31:30 +00:00
claudiulodro
383317c256
Layered nav support on unsupported theme archives
2018-03-01 11:28:00 -08:00
Claudiu Lodromanean
62a823dadf
Merge pull request #19171 from woocommerce/update/19145
...
Improve store notice customizer handling
2018-03-01 10:54:11 -08:00
claudiulodro
8cf36aa0d2
New shortcode features for products block
2018-03-01 10:05:22 -08:00
danielshields
e2da7fd277
Fix the PayPal API URL
...
Assuming they changed the section title, as the permalink is now "create" vs "creating"
2018-03-01 12:30:38 -05:00
Mike Jolley
418ee11839
This tracking notice is not used.
2018-03-01 17:01:55 +00:00
Paul Dechov
08e8ca7823
Activate plugins during installation process even if directory doesn't match slug
2018-03-01 11:50:54 -05:00
Mike Jolley
b4579bb502
Merge branch 'master' into update/16912
2018-03-01 16:38:04 +00:00
Mike Jolley
3d4b1e6d4c
Return new logger instance if class changes.
2018-03-01 16:24:53 +00:00
Mike Jolley
21d7dbc612
Merge branch 'master' into update/17252
2018-03-01 15:58:17 +00:00
Mike Jolley
f162fdb9d1
Merge branch 'master' into update/17795
2018-03-01 12:13:14 +00:00
nishitlangaliya
11f329b500
Fixes- Admin - removed product type column
2018-03-01 16:43:13 +05:30
Caleb Burks
0568470bb8
Only show T&C's notice if there is a valid T&Cs page
2018-02-28 21:58:34 -05:00
Claudio Sanches
ffd7915d49
Make sure that option is an array
2018-02-28 16:46:52 -03:00
Claudio Sanches
de804dbe7b
Make sure that user saved mapping preferences are applied after all filters
2018-02-28 16:40:26 -03:00
Claudio Sanches
3ca1139cf9
Sanitize mapping before save
2018-02-28 16:36:35 -03:00
Claudio Sanches
8500000da7
Updated user option key
2018-02-28 16:04:20 -03:00
Mike Jolley
49c2f2b28e
Also during clean_term_cache
2018-02-28 18:35:58 +00:00
Mike Jolley
4bce7b0223
Use single cache for hierarchy
2018-02-28 18:24:03 +00:00
Rodrigo Primo
56cb3d2d4f
Check if download ID is valid before running query
2018-02-28 13:41:11 -03:00
Rodrigo Primo
0f79567d06
Merge branch 'master' into update/improve-get-downloads
2018-02-28 13:34:11 -03:00
Mike Jolley
b44183b4cb
Move jquery ui styles to assets
2018-02-28 13:02:41 +00:00
Boro Sitnikovski
1a1f62c952
Separate coupon custom logic into its own method
2018-02-28 13:42:52 +01:00
Boro Sitnikovski
b2e9fbb22d
Add filter to allow post processing on custom coupons
2018-02-28 13:41:18 +01:00
Mike Jolley
74f9e16ac3
Unbind on display
2018-02-28 11:58:04 +00:00
Boro Sitnikovski
328dad7659
Improve UI on Coupon amount in cart
2018-02-28 09:47:59 +01:00
Frédéric Demarle
ac199889f2
Fix fatal error in PHP < 5.5
2018-02-27 20:55:40 +01:00
Tiago Noronha
28b99e6970
Prevent full refresh when editing store notice and checkbox is off
2018-02-27 19:52:31 +00:00
claudiulodro
3e114799ca
Set is_tax true when on unsupported theme
2018-02-27 11:45:56 -08:00
Mike Jolley
391e5df40c
Support for OR operator
2018-02-27 19:45:45 +00:00
Claudiu Lodromanean
5346f63abc
Merge pull request #19159 from woocommerce/fix/19124
...
Use subtotal for discounts in admin/orders
2018-02-27 11:27:01 -08:00
Mike Jolley
c0c4348123
Use wp_search_stopwords filter
2018-02-27 19:22:15 +00:00
Mike Jolley
728e6dc58d
Merge pull request #19109 from woocommerce/fix/19083
...
wc_get_price_excluding_tax handling for woocommerce_adjust_non_base_location_prices
2018-02-27 19:20:20 +00:00
Mike Jolley
de5b60a7e6
Merge pull request #18817 from shivapoudel/feature/screen-option
...
Add support screen options for core list tables
2018-02-27 19:19:45 +00:00
Mike Jolley
f28a3dd35d
Merge pull request #19156 from woocommerce/fix/19120
...
Only trim strings in multiselect display options
2018-02-27 19:18:09 +00:00
Mike Jolley
c2c0aeefb8
Merge pull request #19002 from helgatheviking/exclude-products-from-coupon-validation
...
Exclude products from coupon validation
2018-02-27 19:14:22 +00:00
Mike Jolley
e4403b87ea
Merge pull request #19091 from woocommerce/update/18852
...
Include priceSpecification with valueAddedTaxIncluded
2018-02-27 19:13:10 +00:00
Mike Jolley
c389f4017e
Merge branch 'master' into update/19136
2018-02-27 19:11:52 +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
a6431c86d3
Use subtotals when applying discount logic to match cart.
2018-02-27 18:48:05 +00:00
Mike Jolley
cceec55714
Fix error in unit tests due to missing object check
2018-02-27 16:32:59 +00:00
claudiulodro
c8f418fd45
Only trim strings in multiselect display options
2018-02-27 07:50:33 -08:00
Mike Jolley
00ed016bf1
Implement selective_refresh for store notice
2018-02-27 12:46:36 +00:00
Mike Jolley
4b2642c757
phpcs
2018-02-26 19:18:38 +00:00
Mike Jolley
997b852a43
clean_term_cache callback to flush subcategory cache
2018-02-26 19:15:42 +00:00
Mike Jolley
e1beda3eb0
Use relative scheme for ajax endpoint
2018-02-26 18:51:46 +00:00
Mike Jolley
fc9fe996d8
Add profile link to order screen
2018-02-26 18:19:03 +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
0784e9ede6
Merge pull request #19126 from obiPlabon/master
...
Fixed #19125 - added spinner markup
2018-02-26 16:08:01 +00:00
Caleb Burks
828141c407
CLI ID argument should come after parent ID args
2018-02-25 14:59:23 -05:00
Caleb Burks
e365d1e01a
Use correct arg when making rest request in cli
2018-02-25 14:18:22 -05:00
obiPlabon
5b8721519b
Fixed #19125 - added spinner markup
2018-02-25 17:33:29 +06:00
Hardip Parmar
632da6779e
fixed spelling for calculate.
2018-02-24 16:53:27 +05:30
Kathy Darling
d494daf3cd
Merge branch 'master' of github.com:woocommerce/woocommerce into exclude-products-from-coupon-validation
2018-02-23 22:09:06 -06:00
Claudio Sanches
9db8a434b5
Merge pull request #18082 from WPprodigy/remember-importer-mappings
...
Remember importer mappings
2018-02-23 11:05:24 -03:00
Mike Jolley
39c6c9c72c
wc_get_price_excluding_tax handling for woocommerce_adjust_non_base_location_prices
2018-02-23 11:53:05 +00:00
Mike Jolley
dc4212cc15
Merge pull request #19098 from woocommerce/fix/19095-coupon-empty-cost
...
Ensure coupon amount is not empty
2018-02-23 10:58:29 +00:00
Mike Jolley
bb497f213d
Merge pull request #19104 from woocommerce/fix/19102-exlude-page-1-from-shop-page-content-check
...
Include page 1 on shop archive content check
2018-02-23 10:56:27 +00:00
Gerhard Potgieter
c8642f0da7
PHPCS fixes
2018-02-23 10:16:22 +02:00
Gerhard Potgieter
c13dee6fb3
Add page 1 to check when displaying shop page content.
2018-02-23 10:14:59 +02:00
Shiva Poudel
e4bcc1d285
Rename the prefix for per page options
2018-02-23 10:03:56 +05:45
Shiva Poudel
c2c97855be
Merge branch 'master' into feature/screen-option
2018-02-23 09:49:19 +05:45
Caleb Burks
9ba4ae7ad7
Remove unnecessary conditional
2018-02-22 14:39:37 -05:00
Caleb Burks
ae0f5fc76d
Ensure coupon amount is not empty
2018-02-22 14:33:06 -05:00
Claudio Sanches
69044423d2
[REST API] Do not allow updating parent ID from variations after created
...
Closes #18933
2018-02-22 16:22:42 -03:00
Claudio Sanches
b64b2a8680
Fixed coding standards
2018-02-22 16:00:21 -03:00
Mike Jolley
a1ea88ffb0
Fix comparison
2018-02-22 18:46:34 +00:00
Mike Jolley
93d36814e2
phpcs
2018-02-22 18:30:49 +00:00
Mike Jolley
a15c1611e0
Stopword support
2018-02-22 18:22:55 +00:00
Mike Jolley
964afd3882
Include priceSpecification with valueAddedTaxIncluded
...
Closes #18852
2018-02-22 16:34:54 +00:00
Mike Jolley
3353d80ecd
wc_get_loop_class; force columns to be a minimum of 1
2018-02-22 15:44:28 +00: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
Alex MacArthur
870338ee5d
Make compliant w/ coding standards, sanitize ID.
2018-02-22 07:01:49 -06:00
Alex MacArthur
08982af65c
Set to empty string in case invalid ID is passed.
2018-02-22 06:58:18 -06:00
Alex MacArthur
c87c5627bb
Add fallback support for passing user_login in password reset link.
2018-02-22 06:58:18 -06:00
Alex MacArthur
e01385d2b4
Remove user login from reset password link.
2018-02-22 06:58:18 -06:00
Mike Jolley
f49491809f
Merge pull request #19078 from woocommerce/fix/17606
...
Display name input on My Account page
2018-02-22 12:29:58 +00:00
Mike Jolley
23eccd4b14
Merge pull request #18957 from alexmacarthur/pii-downloads
...
Hash customer email address in download URLs.
2018-02-22 12:27:33 +00:00
Mike Jolley
304922087d
Merge pull request #18984 from woocommerce/update/18981
...
Made get_on_sale_products respect the setting to hide outofstock products
2018-02-22 12:23:57 +00:00
Mike Jolley
64c6dd9e8b
Merge pull request #18779 from jeffikus/master
...
Updates Flexslider to version 2.7.0
2018-02-22 12:23:32 +00:00
Mike Jolley
b93f719b36
Merge pull request #18624 from Chunkford/patch-4
...
Display zero value when using shipping classes
2018-02-22 12:22:58 +00:00
Mike Jolley
58796bf981
Merge pull request #18554 from woocommerce/fix/18545
...
Flat rate: remove currency symbols
2018-02-22 12:21:49 +00:00
Mike Jolley
69816b9854
Merge pull request #18538 from woocommerce/update/16366
...
Optimise saving of orders
2018-02-22 12:20:14 +00:00
Mike Jolley
380ee9a13f
Merge pull request #18536 from woocommerce/update/17908
...
Refactor woocommerce_wp_select so it could be used for a multiselect
2018-02-22 12:19:11 +00:00
Shiva Poudel
f1e2c0cf83
Merge remote-tracking branch 'upstream/master' into feature/screen-option
2018-02-22 09:52:59 +05:45
Claudio Sanches
0f797714f1
Tweaks on account display name
2018-02-21 21:52:45 -03:00
Claudio Sanches
c0e29d0cbe
Merge branch 'fix/17606' into add/17606
2018-02-21 21:34:38 -03:00
Claudio Sanches
fe83dfdba7
Merge branch 'master' into fix/18545
2018-02-21 19:15:45 -03:00
Alex MacArthur
bc41fb0ba9
Use wc_get_order(), handle failure in case WC_Order not returned.
2018-02-21 15:39:43 -06:00
Claudio Sanches
7da77237a2
Fixed coding standards
2018-02-21 18:19:38 -03:00
Claudio Sanches
2f6795a2c8
Fixed undefined index after running setup wizard two times on fresh install
2018-02-21 18:15:50 -03:00
Mike Jolley
03a1906706
Post image is enough
2018-02-21 17:21:02 +00:00
Mike Jolley
8d1408fa04
Add WP classes to image gallery
2018-02-21 17:21:02 +00:00
Mike Jolley
e614c9ce22
Merge pull request #19069 from woocommerce/fix/19064
...
Numeric check needs to come after formatting the decimal
2018-02-21 15:08:30 +00:00
Mike Jolley
700246345b
Numeric check needs to come after formatting the decimal
2018-02-21 14:02:44 +00:00
Alex MacArthur
931bf27511
Fix spacing, use hash_equals to verify uid.
2018-02-21 07:45:07 -06:00
Alex MacArthur
3e0e75ebc3
Fix spacing issues.
2018-02-21 07:34:56 -06:00
Alex MacArthur
00e71b304d
Hash customer email address in download URLs.
2018-02-21 07:34:56 -06:00
Claudio Sanches
f60cd7cca4
[REST API] Fixed products shipping_class_id type
2018-02-20 17:16:26 -03:00
Claudio Sanches
ef393b8405
Merge pull request #18918 from woocommerce/fix/order-item-meta-key-maxlength
...
Set maxlength for order item meta key
2018-02-20 16:52:35 -03:00
Claudio Sanches
cf934cf45f
Merge pull request #18961 from woocommerce/fix/18958-remove-hardcoded-wp-content
...
Remove hardcoded /wp-content check for downloads.
2018-02-20 16:17:27 -03:00
Claudio Sanches
c80372ad5c
Merge pull request #19027 from woocommerce/update/persistent-cart-filter
...
Added woocommerce_persistent_cart_enabled filter
2018-02-20 13:57:27 -03:00
Claudio Sanches
44c1de45eb
Merge pull request #19043 from woocommerce/fix/19032
...
Prevent shortcode [product_page] redirecting to the actual product's page after add to cart
2018-02-20 13:20:08 -03:00
Claudio Sanches
99a72a6929
Merge pull request #19044 from woocommerce/fix/19030
...
Make terms logic match for breadcrumb and widget
2018-02-20 13:18:11 -03:00
Mike Jolley
7a68cb9c12
Update regex
2018-02-20 16:04:42 +00:00
Mike Jolley
0cda2dba82
Convert more dollar entries for plain text emails
2018-02-20 16:04:42 +00:00
Mike Jolley
472e64270a
Check parent status when seeing if variation is purchasable.
2018-02-20 12:34:33 +00:00
Mike Jolley
5330d0b860
Make terms logic match for breadcrumb and widget
2018-02-20 11:49:06 +00:00
Mike Jolley
2a7b09cb52
Merge pull request #19037 from woocommerce/fix/19036-order-date
...
Show full date for future orders
2018-02-20 11:21:31 +00:00
Mike Jolley
c66d676680
Simplify date check
2018-02-20 11:21:00 +00:00
Mike Jolley
86132346df
remove action when rendering shortcode
2018-02-20 11:15:09 +00:00
Mike Jolley
adde0d6d29
Merge pull request #19042 from woocommerce/fix/shipping-zones-wizard-notice
...
Prevent shipping zones PHP notice during setup wizard
2018-02-20 10:40:54 +00:00
Caleb Burks
3469d47947
Prevent shipping zones PHP notice in wizard
2018-02-20 02:33:06 -05:00
Caleb Burks
634bee567e
Ensure item totals are not empty
2018-02-20 02:19:12 -05:00
Caleb Burks
3d7f674c54
Show full date for future orders
2018-02-19 21:25:03 -05:00
claudiulodro
af5cb5df93
Resolve merge conflicts
2018-02-19 10:45:06 -08:00
Mike Jolley
0df57524a7
Added woocommerce_persistent_cart_enabled filter
2018-02-19 16:36:26 +00: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
7c61f05bb1
Merge pull request #18620 from woocommerce/fix/get-downloads-order-by
...
Fix: properly set orderby and order when calling WC_Customer_Download_Data_Store::get_downloads()
2018-02-19 14:44:21 +00:00
Mike Jolley
0996264e7a
Merge pull request #18609 from woocommerce/fix/18608-add-missing-action-settings-save
...
Add missing action for settings pages that override save method
2018-02-19 14:43:58 +00:00
Mike Jolley
b6ae08a72a
Duplicate action
2018-02-19 14:43:28 +00:00
Mike Jolley
d5a1463e3e
Merge pull request #18595 from woocommerce/update/add-ext-object-cache-to-system-status
...
Display whether or not external object cache is enabled
2018-02-19 14:40:14 +00:00
Mike Jolley
5feed3e0cc
Merge branch 'master' into update/add-ext-object-cache-to-system-status
2018-02-19 14:39:31 +00:00
Mike Jolley
d26c20c0a9
Merge pull request #18831 from woocommerce/fix/list-of-wc-tables
...
Remove all WC tables when uninstalling the plugin
2018-02-19 14:31:19 +00:00
Claudio Sanches
2aa74a6f66
Merge pull request #19020 from woocommerce/fix/19015
...
Adds back get_item so you can get a single Webhook
2018-02-19 10:45:33 -03:00
Mike Jolley
f1a69688fa
Merge pull request #18982 from woocommerce/tweak/get-image-filter
...
Pass image to get_image_filter as well
2018-02-19 13:15:55 +00:00
Mike Jolley
594b3773cd
Merge pull request #19025 from woocommerce/fix/18999
...
Fix double slash and logout link nonce
2018-02-19 13:15:14 +00:00
Mike Jolley
17c28fc8f9
Prevent double slash
2018-02-19 13:14:07 +00:00
Mike Jolley
b3d051565f
code standards
2018-02-19 13:10:36 +00:00
Mike Jolley
a7bff8f1aa
Merge pull request #19024 from woocommerce/pr/19003
...
Fix check for external resources
2018-02-19 13:07:53 +00:00
Mike Jolley
48e1894258
code standards
2018-02-19 13:06:04 +00:00
Mike Jolley
e9bc9d3b1f
Indentation
2018-02-19 12:41:55 +00:00
Mike Jolley
68238938e4
Adds back get_item so you can get a single Webhook
...
Closes #19015
2018-02-19 11:56:57 +00:00
Paul Dechov
d35f76136e
Only show the Activate step if Jetpack isn't connected or WCS features were chosen
2018-02-16 23:23:41 -05:00
Paul Dechov
b8c57576e6
Update graphic to WCS banner design
2018-02-16 18:07:04 -05:00
Kathy Darling
caf03064ac
add getter for class' object property
2018-02-16 15:52:04 -06:00
Kathy Darling
8dc3d689c6
Follow up to #18971 . Pass cart/order items through a filter.
2018-02-16 15:51:35 -06:00
Patrick Mladensich
1b290eae6d
Fix check for external resource
2018-02-16 22:51:06 +01:00
Remi Corson
ad240278bd
Do not display H2 note if no note
...
This will make the note title not appear if no note is defined. However, some CSS styling is needed as padding was originally added via .wc-order-preview-address wichi was containing the note section.
2018-02-16 15:24:31 +01:00
Jonathan MacGregor
c82297ca10
Update wc-account-functions.php
2018-02-16 13:19:50 +00:00
Jonathan MacGregor
29d53969c4
Logout from My Account Menu now appends the nonce
2018-02-16 13:10:17 +00:00
Remi Corson
94802c7a8b
Fix #18995
...
Fixes #18995 by moving the note section outside the addresses container and unlink it from the shipping method conditional statement.
2018-02-16 12:12:15 +01:00
Paul Dechov
5d71521d6a
Omit 'Reasons you\'ll love Jetpack' if Jetpack is already connected
2018-02-15 17:49:18 -05:00
Paul Dechov
16649fa7d9
Show 'Activate' step even when Jetpack is connected, to accept WCS terms of service
2018-02-15 17:48:37 -05:00
Mike Jolley
49a74b95db
Made get_on_sale_products respect the setting to hide outofstock products
...
Closes #18981
2018-02-15 16:35:29 +00:00
Boro Sitnikovski
927576edb2
Pass image to get_image_filter as well
2018-02-15 16:22:30 +01:00
Mike Jolley
65278efd44
Allow modal to be wider and fix button wrapping
2018-02-15 12:46:47 +00:00
Mike Jolley
654e7db840
Use empty check for search
2018-02-14 18:09:47 +00:00
Mike Jolley
d841cf3f27
Conditionally add messages in customiser
2018-02-14 17:25:52 +00:00
Mike Jolley
7ae0f6c274
Hide status button when disabled via filter
2018-02-14 17:00:43 +00:00
Mike Jolley
ebc8ff0737
Fallback to closest match if size changes.
2018-02-14 13:43:52 +00:00
Mike Jolley
2f0e88f7ba
Improved photon handling
2018-02-14 13:20:34 +00:00
Mike Jolley
66e65cf7bf
Disable image regen if photon is being used.
2018-02-14 11:38:18 +00:00
Gerhard Potgieter
f3974efb6b
Fetch size dynamically
2018-02-14 11:35:16 +02:00
Gerhard Potgieter
0dce1a485c
Remove hardcoded check, use dynamic values based on WP_CONTENT_DIR and ABSPATH
2018-02-14 11:29:44 +02:00
Gerhard Potgieter
1961076bf7
Update tools message for image reneneration.
2018-02-14 10:38:59 +02:00
Mike Jolley
0672afdc9f
Log cancel event
2018-02-13 19:22:01 +00:00
Mike Jolley
1631c8a09f
Cancel button text
2018-02-13 19:21:52 +00:00
Mike Jolley
280ca3757e
wc_get_gallery_image_html checks
2018-02-13 19:18:13 +00:00
Mike Jolley
67bef92657
static function
2018-02-13 17:57:45 +00:00
Mike Jolley
154898dec2
make customizer preview temporary
2018-02-13 14:33:45 +00:00
Mike Jolley
52853e9c23
typo
2018-02-13 13:59:54 +00:00
Mike Jolley
755f535f69
Return, to avoid multiple resizes
2018-02-13 13:58:27 +00:00
Mike Jolley
9f9e4027e9
Thumbnail mapping
2018-02-13 12:51:55 +00:00
Mike Jolley
e39b6950a8
Notice when regeneration is happening
2018-02-13 12:02:24 +00:00
Mike Jolley
3c7262112e
Merge branch 'fix/18842-external-images-fix' into update/3.3-image-handling
2018-02-13 11:18:43 +00:00
Mike Jolley
c29da59edf
Merge branch 'fix/18842-external-images-fix' into update/3.3-image-handling
2018-02-13 11:17:43 +00:00
Mike Jolley
2b36b5f49f
Main image should be larger.
2018-02-13 11:16:42 +00:00
Mike Jolley
ebb246d9d3
wc_get_gallery_image_html helper function
2018-02-13 11:16:42 +00:00
Mike Jolley
9499b63e01
Register gallery_thumbnail size
2018-02-13 11:16:42 +00:00
Gerhard Potgieter
794272a732
Do not auto generate images on setting changes or theme switches. Introduce a regenerate button under tools. Only resize images on the fly when using the customizer to preview changes.
2018-02-13 09:55:50 +02:00
Shiva Poudel
a283da9a53
Since already initialized on load no need of this
2018-02-13 08:31:11 +05:45
Caleb Burks
ea9f799ec6
Remove strlen() condition
...
Did some tests, substr() is actually faster than the strlen() check.
2018-02-12 17:39:33 -05:00
Claudiu Lodromanean
c9bbbf7c5a
Merge pull request #18944 from suifengtec/master
...
fix: show Maximum size with the size unit on the importer screen
2018-02-12 11:26:55 -08:00
Claudiu Lodromanean
86790b43da
Merge pull request #18941 from woocommerce/update/18929
...
Allow changing the default product category
2018-02-12 10:07:09 -08:00
Claudiu Lodromanean
b5e0450ef3
Merge pull request #18939 from woocommerce/fix/18923
...
Set status after order is created/updated.
2018-02-12 10:02:50 -08:00
Claudiu Lodromanean
c98e0ac43b
Merge pull request #18934 from woocommerce/update/18932
...
Remove isle of man state
2018-02-12 09:18:13 -08:00
Claudiu Lodromanean
334b543c77
Merge pull request #18908 from woocommerce/fix/18864
...
Set woocommerce_hide_invisible_variations to true.
2018-02-12 08:50:54 -08:00
Claudiu Lodromanean
3fd4c365b1
Merge pull request #18905 from woocommerce/fix/18891
...
Use verbose page rules when shop is in the URL, including shop base with category
2018-02-12 08:46:41 -08:00
suifengtec
6aab570544
fix: show Maximum size with the size unit on the importer screen
2018-02-12 23:18:24 +08:00
Mike Jolley
2c45696498
Add a 'make default' button to change the default product category
2018-02-12 13:17:47 +00:00
Mike Jolley
e903027c2f
Merge pull request #18895 from woocommerce/fix/remove-attribute-type-column
...
Remove "Type" column on attributes table by default.
2018-02-12 12:14:54 +00:00
Mike Jolley
d5d4f4199e
Merge pull request #18917 from shivapoudel/fix-status
...
Fix - Help tip for webhook status
2018-02-12 12:09:03 +00:00
Mike Jolley
bdd4898946
Set status after order is created/updated.
2018-02-12 11:56:48 +00:00
Tareq Hasan
b5ea65b604
Shipping zone documentation help link was printing wrong
2018-02-12 17:17:23 +06:00
Mike Jolley
da32586251
Remove isle of man state
...
Fixes #18932
2018-02-12 10:34:40 +00:00
Caleb Burks
19e3126e54
Add additional wizard next steps
2018-02-10 18:51:25 -05:00
Caleb Burks
0b228c4fda
Add ability to go back to prev steps during setup
2018-02-10 18:28:07 -05:00
Shiva Poudel
3ea8629b6e
Check admin referer instead of nonce, just like webhooks
...
CC @claudiosanches
2018-02-10 13:03:22 +05:45
Shiva Poudel
5e7b0e2925
Tweaks and PHPCS fixes
2018-02-10 12:23:33 +05:45
Shiva Poudel
939d8043ec
PHPCS fix
2018-02-10 10:41:06 +05:45
Shiva Poudel
25d77e3ddc
Use of title for description so screen option will not show for it
2018-02-10 10:17:02 +05:45
Shiva Poudel
14da53001f
Tweak - No items found text
2018-02-10 10:14:06 +05:45
Shiva Poudel
c35fb04455
Seperate the {create|edit}-key isset check, as it won't work
2018-02-10 10:07:06 +05:45
Caleb Burks
4f447ea48d
Sanitize order item meta key w/ max characters
2018-02-09 22:52:36 -05:00
Caleb Burks
c278bffa78
Set maxlength for order item meta key
2018-02-09 22:33:35 -05:00
Caleb Burks
221b4672d9
Use wc_has_custom_attribute_types()
2018-02-09 17:31:56 -05:00
Shiva Poudel
71495cef69
Fix - Help tip for webhook status
2018-02-10 02:33:00 +05:45
Mike Jolley
80c07d530d
Set woocommerce_hide_invisible_variations to true.
2018-02-09 16:44:41 +00:00
Mike Jolley
6af5bc3d19
Merge pull request #18863 from woocommerce/fix/gallery-array-to-string-conversion
...
Fix array to string conversion error
2018-02-09 16:42:11 +00:00
Mike Jolley
129134a30f
Use verbose page rules when shop is in the URL, including shop base with category
2018-02-09 15:25:33 +00:00
Mike Jolley
7339511495
Height must be int
2018-02-09 14:12:19 +00:00
Mike Jolley
9d898bbf6e
Return the resized image after regen, or if regen is not needed
2018-02-09 14:06:00 +00:00
Mike Jolley
961cd6dfa6
Copy sizes to legacy sizes
2018-02-09 14:04:43 +00:00
Caleb Burks
7eae986643
Remove “Type” column on attributes table
2018-02-08 21:36:27 -05:00
Claudiu Lodromanean
170cf2d361
Merge pull request #18888 from woocommerce/fix/18859
...
Don't prepend cats for regular shortcodes
2018-02-08 10:41:43 -08:00
Claudiu Lodromanean
59b61ab744
Merge pull request #18408 from macbookandrew/downloadable_items_filter
...
add file array key similar to other functions
2018-02-08 10:38:12 -08:00
Mike Jolley
830a2cb5a5
Don't prepend cats for regular shortcodes
2018-02-08 17:37:56 +00:00
Claudiu Lodromanean
2b96d68047
Merge pull request #18883 from woocommerce/fix/18881
...
If using get_catalog_ordering_args. remove the args when finsihed
2018-02-08 09:31:11 -08:00
Claudiu Lodromanean
becd77ae93
Merge pull request #18880 from woocommerce/fix/18856
...
Added ability to search for all post statuses
2018-02-08 09:27:01 -08:00
Claudiu Lodromanean
b47e264cb3
Merge pull request #18879 from woocommerce/update/category-help-text-polish
...
Add help text for the default category 2
2018-02-08 09:16:19 -08:00
Caleb Burks
210c22e57c
Update docs
2018-02-08 11:58:20 -05:00
Caleb Burks
454c226778
Use wc_help_tip()
2018-02-08 11:52:32 -05:00
Mike Jolley
b379e213c8
Allow search_products to find parent ids
2018-02-08 16:36:24 +00:00
Mike Jolley
f56e40363b
If using get_catalog_ordering_args. remove the args when finsihed
2018-02-08 13:59:03 +00:00
Gerhard Potgieter
2280cabb94
Change on-the-fly image regenration to use same process as backrgound resizing, ensures CDN images are updated and show.
2018-02-08 15:36:50 +02:00
Mike Jolley
7dd9c7fb0e
Added ability to search for all post statuses
2018-02-08 12:53:39 +00:00
Mike Jolley
b95812d563
Handle quick edit
2018-02-08 12:35:57 +00:00
Rodrigo Primo
3290094ca0
Merge branch 'master' into update/avoid-extra-unneeded-query
2018-02-08 10:00:32 -02:00
Rodrigo Primo
b4f6dc45e6
Update option instead of adding it
...
Doing this since on commit 57ae11c4c6
, we stopped deleting the option and thus adding it won't do anything as it will be already present.
2018-02-08 09:54:39 -02:00
Caleb Burks
bee4a57403
Fix array to string conversion error
2018-02-07 20:30:37 -05:00
Caleb Burks
4ca94e8f21
Add tooltip for default category
2018-02-07 19:24:43 -05:00
Caleb Burks
c8a888acba
Add note underneath product categories in admin
2018-02-07 18:12:31 -05:00
Caleb Burks
c21cc2e8fe
Replace “Cheatin’ uh?” with friendlier messages
2018-02-07 17:01:12 -05:00
Claudiu Lodromanean
d6262e0b0e
Merge pull request #18849 from woocommerce/fix/wp-option-updates-spike
...
Fix spike in update queries on the wp_options table
2018-02-07 13:09:55 -08:00
Claudio Sanches
94318762cc
Merge pull request #18855 from woocommerce/fix/at
...
Only do unsupported template rendering in the loop
2018-02-07 18:18:46 -02:00
Mike Jolley
35265cdf08
Prevent warning when height is empty
2018-02-07 12:14:07 -08:00
claudiulodro
e67634c45f
Only do unsupported template rendering in the loop
2018-02-07 11:56:41 -08:00
Rodrigo Primo
57ae11c4c6
Avoid unneeded query to wp_options on every request
...
This commit changes the value of the option 'woocommerce_queue_flush_rewrite_rules' to 'no' instead of deleting it when rewrite rules are flushed. This way this option is autoloaded and the `get_option()` call below doesn't trigger a select query to the database on every request.
61f037060b/includes/class-wc-post-types.php (L514)
2018-02-07 10:59:06 -02:00
Rodrigo Primo
61f037060b
Use 'yes' instead of 'true' as the value of the option woocommerce_queue_flush_rewrite_rules
...
WC seems to use 'yes' and 'no' instead of 'true' and 'false' as the values of boolean options, so this commit changes the value of the option woocommerce_queue_flush_rewrite_rules to follow this pattern. Also, the string 'false' can induce bugs as it is truthy.
2018-02-07 10:54:01 -02:00
Gerhard Potgieter
8ae28cfe63
Add extra checks before processing on-the-fly regenration images to catch remote files.
2018-02-07 14:52:23 +02:00
Rodrigo Primo
f2e7eb98df
Fix spike in update queries on the wp_options table
...
Since WC 3.3.1, the following query is executed on every page load:
```
UPDATE `wp_options` SET `option_value` = '1' WHERE `option_name` = 'current_theme_supports_woocommerce'
```
This is happening because of the following call to `update_option()`:
```
update_option( 'current_theme_supports_woocommerce', current_theme_supports( 'woocommerce' ) ? 1 : 0 )
```
(02cac7d637/includes/class-wc-post-types.php (L268)
)
`update_option()` shouldn't update the option when the value hasn't changed, but in this case it is updating on every request because, when the current theme supports WC, `1` (integer) is passed to `update_option()` and this function internally compares it against the old value stored in the database which is `"1"` (string). A strict comparison (`===`) is used (f3eaddd2dc/wp-includes/option.php (L343)
), so the function assumes that the value changed and proceeds with the update.
This PR fixes this problem by using the values `"yes"` and `"no"` instead of `1` and `0`.
2018-02-07 10:20:33 -02:00
Gerhard Potgieter
df0970dd07
Add search label when searching via product crud helper.
2018-02-07 11:02:50 +02:00
Gerhard Potgieter
f4acfc9999
Unset the s param when doing a datastore search as it will cause a double search.
2018-02-07 10:44:49 +02:00
Claudiu Lodromanean
bc5faec5c0
Merge pull request #18829 from woocommerce/fix/18819
...
Fix partial refund handling in taxes by date report
2018-02-06 06:30:05 -08:00
Rodrigo Primo
5be9d1b118
Remove all WC tables when uninstalling the plugin
...
There were two outdated lists of WC tables. One used to drop tables when WC is uninstalled and another one to drop tables when a site is deleted in a multi site environment. This commit creates a new unified list of WC tables, adds the missing tables to this list and introduces a unit test that will fail if the list gets outdated.
2018-02-06 11:19:40 -02:00
Mike Jolley
8fb8039b23
Merge pull request #18818 from woocommerce/fix/prevent-unsupported-downgrade
...
Don't call WC_Install::install() on downgrades
2018-02-06 12:46:42 +00:00
Mike Jolley
a0252af0af
Merge pull request #18511 from woocommerce/update/make-image-gallary-save-crud
...
Image Gallery missing CRUD calls
2018-02-06 11:38:38 +00:00
Mike Jolley
bd72bf89f2
Fix partial refund handling in taxes by date report
2018-02-06 11:31:40 +00:00
Mike Jolley
815e0d14fd
Merge pull request #18816 from woocommerce/fix/18815
...
Use add query arg in customizer links
2018-02-06 11:10:53 +00:00
Mike Jolley
9ff0a9717f
Adjust query arg
2018-02-06 11:10:28 +00:00
Mike Jolley
efc698ece1
Merge pull request #18823 from nishitlangaliya/Issue-18785
...
rephrasing create a first product to as per suggestion ref #18785
2018-02-06 11:05:26 +00:00
Mike Jolley
0282b9a30b
Merge pull request #18825 from hoangkianh/patch-1
...
Catalog rows: cast min, max, and value to int
2018-02-06 11:03:00 +00:00
Anh Hoang Nguyen
0ec546427e
Catalog rows: cast min, max, and value to int
2018-02-06 14:50:23 +07:00
nishitlangaliya
70ea46d573
rephrasing create a first product to as per suggestion ref #18785
2018-02-06 06:35:15 +05:30
claudiulodro
0c98f5d874
Remove extra ?>
2018-02-05 13:10:50 -08:00
Shiva Poudel
0f8f33b645
Renamed per page option
2018-02-06 01:54:12 +05:45
Shiva Poudel
cbe190172b
On reload hidden columns should not be rendered
2018-02-06 01:40:45 +05:45
Shiva Poudel
5c991a6929
Load list tables before columns are rendered in screen option
2018-02-06 01:35:16 +05:45
Shiva Poudel
018da951ce
Save and use the per page screen option value for API Keys
2018-02-06 01:30:12 +05:45
Shiva Poudel
ccc10083fe
Save and use the per page screen option value in webhook
2018-02-06 01:22:09 +05:45
Shiva Poudel
8a35c8fc23
Fix - Incorrect action as it was filter hook
2018-02-06 01:15:47 +05:45
Shiva Poudel
750e0e78e4
PHPCS fixes
2018-02-06 01:13:26 +05:45
Shiva Poudel
29ce5bf3c3
Action to load stuffs into memory for use
2018-02-06 01:11:38 +05:45
Mike Jolley
0ad37a6426
Use add query arg in customizer links
2018-02-05 17:10:39 +00:00
Rodrigo Primo
13f703fd32
Don't call WC_Install::install() on downgrades
...
WC doesn't support downgrades but the if condition that decides whether or not to call WC_Install::install() and apply database schema changes was checking if the WC version stored in the database is equal to the WC version in the code. This commit changes the check performed inside the if condition to verify if the WC version stored in the database is smaller than the version in the code. This way `dbDelta()` won't be called automatically by WC and revert database schema changes. This is particulary important for clustered providers where the version of the WC code running in one of the containers could be outdated and trigger a database downgrade.
2018-02-05 14:40:51 -02:00
Rodrigo Primo
13351b3d75
phpcs fixes
...
Removed the print_r() call as phpcs was complaining about it and there is no need to output the version values as phpunit will do that if the test fails.
2018-02-05 14:40:36 -02:00
Claudio Sanches
67e56a7243
Merge pull request #18813 from woocommerce/fix/18796-textdomains
...
Fix esc_attr/esc_html usage
2018-02-05 13:18:00 -02:00
Claudio Sanches
f0b99b3f0d
Merge pull request #18812 from woocommerce/update/18802
...
Tweak customer text
2018-02-05 13:14:16 -02:00
Mike Jolley
e36c05b1d5
Fix esc_attr/esc_html usage
2018-02-05 14:54:18 +00:00
Mike Jolley
00c43e76c1
Tweak customer text
2018-02-05 14:47:12 +00:00
Mike Jolley
d674aa71aa
Fix import placeholder lookup
2018-02-05 14:33:34 +00:00
Mike Jolley
b46ce1c366
Merge pull request #18796 from woocommerce/fix/18795-coupon-editing
...
Allow removing coupons on editable orders only
2018-02-05 11:23:03 +00:00
Mike Jolley
eb7f1f1daf
Merge pull request #18794 from woocommerce/fix/18791-store-notice-alert
...
Add notice for moved store notice setting
2018-02-05 11:18:02 +00:00
Caleb Burks
9c3611624c
Remove extra CSS padding
2018-02-02 22:19:07 -05:00
Caleb Burks
02952bd0a3
Allow removing coupons on editable orders only
2018-02-02 21:59:09 -05:00
claudiulodro
56230e9189
Refactor to handle percents with comma separators
2018-02-02 11:45:23 -08:00
Caleb Burks
9d062f8d82
Add notice for moved store notice setting
2018-02-02 14:32:37 -05:00
claudiulodro
680b8b6b01
Fix bulk sale/regular price percentage handling
2018-02-02 10:52:24 -08:00
Claudiu Lodromanean
8579c1fecc
Merge pull request #18782 from woocommerce/update/18757
...
Use CRUD search helper in admin products table
2018-02-02 09:59:49 -08:00
Claudio Sanches
6fc707bacc
Merge branch 'cmmarslender-feature/network-order-widget'
2018-02-02 14:47:16 -02:00
Claudio Sanches
9c39dd34cc
Merge branch 'feature/network-order-widget' of https://github.com/cmmarslender/woocommerce into cmmarslender-feature/network-order-widget
2018-02-02 14:46:51 -02:00
Claudio Sanches
9c6141b6f6
Merge pull request #18066 from woocommerce/fix/legacy-api-notice
...
Updated API settings making clear that is from our legacy REST API
2018-02-02 14:42:32 -02:00
Claudio Sanches
2321e8bdc1
Properly deprecated WC_Admin_List_Table_Products->sku_search()
2018-02-02 14:24:18 -02:00
Claudiu Lodromanean
ea11ed8b10
Merge pull request #18767 from woocommerce/fix/18738
...
Make "ID: " translatable
2018-02-02 08:20:10 -08:00
Claudio Sanches
0755038e8d
Merge pull request #18505 from liquidweb/feature/post-system-status-tool-hook
...
Add a hook after executing a REST system status tool
2018-02-02 14:19:03 -02:00
Claudio Sanches
fceca66770
Fixed coding standards
2018-02-02 14:09:47 -02:00
Claudio Sanches
bb8f4f0139
Fixed translators notation
2018-02-02 14:05:49 -02:00
Mike Jolley
59d38b5a85
Handle no results
2018-02-02 15:13:37 +00:00
Mike Jolley
6047322c52
Rather than query products by a SKU, use the CRUD search helper.
2018-02-02 15:11:23 +00:00
Jeffrey Pearce
4d2846ebdf
Updates Flexslider to version 2.7.0
...
- Fixes RTL logic.
2018-02-02 13:56:02 +02:00
Gerhard Potgieter
94640ef5af
Add back wc_get_product
2018-02-02 12:58:05 +02:00
Gerhard Potgieter
fa7fd2228c
Add check that product is not false before calling methods in if.
2018-02-02 12:56:24 +02:00
Claudio Sanches
36963afe99
Make "ID: " translatable
...
Ref #18738
2018-02-01 19:09:04 -02:00
Mike Jolley
98b24fdc31
Include parent ID when searching for SKUs
2018-02-01 17:31:40 +00:00
Mike Jolley
997e8aefde
Typecast sizes to int and avoid 9999999999
2018-02-01 17:13:05 +00:00
Mike Jolley
40098feb3c
Prevent regen if not cropping and height mismatches
2018-02-01 17:13:05 +00:00
Mike Jolley
c9789a4743
Default should be 1:1
2018-02-01 17:13:05 +00:00
Mike Jolley
db54911443
Merge pull request #18752 from woocommerce/refactor/background-processing
...
Introduced new WC_Background_Process abstract class
2018-02-01 16:18:56 +00:00
Claudio Sanches
c4da47f8ad
Fixed coding standards
2018-02-01 13:53:29 -02:00
Claudio Sanches
1dc56f5ef9
Fixed missing default value #18753
2018-02-01 13:52:05 -02:00
Claudio Sanches
9a202f93c1
Merge pull request #18756 from Drivingralle/patch-5
...
Pass on default single_select_page setting field value into output
2018-02-01 13:51:13 -02:00
Ralf Wiechers
f098f4edb8
Pass on default single_select_page setting field value into output
...
Addition to #18753
2018-02-01 15:52:32 +01:00
Ralf Wiechers
c6839e7962
Default value for single_select_country and multi_select_countries settings field not passed into output
...
Fix #18753
2018-02-01 15:45:38 +01:00
Mike Jolley
974ff71129
Merge pull request #18747 from woocommerce/fix/woocommerce_content
...
Was missing wc_get_loop_prop check like the main archive
2018-02-01 14:34:25 +00:00
Mike Jolley
add3ca3bea
This removes pagination and products from display for themes not using wc_get_loop_prop in their product loops.
2018-02-01 14:31:00 +00:00
Mike Jolley
8bd5d908b0
Merge pull request #18744 from woocommerce/fix/18733
...
Show category description on supported theme archives.
2018-02-01 14:17:20 +00:00
Claudio Sanches
6ce1bb36b0
Applied new kill_process() method into WC_Regenerate_Images
2018-02-01 12:03:28 -02:00
Claudio Sanches
7615783980
Introduced new methods into WC_Background_Process to complete clean process
2018-02-01 12:02:03 -02:00
Claudio Sanches
d74d664f79
Fixed includes
2018-02-01 11:52:14 -02:00
Claudio Sanches
b811dbbaec
Applied new WC_Background_Process class
2018-02-01 11:42:34 -02:00
Claudio Sanches
37d25dfaec
Introduced new WC_Background_Process abstract class
2018-02-01 11:42:13 -02:00
Claudio Sanches
e57e38508b
Restored background processing library classes
2018-02-01 11:34:03 -02:00
Mike Jolley
00d16dce0e
Was missing wc_get_loop_prop check like the main archive
2018-02-01 13:22:50 +00:00
Mike Jolley
5bea7de93c
Merge pull request #18743 from woocommerce/fix/unsupported-theme-homepage-pagination
...
Fix shop on homepage with unsupported themes
2018-02-01 12:45:17 +00:00
Mike Jolley
b499148a35
Merge pull request #18729 from woocommerce/fix/customizerrows
...
Dont show row settings if something is managing products per page
2018-02-01 12:42:14 +00:00
Mike Jolley
e787a0bf99
Show category description on supported theme archives.
2018-02-01 11:49:19 +00:00
Mike Jolley
2ed9691c14
Fix shop on homepage with unsupported themes
2018-02-01 11:15:46 +00:00
Caleb Burks
9aa4d81084
Add product ID to row actions
2018-02-01 01:01:49 -05:00
claudiulodro
14fa87ab1f
Dont show row settings if something is managing the number of products per page
2018-01-31 15:50:48 -08:00
Mike Jolley
9b22357d26
Prevent regular pagination showing on archives for unsupported themes.
2018-01-31 23:42:08 +00:00
Mike Jolley
2d8d5f3fdb
Merge pull request #18726 from woocommerce/fix/theme-compat
...
Theme compat updates
2018-01-31 22:29:08 +00:00
Mike Jolley
b9b07faa77
Merge pull request #18724 from woocommerce/fix/18722
...
Move filter for image resize to allow preventing regeneration better
2018-01-31 22:04:37 +00:00
Mike Jolley
5d11f660fe
Fire hooks for pagination etc only when pagination is enabled
2018-01-31 21:46:52 +00:00
Mike Jolley
fc3bf3edf2
Moved this below query to prevent subcategories display mode also showing products.
2018-01-31 21:24:14 +00:00
Mike Jolley
02cac7d637
If theme support changes, we may need to flush permalinks since some are changed based on this flag.
2018-01-31 21:23:32 +00:00
claudiulodro
67a8113f59
Move filter for image resize to allow preventing regeneration betterr
2018-01-31 13:10:56 -08:00
Mike Jolley
ca4f0cf0c8
Merge branch 'master' into update/uncategorized-improvements
2018-01-31 20:28:37 +00:00
Mike Jolley
29fda455aa
Remove exclude code - show it, now it's sortable
2018-01-31 20:27:15 +00:00
Mike Jolley
832d767a83
Full support for sorting
2018-01-31 20:17:06 +00:00
Claudiu Lodromanean
fa7fb6061f
Merge pull request #18720 from woocommerce/fix/18683
...
Protect against theme support being defined too late
2018-01-31 11:33:33 -08:00
claudiulodro
cbaa8831d5
Merge master and resolve conflicts
2018-01-31 11:24:21 -08:00
Mike Jolley
9648a72c1b
Protect against theme support being defined too late
2018-01-31 19:09:26 +00:00
Claudiu Lodromanean
062bc4b1b5
Merge pull request #18701 from woocommerce/fix/18680
...
Revert default columns to 4
2018-01-31 11:01:22 -08:00
Claudiu Lodromanean
0886e5eab7
Merge pull request #18716 from woocommerce/fix/missing-image-size-18690
...
Fix product image on-the-fly generation
2018-01-31 10:50:07 -08:00
Mike Jolley
e6f54912ee
Merge branch 'master' into fix/18680
2018-01-31 17:56:46 +00:00
Mike Jolley
1f2046a3e3
Revert columns to 4
2018-01-31 17:55:17 +00:00
Mike Jolley
79dba98b3f
maybe_resize_image fix
2018-01-31 17:43:39 +00:00
Claudiu Lodromanean
de6e8135d0
Merge pull request #18713 from woocommerce/fix/18695
...
Fixed missing user_id in webhook migration script
2018-01-31 09:42:18 -08:00
Claudio Sanches
da8fdc0c91
Include "translators" notation #18671
2018-01-31 15:25:38 -02:00
Claudio Sanches
18b91a041d
Merge pull request #18671 from shoheitanaka/patch-11
...
Fix : Argument swapping at sprintf
2018-01-31 15:23:37 -02:00
Chunkford
af01745787
Update wc-cart-functions.php
2018-01-31 17:11:21 +00:00
Claudio Sanches
5533f85450
Fixed missing user_id in webhook migration script
...
Closes #18695
2018-01-31 15:09:21 -02:00
Mike Jolley
586619b136
merge the loop, don't bail
2018-01-31 16:44:50 +00:00