Mike Jolley
5f0460aaa1
Tweak mobile view of order preview
...
Closes #18900
2018-02-09 14:45:50 +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
1869042342
Minify
2018-02-08 11:55:53 -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
399e5d2ddf
Merge pull request #18851 from woocommerce/update/avoid-extra-unneeded-query
...
Avoid unnecessary query to wp_options on every request
2018-02-08 12:41:12 +00:00
Mike Jolley
fdf81ac190
Min
2018-02-08 12:38:52 +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
Mike Jolley
f5492cc50a
Merge pull request #18860 from woocommerce/update/error-messages
...
Replace “Cheatin’ uh?” with friendlier messages
2018-02-08 11:13:39 +00:00
Caleb Burks
bee4a57403
Fix array to string conversion error
2018-02-07 20:30:37 -05:00
Caleb Burks
0ed97d26bd
Compile and Minify
2018-02-07 19:30:09 -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
Mike Jolley
0832202063
Merge pull request #18843 from woocommerce/fix/18757-sku-partial-search
...
Admin product search fixes
2018-02-07 10:30:02 +00: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
Claudio Sanches
2ef688a8bf
3.3.1 changelog
2018-02-06 14:32:32 -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
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
Rodrigo Primo
2110ab5fd0
Merge pull request #18822 from woocommerce/fix/phpcl
...
Remove extra ?>
2018-02-06 08:49:13 -02:00