Commit Graph

28670 Commits

Author SHA1 Message Date
Claudiu Lodromanean 552adaae13
Merge pull request #21274 from woocommerce/fix/21215
Improve performance of the query to delete version transients
2018-09-06 12:48:28 -07:00
Claudiu Lodromanean 2d304fdae0
Update readme.txt 2018-09-06 12:48:24 -07:00
Claudiu Lodromanean 35feb7aa92
Merge pull request #21261 from franticpsyx/remove-mini-cart-template-space
Remove unnecessary space in mini-cart template
2018-09-06 12:00:10 -07:00
Claudiu Lodromanean 3851522ff0
Update readme.txt 2018-09-06 11:59:21 -07:00
Manos Psychogyiopoulos d4f6d173d5 Bump template version 2018-09-06 21:05:31 +03:00
Claudiu Lodromanean d6cbf78825
Merge pull request #21193 from woocommerce/add/21182
Add hidden, screen-reader label on address line 2 input on checkout
2018-09-06 10:32:36 -07:00
Claudiu Lodromanean b0d954c2e0
Update readme.txt 2018-09-06 10:32:30 -07:00
Claudiu Lodromanean dbbf31c99d
Merge pull request #21234 from woocommerce/update/obw-shipping-step-fulfillment
OBW: Remove live rates from shipping step, promote label printing.
2018-09-06 10:31:02 -07:00
Peter Fabian 028db78960 Updated tests. 2018-09-06 17:41:24 +02:00
Peter Fabian cf3f54ec64 Made tax display in cart depend on whether customer is tax exempt. 2018-09-06 17:40:21 +02:00
Jeff Stieler 1dc6a1c66d OBW: fix PHPCS errors. 2018-09-06 09:13:58 -06:00
Gerhard Potgieter 866aab0ead New accout email copy changes 2018-09-06 14:38:43 +02:00
Gerhard Potgieter cf03db7392 Update customer reset password email copy 2018-09-06 14:18:09 +02:00
Gerhard Potgieter 68b5fbe279 Customer note email copy changes 2018-09-06 13:58:56 +02:00
Gerhard Potgieter 9361aaa05b Update invoice emails copy 2018-09-06 13:48:40 +02:00
Gerhard Potgieter fac659c9c6 Update refunded emails copy 2018-09-06 13:24:28 +02:00
Gerhard Potgieter 84b935490d Update completed email copy 2018-09-06 13:11:58 +02:00
Gerhard Potgieter 52190bc5ce Update closing line to correct text 2018-09-06 13:01:20 +02:00
Gerhard Potgieter 5eaa6da98b Update processing emails copy 2018-09-06 13:00:21 +02:00
Gerhard Potgieter 697e3229f2 Update on-hold emails copy 2018-09-06 12:48:39 +02:00
Gerhard Potgieter b03e5cff45 Failed admin email changes 2018-09-06 12:30:33 +02:00
claudiulodro 52e272c807 Add breadcrumb links for product categories and tags 2018-09-05 13:32:53 -07:00
Claudio Sanches 017b44693b Updated names 2018-09-05 10:30:14 -03:00
Claudio Sanches f13deab00a /reports/orders/count 2018-09-05 10:28:22 -03:00
Claudio Sanches 25ed037fb0 Include new reports endpoints results 2018-09-05 09:36:19 -03:00
Claudio Sanches 9fd386155f Allow to easy manipulate /reports endpoint results 2018-09-05 09:28:58 -03:00
Claudio Sanches f0e6ec7a6c Register reports 2018-09-05 09:25:56 -03:00
Claudio Sanches c271fca508 Restored reports endpoints 2018-09-05 09:24:02 -03:00
Jesse Pearson fe7817163c Moved action call 2018-09-05 07:34:52 -04:00
Peter Fabian 2ba13d06fd Fixed PHPCS. 2018-09-05 11:38:14 +02:00
Peter Fabian 43e3957bd5 Switched the variations to parent products to fix product counts for shipping classes. 2018-09-05 11:37:11 +02:00
Peter Fabian ab4630111b Fixed posts query to include parent products if variations have the shipping class assigned. 2018-09-05 11:35:05 +02:00
claudiulodro 1afde50ed6 Generate URLs for singles in structured data 2018-09-04 13:36:10 -07:00
Rodrigo Primo b4b7062d7b Improve performance of the query to delete version transients
This commit removes the `ORDER BY option_id` part of the query to remove the version transients from the `wp_options` table. This change should help users having performance issues with this query (see for example #21215) and, as far as I can see, ordering is not necessary in this context.

Removing the `ORDER BY` from the query means that MySQL won't have to use filesort:

```
MySQL [wccore]> explain DELETE FROM wp_options WHERE option_name LIKE '\\_transient\\_%1510258328' ORDER BY option_id LIMIT 1000;
+----+-------------+------------+------------+-------+---------------+-------------+---------+-------+------+----------+-----------------------------+
| id | select_type | table      | partitions | type  | possible_keys | key         | key_len | ref   | rows | filtered | Extra                       |
+----+-------------+------------+------------+-------+---------------+-------------+---------+-------+------+----------+-----------------------------+
|  1 | DELETE      | wp_options | NULL       | range | option_name   | option_name | 766     | const |   67 |   100.00 | Using where; Using filesort |
+----+-------------+------------+------------+-------+---------------+-------------+---------+-------+------+----------+-----------------------------+
1 row in set (0.02 sec)

MySQL [wccore]> explain DELETE FROM wp_options WHERE option_name LIKE '\\_transient\\_%1510258328' LIMIT 1000;
+----+-------------+------------+------------+-------+---------------+-------------+---------+-------+------+----------+-------------+
| id | select_type | table      | partitions | type  | possible_keys | key         | key_len | ref   | rows | filtered | Extra       |
+----+-------------+------------+------------+-------+---------------+-------------+---------+-------+------+----------+-------------+
|  1 | DELETE      | wp_options | NULL       | range | option_name   | option_name | 766     | const |   67 |   100.00 | Using where |
+----+-------------+------------+------------+-------+---------------+-------------+---------+-------+------+----------+-------------+
1 row in set (0.00 sec)
```
2018-09-04 17:20:35 -03:00
Rodrigo Primo b7cc3077ca Remove unneeded usage of @codingStandardsIgnoreStart 2018-09-04 16:03:02 -03:00
Claudiu Lodromanean 77f78415e4
Merge pull request #21248 from robertdevore/add/template-form-action-hooks
Add/template form action hooks
2018-09-04 11:47:25 -07:00
Claudiu Lodromanean 5aa1656297
Update readme.txt 2018-09-04 11:46:58 -07:00
Robert DeVore 348307eb5e
Update spacing 2018-09-04 14:20:14 -04:00
Robert DeVore e4ec0cb148
Spacing update 2018-09-04 14:19:28 -04:00
Claudiu Lodromanean 9abbbb4c48
Merge pull request #21242 from woocommerce/fix/obw-payment-step-email-validation-on-hidden-field
OBW: Avoid Payment form breaking due to email validation on hidden field
2018-09-04 11:18:47 -07:00
Claudiu Lodromanean 24d9133a6b
Merge pull request #21266 from woocommerce/feature/21117
REST API] Make product's created date editable
2018-09-04 10:46:26 -07:00
Jesse Pearson 2faadce24f Add action for when system tools are run 2018-09-04 09:33:16 -04:00
Claudio Sanches bf69627cb1 Unit tests 2018-09-03 11:05:17 -03:00
Claudio Sanches 6a3483fa8a [REST API] Make product's created date editable 2018-09-03 10:57:28 -03:00
Manos Psychogyiopoulos 74ca1ebe6a Remove unnecessary space in mini-cart template 2018-09-03 13:50:48 +03:00
Robert DeVore 4a71ce4659 Add action hook to register form tag 2018-09-01 11:24:33 -04:00
Robert DeVore 03900a43cb Add action hook to edit account form tag 2018-09-01 11:24:04 -04:00
Nikhil Barar 9407f0c8c7 Fix for 21214 - Regions text field not in line. 2018-09-01 18:55:14 +05:30
Rodrigo Primo 2740a686dc Change wp_woocommerce_sessions primary key
This commit changes wp_woocommerce_sessions primary key to the bigint field session_id. Before it was the char(32) field session_key. Doing this change primarily as it should reduce the occurrence of deadlocks, but also because it is not a good practice to use a char(32) field as the primary key of a table.
2018-08-31 16:56:30 -03:00
Ruben 081125043d
wordpress coding standards 2018-08-31 19:12:12 +02:00