Mike Jolley
04d7ccfaa4
Show guest
2017-11-13 15:54:01 +00:00
Mike Jolley
eedf745430
Wording and move report location
2017-11-13 15:36:22 +00:00
Mike Jolley
3e7968d37b
Merge branch 'master' into pr/16418
2017-11-13 14:37:18 +00:00
Mike Jolley
4245855625
self_admin_url for multisite compatibility
...
Fixes #17665
2017-11-13 12:09:13 +00:00
axelmm
59534a09e7
Remove unnecessary html formatting
...
Dimensions and weight were unnecessary formatted as html (duplicating values of dimensions_html and weight_html), not as expected raw values
2017-11-11 22:33:22 +01:00
soft79
b74eaba287
Update class-wc-discounts.php
...
'woocommerce_coupon_get_apply_quantity' => ( $apply_quantity, $item, $coupon, $discounts )
2017-11-11 20:33:19 +01:00
axelmm
fb94f67b0f
Remove unnecessary formating, fixes #17662
...
https://github.com/woocommerce/woocommerce/issues/17662
2017-11-11 17:26:09 +01:00
Mike Jolley
220728544a
Merge pull request #17631 from woocommerce/update/page-caching-class
...
Page caching class
2017-11-10 14:12:13 +00:00
Claudio Sanches
d0f191c363
Use table list search box and update form method to POST
2017-11-10 10:55:58 -02:00
Claudio Sanches
fbf5117e05
Merge branch 'db-log-search' of https://github.com/seostudio/woocommerce into seostudio-db-log-search
2017-11-10 10:17:29 -02:00
Mike Jolley
78466a6665
Merge pull request #17599 from JPry/allow_clone_cart
...
Allow for cloning the WC_Cart object
2017-11-10 12:02:59 +00:00
James Allan
c91698cde3
Fix db warnings when using the "Add Order Indexes" tool
2017-11-10 16:21:28 +10:00
Claudiu Lodromanean
9d0f729703
Merge pull request #17642 from woocommerce/fix/rest-api-orders-dp
...
[REST API] Fixed default value of "dp" on orders and refunds endpoints
2017-11-09 13:57:24 -08:00
Claudio Sanches
b04c7bd71e
Merge pull request #17628 from woocommerce/fix/17624
...
Change how line items are saved in API
2017-11-09 17:36:39 -02:00
Claudio Sanches
5daf476dfa
Properly sanitize and format "dp"
2017-11-09 17:34:25 -02:00
Claudio Sanches
c6c8af9187
[REST API] Fixed default value of "dp" on orders and refunds endpoints
2017-11-09 17:23:33 -02:00
Claudiu Lodromanean
a574401ddc
Merge pull request #17641 from woocommerce/fix/17625
...
Integrate PHPCompatibility sniffs
2017-11-09 11:19:52 -08:00
Claudio Sanches
b2105774c9
Merge pull request #17629 from woocommerce/fix/17613
...
Set attributes during variation creation
2017-11-09 16:45:57 -02:00
Claudio Sanches
22232f29c7
Fixed PHPCompatibility issues
...
Closes #17625
2017-11-09 16:36:29 -02:00
Chase Wiseman
9558c49e72
Review tweaks
2017-11-09 09:26:17 -08:00
Mike Jolley
0d09d0c0fd
Grab description directly to pass through wc_format_content
2017-11-09 16:57:50 +00:00
Mike Jolley
6e08ff0284
Merge pull request #17610 from woocommerce/update/17557
...
Theme support to declare image sizes
2017-11-09 16:04:22 +00:00
Claudio Sanches
9979e4b3e5
Merge pull request #17589 from woocommerce/fix/17585
...
get_total_ex_tax should exclude fee taxes
2017-11-08 19:05:23 -02:00
Grzegorz Rola
9ae73bcc44
wp_unslash() needs to always comes first
2017-11-08 17:02:08 +01:00
Jeremy Pry
0e43551535
Move inline comment into the docblock
2017-11-08 10:18:08 -05:00
Jeremy Pry
cf5bd606c6
Rename register_hooks() to init()
2017-11-08 10:17:52 -05:00
Mike Jolley
9f059e17a9
Add helper function instead of calling method, and restore old method for bw compat
2017-11-08 15:07:00 +00:00
Mike Jolley
45c6f0e00d
Restore old function name and phpcs
2017-11-08 14:54:13 +00:00
Gerhard Potgieter
a3fd99ddd9
GeoDB empty file handling ( #17541 )
...
* Make sure we do not save empty geodb files, also add checks to ensure we do not read form an empty geodb file.
* Add logger message when deleting file on checking size
2017-11-08 14:28:03 +00:00
Gerhard Potgieter
7b9fb6c0cb
Change nocache_headers hook firing ( #17540 )
...
* wp hook is too late to fire the nocache_headers filter, some caching plugins read it before that it seems.
* Create do_not_cache_page helper function and call that instead of nocache_headers
* Must add checks to prevent caching on certain pages as well
* Nothing to return
2017-11-08 14:27:30 +00:00
Mike Jolley
827d133cb2
Improve tests
2017-11-08 13:54:33 +00:00
Mike Jolley
bb31ecdff1
Validation
2017-11-08 13:40:30 +00:00
Mike Jolley
be3b37f1df
Adjust preview position
2017-11-08 13:36:17 +00:00
Mike Jolley
0d25375593
Set attributes during variation creation
2017-11-08 13:12:54 +00:00
Mike Jolley
28fdc73c18
Fix fatal due to _esc_html_e call
2017-11-08 12:34:04 +00:00
Mike Jolley
a9b419c9b2
Load item from order object, not DB directly in API
2017-11-08 12:21:55 +00:00
Mike Jolley
7fa02bd4cb
Missing cache clear on delete
2017-11-08 12:21:03 +00:00
Mike Jolley
93da46e66e
phpcs
2017-11-08 12:20:49 +00:00
Claudiu Lodromanean
e90819f92e
Merge pull request #17621 from woocommerce/fix/17607
...
Add wp_unslash to meta key
2017-11-07 14:48:09 -08:00
Claudiu Lodromanean
a8feba3162
Merge pull request #17620 from woocommerce/fix/17583
...
calculate_totals totals running too often
2017-11-07 13:05:42 -08:00
Mike Jolley
fb446e6bdf
Add wp_unslash to meta key
2017-11-07 20:23:10 +00:00
Jeremy Madison
0b7f92ac84
Issue #17505 : Apply filters to registration-error-email-exists error. ( #17507 )
...
* Issue #17505 : Apply filters to registration-error-email-exists error message.
* Inlined apply_filters and fixed filter name
2017-11-07 20:16:56 +00:00
Mike Jolley
b8f124fb3c
Merge pull request #17619 from woocommerce/fix/17591
...
Add default to "What type of product do you plan to sell"
2017-11-07 20:14:40 +00:00
Mike Jolley
ffcf998a59
calculate_totals totals running too often
2017-11-07 20:10:13 +00:00
Claudiu Lodromanean
efee57c7de
Merge pull request #17605 from MounirHamani/master
...
Add new Belarusian ruble BYN
2017-11-07 11:57:14 -08:00
claudiulodro
3c5ede6e14
Dont need placeholder any more
2017-11-07 11:41:12 -08:00
claudiulodro
862060cba9
Add default to "What type of product do you plan to sell"
2017-11-07 11:39:37 -08:00
Mike Jolley
9f6f5f9f17
Merge pull request #17609 from woocommerce/update/17254-input-to-button
...
Convert input submit elements to button submit elements
2017-11-07 19:21:04 +00:00
Mike Jolley
e01ed69db1
Merge pull request #17618 from woocommerce/fix/17553
...
Allow removing coupons even if coupons disabled
2017-11-07 19:20:41 +00:00
Mike Jolley
ffa6637391
Merge pull request #17604 from woocommerce/improve/17549
...
Underscores wrappers
2017-11-07 19:18:56 +00:00
Mike Jolley
6f693d4d1a
Upgrade routine
2017-11-07 19:16:44 +00:00
Mike Jolley
cf448398cd
Update API
2017-11-07 19:08:06 +00:00
Mike Jolley
db4e630600
Replace thumbnail names
2017-11-07 18:48:51 +00:00
Mike Jolley
db3122cc57
fix
2017-11-07 18:38:23 +00:00
claudiulodro
0e983c4fe9
Allow removing coupons even if coupons disabled
2017-11-07 10:33:11 -08:00
Mike Jolley
e025caf177
Widths and aspect ratios
2017-11-07 18:32:43 +00:00
Claudiu Lodromanean
f7d52ad0ba
Merge pull request #17542 from MikeKoval/master
...
Update class-wc-emails.php
2017-11-07 09:37:31 -08:00
claudiulodro
6b514aaab8
Make underscores the default
2017-11-07 08:45:05 -08:00
Jan-Paul Kleemans
241e903f9e
Clarify sku param description
2017-11-07 15:55:00 +01:00
Mike Jolley
54bd73d619
Include theme support in main class
2017-11-07 12:34:11 +00:00
Mike Jolley
2fd540fdf6
Fix theme support checks
2017-11-07 12:33:58 +00:00
Mike Jolley
6701917e5a
Remove need for wc_get_core_supported_themes
2017-11-07 12:17:03 +00:00
Mike Jolley
fb8c6cd0d2
Add compat class for each wp default theme
2017-11-07 12:11:37 +00:00
Mike Jolley
6139ec8de1
Add theme support in the theme compat file
2017-11-07 11:46:43 +00:00
Mike Jolley
2d2156aeca
Fix setting retrievel
2017-11-07 11:46:25 +00:00
Mike Jolley
2f640a1e19
Hide image settings if the theme defines them
2017-11-07 11:04:15 +00:00
Mike Jolley
dae70d9be2
Pull sizes from the theme if defined
2017-11-07 11:04:06 +00:00
Mike Jolley
35dc1431ed
Add comments to add_image_sizes
2017-11-07 11:03:56 +00:00
Gerhard Potgieter
21377fe5a7
input to button for submit in class-wc-widget-layered-nav.php
2017-11-07 10:56:36 +02:00
Gerhard Potgieter
364d266def
PHPCS fixes for class-wc-widget-layered-nav.php
2017-11-07 10:55:27 +02:00
Gerhard Potgieter
e0a55cb8dd
input to button for submit in wc-template-functions.php
2017-11-07 10:40:28 +02:00
Gerhard Potgieter
2171ae7c0a
PHPCS fixes for wc-template-functions.php
2017-11-07 10:39:10 +02:00
Gerhard Potgieter
c53543a4b3
input to button for submit in html-report-by-date.php
2017-11-07 10:38:18 +02:00
Gerhard Potgieter
2716f08d91
PHPCS fixes for html-report-by-date.php
2017-11-07 10:36:39 +02:00
Gerhard Potgieter
78251eaa47
input to button for submit in html-admin-settings.php
2017-11-07 10:32:12 +02:00
Gerhard Potgieter
ddeee320ef
input to button for submit in html-admin-page-status-logs.php
2017-11-07 10:30:41 +02:00
Gerhard Potgieter
a9690b37f5
PHPCS fixes for html-admin-page-status-logs.php
2017-11-07 10:29:16 +02:00
Gerhard Potgieter
f063aad89c
input to button for submit in html-admin-page-product-export.php
2017-11-07 10:27:25 +02:00
Gerhard Potgieter
636a34630e
PHPCS fixes for html-admin-page-export.php
2017-11-07 10:24:39 +02:00
Gerhard Potgieter
3109b11dbe
input to button for submit in html-webhook-edit.php
2017-11-07 10:23:23 +02:00
Gerhard Potgieter
8b7320dcd6
PHPCS fixes for html-webhook-edit.php
2017-11-07 10:20:51 +02:00
Gerhard Potgieter
416fb697f9
input to button for submit in html-admin-page-shipping-zone-methods.php
2017-11-07 10:14:44 +02:00
Gerhard Potgieter
fcd9b206ff
PHPCS fixes for html-admin-page-shipping-zone-methods.php
2017-11-07 10:11:19 +02:00
Gerhard Potgieter
a8dab20cf8
input to button for submit in html-admin-page-shipping-classes.php
2017-11-07 10:05:32 +02:00
Gerhard Potgieter
7c8cb1150f
PHPCS fixes for html-admin-page-shipping-classes.php
2017-11-07 10:03:43 +02:00
Gerhard Potgieter
d3d41a4a05
input to button for submit in class-wc-report-sales-by-product.php
2017-11-07 09:56:31 +02:00
Gerhard Potgieter
e8b9ad7e17
PHPCS fixes for class-wc-report-sales-by-product
2017-11-07 09:55:19 +02:00
Gerhard Potgieter
02841582de
Input to button for submit in class-wc-report-sales-by-category.php
2017-11-07 09:13:47 +02:00
Gerhard Potgieter
bb64d6909f
PHPCS fixes for class-wc-report-sales-by-category.php
2017-11-07 09:12:40 +02:00
Gerhard Potgieter
4aef57ae40
Change input to button for submit in class-wc-report-coupon-usage.php
2017-11-07 09:03:52 +02:00
Gerhard Potgieter
1842e9b7de
PHPCS fixes for class-wc-report-coupon.usage.php
2017-11-07 08:52:45 +02:00
MounirHamani
2c471d3662
Add new Belarusian ruble BYN
2017-11-07 03:24:01 +01:00
Claudiu Lodromanean
c4fe2927d7
Merge pull request #17603 from woocommerce/pr/17563
...
Calculation fixes and unit tests
2017-11-06 14:32:11 -08:00
claudiulodro
c3689134d0
Underscores wrappers
2017-11-06 13:46:50 -08:00
Mike Jolley
cb61e9dd3d
WC_TAX_ROUNDING_MODE auto to support switching in tests
2017-11-06 21:25:02 +00:00
Mike Jolley
42fef1a51a
Float handling logic for scientific notation
2017-11-06 20:04:03 +00:00
Mike Jolley
004e58c8b8
Revert "Long floats convert to strings with chars like "E". Let's format to precision setting to avoid this."
...
This reverts commit 1ac8f6c272
.
2017-11-06 20:04:03 +00:00
Mike Jolley
7af6c2f55e
Long floats convert to strings with chars like "E". Let's format to precision setting to avoid this.
2017-11-06 20:04:03 +00:00
Mike Jolley
2547861710
Converting to floats messes with storage - keep strings
2017-11-06 20:04:03 +00:00
Grzegorz Rola
0c9ad20986
wp_unslash() needs to always comes first
2017-11-06 19:10:33 +01:00