Mike Jolley
8598f82c8a
If user can edit private products, search them
...
Fixes #13877
2017-04-03 12:04:59 +01:00
Mike Jolley
31cd2dcb90
Merge pull request #13853 from woocommerce/crud-security-hardening
...
CRUD security/hardening
2017-04-03 11:09:38 +01:00
Mike Jolley
8a201b64c5
Only set dates if set/not null
...
Fixes #13848
2017-03-31 12:38:18 +01:00
Mike Jolley
14802a0307
Remove double unserialization
2017-03-31 12:10:20 +01:00
Mike Jolley
399c141377
Fix slug updating in CRUD
...
Fixes #13824
2017-03-29 13:41:23 +01:00
Akeda Bagus
0b416439c8
Fixed all typos of all files in includes/ directory.
...
Scanning and fixing were done automatically by codespell,
https://github.com/lucasdemarchi/codespell .
2017-03-29 00:58:51 +07:00
Mike Jolley
0ad1f6a63f
Merge pull request #13709 from woocommerce/fix-13708
...
Timezone/DST fixes
2017-03-24 10:25:08 +00:00
Mike Jolley
7e462b9cca
Data store date handling
2017-03-23 00:10:29 +00:00
Mike Jolley
3b35d95c6a
Use gmdate and GMT in data stores so times are not changed
2017-03-22 12:01:38 +00:00
Mike Jolley
c4c8edee5f
Remove order and product factory cache
2017-03-21 23:37:38 +00:00
Mike Jolley
9bcfcb82c5
Merge branch 'master' into remove-product-internal-meta-keys
...
# Conflicts:
# includes/data-stores/class-wc-product-data-store-cpt.php
2017-03-20 16:13:45 +00:00
Claudio Sanches
2d400bffd2
Remove post related internal post keys froom products
2017-03-17 17:37:38 -03:00
Claudio Sanches
1a87792109
Remove some product internal meta keys
2017-03-17 17:30:38 -03:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
9bee678819
API updates
2017-03-13 21:36:31 +00:00
Mike Jolley
1bac579df7
Date getters and setters
2017-03-13 19:52:44 +00:00
Mike Jolley
296daf19c2
Avoid wc_clean
...
Fixes #13464
2017-03-06 14:53:32 +00:00
Mike Jolley
8440083fef
Merge pull request #13443 from woocommerce/cache-groups
...
Standardize cache group names
2017-03-03 10:44:34 +00:00
Mike Jolley
1a8737fdeb
Standardize cache group names
2017-03-02 17:15:39 +00:00
Mike Jolley
fd07d06825
Update date created/modified if changed.
...
Fixes #13419
2017-03-02 16:46:59 +00:00
Mike Jolley
b69988fe39
Correct changes in variation data update and fix context
2017-02-16 16:07:11 +00:00
Mike Jolley
2f685691a4
Standardise update meta calls, and support forcing
...
Force allows create to make sure data is set regardless of whether it
was changed. This fixes product duplication.
Fixes #13199
2017-02-15 14:40:57 +00:00
Manos Psychogyiopoulos
821b360ac1
remove stray error_log
2017-02-14 18:26:40 +02:00
Manos Psychogyiopoulos
1895f65d2d
allow update_post_meta and handle_updated_props to be overriden
2017-02-14 18:14:37 +02:00
Mike Jolley
00cda91c73
Merge pull request #13164 from woocommerce/lazy-update-products-13157
...
Lazy update products
2017-02-13 17:24:51 +00:00
Mike Jolley
a20c0da580
syntax error
2017-02-11 15:50:21 +00:00
Mike Jolley
ca1d49b2b6
Conditional visibility and downloads
2017-02-11 15:35:20 +00:00
Mike Jolley
91ac4a2e56
Remove update_term_counts
...
This does not look to be necessary because we use wp_set_post_terms
which handles this for us. Seems to be inherited from legacy.
2017-02-11 15:27:52 +00:00
Mike Jolley
8494bf7bee
Conditonal post data saving
2017-02-11 15:26:13 +00:00
Mike Jolley
31d428131e
Imrpove checkout performance when updating product sales
2017-02-10 23:41:53 +00:00
Justin Shreve
8a6bae374f
Switch from get_the_title to the post objects post_title.
2017-02-09 08:43:48 -08:00
Justin Shreve
ae5293aeb9
Move the get type logic out of the product factories and into the data stores.
2017-02-08 11:18:39 -08:00
Claudiu Lodromanean
dce81b4d4e
Use store's decimal settings when figuring out what's a sale product
2017-02-08 09:04:13 -08:00
Claudiu Lodromanean
06c17d6be4
Add whitespace between parens
2017-02-07 13:57:01 -08:00
Claudiu Lodromanean
8ce5356943
13106 Dont round values in get_on_sale_products
2017-02-07 13:46:00 -08:00
Mike Jolley
5746c87580
Merge pull request #12968 from woocommerce/updated-props-action
...
Fire actions for updated props
2017-01-25 00:10:48 +00:00
Mike Jolley
90fd0da7d0
Fire actions for updated props
2017-01-24 21:38:02 +00:00
Brent Shepherd
56c427acba
Add WC_Product_Data_Store_CPT::read_extra_data()
...
So that a product's $extra_data can also be read by child classes of
WC_Product_Data_Store_CPT, like WC_Product_Variation_Data_Store_CPT,
without duplicating the code to read it.
2017-01-24 12:18:35 -08:00
Justin Shreve
1ab0b34926
Fix meta handling logic for update_post_meta: Only update keys that have changed or don't exist.
2017-01-23 12:20:29 -08:00
Manos Psychogyiopoulos
892d5da7e9
get prices in 'edit' context when updating meta
2017-01-16 17:33:30 +02:00
Mike Jolley
ba8f308100
Merge branch 'master' into orphan-variations-fix-12614
...
# Conflicts:
# includes/class-wc-post-data.php
2017-01-11 15:42:20 +00:00
Mike Jolley
b749b654bc
Fire action on type change
2017-01-11 11:48:31 +00:00
Justin Shreve
cddcb7841e
Check post type during read of coupons, posts, and products.
2017-01-10 14:43:33 -08:00
Manos Psychogyiopoulos
022fbe4183
add 'include' arg to wc_get_products
2017-01-09 14:10:47 +02:00
Mike Jolley
a46ddc5dd2
Merge branch 'pr/12710'
2017-01-03 11:24:41 +00:00
Mike Jolley
e149509f55
Products can have parents too
2017-01-03 11:24:36 +00:00
Manos Psychogyiopoulos
d250d3f149
distinguish between trash and delete object hooks
2016-12-30 00:22:12 +02:00
Manos Psychogyiopoulos
96d7272065
include parent if entering variation id and variations excluded
2016-12-28 16:44:57 +02:00
Manos Psychogyiopoulos
5fa4846f5e
fix inclusion of variation included in product search
2016-12-28 16:41:21 +02:00
Manos Psychogyiopoulos
ae9f4eacc4
fix get_post_parent fatal error
2016-12-27 10:34:32 +02:00