Commit Graph

130 Commits

Author SHA1 Message Date
JeroenSormani f4775ccd90 Use shipping method instead of property through magic + doc return statements 2019-01-04 12:41:38 +00:00
claudiulodro fdef6b4c73 Dont modify attributes orderby when ordering by name 2018-09-20 12:32:06 -07:00
Rodrigo Primo b7cc3077ca Remove unneeded usage of @codingStandardsIgnoreStart 2018-09-04 16:03:02 -03:00
Peter Fabian 60cd5caac2 Fixed terms fetching bug introduced in #20079. 2018-06-23 13:53:50 +02:00
Khan M Rashedun-Naby 5c0d7292f3 wc_get_object_terms refactored 2018-05-15 15:44:32 +06:00
Claudio Sanches 4daf256c32 Fixed path of walker classes 2018-03-09 16:31:00 -03:00
Claudio Sanches 072115853c Fixed includes/wc-term-functions.php PHPCS violations 2018-03-08 18:06:53 -03:00
Mike Jolley a467d35acd Add cache invalidation for wc_get_product_terms
Closes #17369
2017-10-25 13:27:18 +01:00
Mike Jolley 1c303c159c Notes 2017-08-25 12:52:49 +01:00
Mike Jolley 9fa685eb71 wp_dropdown_categories is viable again! 2017-08-25 12:49:51 +01:00
Mike Jolley 253bb0743c Ensure taxonomy exists in wc_get_product_visibility_term_ids 2017-06-06 13:10:56 +01:00
Mike Jolley e3a4008d9f Fix group clause depending on query
Fixes #15394
2017-06-01 13:33:30 +01:00
Mike Jolley 532ddfa6b0 Merge conflicts 2017-05-31 12:23:52 +01:00
Boro Sitnikovski be70a3f95c Support floats for the custom sort function 2017-05-25 18:05:13 +02:00
Mike Jolley d3666738d8 Merge branch 'pr/15069' 2017-05-23 18:56:58 +01:00
Mike Jolley eae2fb64c8 Group by term ID to prevent duplicates
Fixes #14861
2017-05-19 15:27:57 +01:00
Mike Jolley 6949ee162e Reduce visual noise 2017-05-16 15:05:11 +01:00
Rasmus Bengtsson 185934fad9 Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
Mike Jolley 79efb68554 Undo wrong commit 2017-05-09 19:20:36 +01:00
Mike Jolley 19fb7ac079 Fix hardcoded table name 2017-05-09 19:17:24 +01:00
Mike Jolley 61352adbf1 Make query code match and remove unneeded index 2017-05-08 19:09:55 +01:00
Jason Judge 0a5d9f9a3a Issue #14900 Make INNER select explit. 2017-05-08 17:25:31 +01:00
Jason Judge 9bd56b312f Issue #14900 Make implicit array cast to boolean an explixit check. 2017-05-08 14:39:08 +01:00
Jason Judge 3dd5acfd47 Issue #14900 Tidy up code (long lines and commented old lines removed). 2017-05-05 22:44:27 +01:00
Jason Judge 980de0cd52 Issue #14900 Some fixes and variable name changes. 2017-05-05 21:54:04 +01:00
Jason Judge 105a77a693 Issue #14900 Restructure _wc_term_recount() query.
I will split the super-long lines, and remove the commented old lines,
but just wanted something functional to test in production for tonight.
2017-05-05 21:38:25 +01:00
Mike Jolley 25bca1c218 Merge branch 'pr/13391' 2017-04-28 13:36:10 +01:00
Mike Jolley 6fb644738e woocommerce_after_set_term_order 2017-04-28 13:36:01 +01:00
Mike Jolley aacb01d1e7 Merge branch 'pr/13503'
# Conflicts:
#	assets/css/twenty-seventeen.css
#	assets/css/woocommerce-layout.css
#	assets/css/woocommerce-layout.scss
#	assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Mike Jolley 48c9a49e2d table name 2017-04-25 13:06:32 +01:00
Mike Jolley a8baaf6715 Fix term exclusion in term count queries
Closes #14662
2017-04-25 13:05:21 +01:00
Claudio Sanches 078b23a3c2 Revert "Apply distinct to term id only" 2017-04-12 15:54:48 -03:00
Mike Jolley 0628a91cfc Apply distinct to term id only 2017-04-12 11:38:59 +01:00
Ramy Talal 36de5db080 Coding standards 2017-04-11 07:19:24 +02:00
Ramy Talal 6b29066d3e Fix notice errors on PHP 7.1 2017-04-09 13:45:46 +02:00
Mike Jolley 4ad05dfa83 wc_get_object_terms should check it's not an error object
Fixes #13920
2017-04-05 12:06:37 +01:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Rami Yushuvaev d2457fe922 i18n: escape translation strings and fix wrong usage of i18n functions 2017-03-13 07:39:46 +02:00
Aristeides Stathopoulos 10ffc92a73 Inline control structures are not allowed 2017-03-07 22:24:24 +02:00
Lars Støttrup Nielsen 1eee494b5d Removed redundant do_action 2017-02-28 19:32:13 +01:00
Lars Støttrup Nielsen 18c74817fc Added two do_actions to wc_reorder_terms 2017-02-28 18:02:49 +01:00
Mike Jolley 1348f6efd7 Merge branch 'master' into db-schema-tweaks
# Conflicts:
#	includes/admin/class-wc-admin-duplicate-product.php
2017-02-16 16:33:20 +00:00
Mike Jolley dd3d46ccaf Merge branch 'master' into includes
# Conflicts:
#	includes/admin/class-wc-admin-duplicate-product.php
2017-02-16 16:28:46 +00:00
Mike Jolley fadc0937c3 product category count fix
Fixes #13191
2017-02-16 12:57:48 +00:00
Mike Jolley bbf8e750ce Tidy up includes 2017-02-16 11:46:01 +00:00
Mike Jolley d080e135ee Reduce `select *` usage 2017-02-13 12:58:42 +00:00
Claudio Sanches 9f1e0c46fa Fixed wc_get_product_terms() when using menu_order ordering 2017-01-11 16:14:28 -02:00
Justin Shreve 3513f50e55 Add tm.meta_value to the DISTINCT list since it is being used in the ORDER BY clause. 2017-01-03 10:43:48 -08:00
Mike Jolley cf0943fda9 Fix term sorting
Closes #12602
2016-12-15 14:09:01 +00:00
Mike Jolley 4d2364573c Fix query spaces 2016-12-12 13:10:29 +00:00